Home
last modified time | relevance | path

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

/external/pdfium/third_party/lcms2-2.6/src/
Dcmspack.c1299 v = FROM_16_TO_8(wOut[index]); in PackAnyBytes()
1404 cmsUInt8Number v = FROM_16_TO_8(wOut[index]); in PackPlanarBytes()
1461 *output++ = FROM_16_TO_8(wOut[0]); in Pack6Bytes()
1462 *output++ = FROM_16_TO_8(wOut[1]); in Pack6Bytes()
1463 *output++ = FROM_16_TO_8(wOut[2]); in Pack6Bytes()
1464 *output++ = FROM_16_TO_8(wOut[3]); in Pack6Bytes()
1465 *output++ = FROM_16_TO_8(wOut[4]); in Pack6Bytes()
1466 *output++ = FROM_16_TO_8(wOut[5]); in Pack6Bytes()
1482 *output++ = FROM_16_TO_8(wOut[5]); in Pack6BytesSwap()
1483 *output++ = FROM_16_TO_8(wOut[4]); in Pack6BytesSwap()
[all …]
Dlcms2_internal.h97 #define FROM_16_TO_8(rgb) (cmsUInt8Number) ((((cmsUInt32Number)(rgb) * 65281U + 8388608U) >> 24) & … macro
Dcmstypes.c1696 val = (cmsUInt8Number) FROM_16_TO_8(Tables->TheCurves[i]->Table16[j]); in Write8bitTables()
1927 val = (cmsUInt8Number) FROM_16_TO_8(clut ->Tab.T[j]); in Type_LUT8_Write()
2649 if (!_cmsWriteUInt8Number(io, FROM_16_TO_8(CLUT->Tab.T[i]))) return FALSE; in WriteCLUT()
Dcmsopt.c1484 cmsUInt8Number b = FROM_16_TO_8(w); in FillSecondShaper()
/external/pdfium/third_party/lcms2-2.6/
D0001-from16-to-8-overflow.patch9 -#define FROM_16_TO_8(rgb) (cmsUInt8Number) ((((rgb) * 65281 + 8388608) >> 24) & 0xFF)
10 +#define FROM_16_TO_8(rgb) (cmsUInt8Number) ((((cmsUInt32Number)(rgb) * 65281U + 8388608U) >> 24) &…