Home
last modified time | relevance | path

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

/external/pdfium/third_party/lcms/src/
Dcmstypes.c458 cmsUInt8Number* ColorantOrder; in Type_ColorantOrderType_Read() local
465ColorantOrder = (cmsUInt8Number*) _cmsCalloc(self ->ContextID, cmsMAXCHANNELS, sizeof(cmsUInt8Numb… in Type_ColorantOrderType_Read()
466 if (ColorantOrder == NULL) return NULL; in Type_ColorantOrderType_Read()
469 memset(ColorantOrder, 0xFF, cmsMAXCHANNELS * sizeof(cmsUInt8Number)); in Type_ColorantOrderType_Read()
471 if (io ->Read(io, ColorantOrder, sizeof(cmsUInt8Number), Count) != Count) { in Type_ColorantOrderType_Read()
473 _cmsFree(self ->ContextID, (void*) ColorantOrder); in Type_ColorantOrderType_Read()
478 return (void*) ColorantOrder; in Type_ColorantOrderType_Read()
486 cmsUInt8Number* ColorantOrder = (cmsUInt8Number*) Ptr; in Type_ColorantOrderType_Write() local
491 if (ColorantOrder[i] != 0xFF) Count++; in Type_ColorantOrderType_Write()
497 if (!io -> Write(io, sz, ColorantOrder)) return FALSE; in Type_ColorantOrderType_Write()