Home
last modified time | relevance | path

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

/external/pdfium/third_party/lcms/
D0018-backport-c0a98d86.patch44 - for (i=0; i < nMaxGrids; i++) GridPoints[i] = (cmsUInt32Number) Dimensions8[i];
47 + if (Dimensions8[i] == 1) goto Error; // Impossible value, 0 for no CLUT and then 2 at least
48 + GridPoints[i] = (cmsUInt32Number)Dimensions8[i];
/external/pdfium/third_party/lcms/src/
Dcmstypes.c4307 cmsUInt8Number Dimensions8[16]; in Type_MPEclut_Read() local
4317 if (io ->Read(io, Dimensions8, sizeof(cmsUInt8Number), 16) != 16) in Type_MPEclut_Read()
4324 if (Dimensions8[i] == 1) goto Error; // Impossible value, 0 for no CLUT and then 2 at least in Type_MPEclut_Read()
4325 GridPoints[i] = (cmsUInt32Number)Dimensions8[i]; in Type_MPEclut_Read()
4354 cmsUInt8Number Dimensions8[16]; // 16 because the spec says 16 and not max number of channels in Type_MPEclut_Write() local
4368 memset(Dimensions8, 0, sizeof(Dimensions8)); in Type_MPEclut_Write()
4371 Dimensions8[i] = (cmsUInt8Number) clut ->Params ->nSamples[i]; in Type_MPEclut_Write()
4373 if (!io ->Write(io, 16, Dimensions8)) return FALSE; in Type_MPEclut_Write()