Searched refs:FROM_16_TO_8 (Results 1 – 4 of 4) sorted by relevance
1299 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 …]
97 #define FROM_16_TO_8(rgb) (cmsUInt8Number) ((((rgb) * 65281 + 8388608) >> 24) & 0xFF) macro
1693 val = (cmsUInt8Number) FROM_16_TO_8(Tables->TheCurves[i]->Table16[j]); in Write8bitTables()1924 val = (cmsUInt8Number) FROM_16_TO_8(clut ->Tab.T[j]); in Type_LUT8_Write()2640 if (!_cmsWriteUInt8Number(io, FROM_16_TO_8(CLUT->Tab.T[i]))) return FALSE; in WriteCLUT()
1479 cmsUInt8Number b = FROM_16_TO_8(w); in FillSecondShaper()