Home
last modified time | relevance | path

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

/external/ImageMagick/MagickCore/
Dgem-private.h28 #define D65Y 1.0 macro
103 *Y=D65Y*y; in ConvertLabToXYZ()
117 *X=((*Y*((39.0*L/(v+13.0*L*(9.0*D65Y/(D65X+15.0*D65Y+3.0*D65Z))))-5.0))+ in ConvertLuvToXYZ()
118 5.0*(*Y))/((((52.0*L/(u+13.0*L*(4.0*D65X/(D65X+15.0*D65Y+3.0*D65Z))))-1.0)/ in ConvertLuvToXYZ()
120 *Z=(*X*(((52.0*L/(u+13.0*L*(4.0*D65X/(D65X+15.0*D65Y+3.0*D65Z))))-1.0)/3.0))- in ConvertLuvToXYZ()
161 if ((Y/D65Y) > CIEEpsilon) in ConvertXYZToLab()
162 y=pow(Y/D65Y,1.0/3.0); in ConvertXYZToLab()
164 y=(CIEK*Y/D65Y+16.0)/116.0; in ConvertXYZToLab()
183 if ((Y/D65Y) > CIEEpsilon) in ConvertXYZToLuv()
184 *L=(double) (116.0*pow(Y/D65Y,1.0/3.0)-16.0); in ConvertXYZToLuv()
[all …]
/external/ImageMagick/tests/
Dvalidate.c62 #define D65Y 1.0 macro
251 if ((Y/D65Y) > CIEEpsilon) in ConvertXYZToLab()
252 y=pow(Y/D65Y,1.0/3.0); in ConvertXYZToLab()
254 y=(CIEK*Y/D65Y+16.0)/116.0; in ConvertXYZToLab()
300 *Y=D65Y*y; in ConvertLabToXYZ()
489 if ((Y/D65Y) > CIEEpsilon) in ConvertXYZToLuv()
490 *L=(double) (116.0*pow(Y/D65Y,1.0/3.0)-16.0); in ConvertXYZToLuv()
492 *L=CIEK*(Y/D65Y); in ConvertXYZToLuv()
494 *u=13.0*(*L)*((4.0*alpha*X)-(4.0*D65X/(D65X+15.0*D65Y+3.0*D65Z))); in ConvertXYZToLuv()
495 *v=13.0*(*L)*((9.0*alpha*Y)-(9.0*D65Y/(D65X+15.0*D65Y+3.0*D65Z))); in ConvertXYZToLuv()
[all …]