Lines Matching refs:WhitePoint
143 void CMSEXPORT cmsXYZ2Lab(const cmsCIEXYZ* WhitePoint, cmsCIELab* Lab, const cmsCIEXYZ* xyz) in cmsXYZ2Lab() argument
147 if (WhitePoint == NULL) in cmsXYZ2Lab()
148 WhitePoint = cmsD50_XYZ(); in cmsXYZ2Lab()
150 fx = f(xyz->X / WhitePoint->X); in cmsXYZ2Lab()
151 fy = f(xyz->Y / WhitePoint->Y); in cmsXYZ2Lab()
152 fz = f(xyz->Z / WhitePoint->Z); in cmsXYZ2Lab()
161 void CMSEXPORT cmsLab2XYZ(const cmsCIEXYZ* WhitePoint, cmsCIEXYZ* xyz, const cmsCIELab* Lab) in cmsLab2XYZ() argument
165 if (WhitePoint == NULL) in cmsLab2XYZ()
166 WhitePoint = cmsD50_XYZ(); in cmsLab2XYZ()
172 xyz -> X = f_1(x) * WhitePoint -> X; in cmsLab2XYZ()
173 xyz -> Y = f_1(y) * WhitePoint -> Y; in cmsLab2XYZ()
174 xyz -> Z = f_1(z) * WhitePoint -> Z; in cmsLab2XYZ()