Home
last modified time | relevance | path

Searched refs:ColorantOrder (Results 1 – 1 of 1) sorted by relevance

/external/pdfium/core/src/fxcodec/lcms2/lcms2-2.6/src/
Dcmstypes.c452 cmsUInt8Number* ColorantOrder; in Type_ColorantOrderType_Read() local
459ColorantOrder = (cmsUInt8Number*) _cmsCalloc(self ->ContextID, cmsMAXCHANNELS, sizeof(cmsUInt8Numb… in Type_ColorantOrderType_Read()
460 if (ColorantOrder == NULL) return NULL; in Type_ColorantOrderType_Read()
463 memset(ColorantOrder, 0xFF, cmsMAXCHANNELS * sizeof(cmsUInt8Number)); in Type_ColorantOrderType_Read()
465 if (io ->Read(io, ColorantOrder, sizeof(cmsUInt8Number), Count) != Count) { in Type_ColorantOrderType_Read()
467 _cmsFree(self ->ContextID, (void*) ColorantOrder); in Type_ColorantOrderType_Read()
472 return (void*) ColorantOrder; in Type_ColorantOrderType_Read()
480 cmsUInt8Number* ColorantOrder = (cmsUInt8Number*) Ptr; in Type_ColorantOrderType_Write() local
485 if (ColorantOrder[i] != 0xFF) Count++; in Type_ColorantOrderType_Write()
491 if (!io -> Write(io, sz, ColorantOrder)) return FALSE; in Type_ColorantOrderType_Write()