Lines Matching refs:Z
96 const double blue,double *X,double *Y,double *Z) in ConvertAdobe98ToXYZ() argument
108 assert(Z != (double *) NULL); in ConvertAdobe98ToXYZ()
114 *Z=0.02703136138641234*r+0.07068885253582723*g+0.99133753683763880*b; in ConvertAdobe98ToXYZ()
118 const double blue,double *X,double *Y,double *Z) in ConvertDisplayP3ToXYZ() argument
130 assert(Z != (double *) NULL); in ConvertDisplayP3ToXYZ()
136 *Z=0.0000000000000000*r+0.04511338185890264*g+1.0439443689009760*b; in ConvertDisplayP3ToXYZ()
140 const IlluminantType illuminant,double *X,double *Y,double *Z) in ConvertLabToXYZ() argument
149 assert(Z != (double *) NULL); in ConvertLabToXYZ()
167 *Z=illuminant_tristimulus[illuminant].z*z; in ConvertLabToXYZ()
171 const IlluminantType illuminant,double *X,double *Y,double *Z) in ConvertLuvToXYZ() argument
178 assert(Z != (double *) NULL); in ConvertLuvToXYZ()
193 *Z=(*X*(((52.0*L*PerceptibleReciprocal(u+13.0*L*(4.0* in ConvertLuvToXYZ()
201 const double blue,double *X,double *Y,double *Z) in ConvertProPhotoToXYZ() argument
213 assert(Z != (double *) NULL); in ConvertProPhotoToXYZ()
219 *Z=0.0000000000000000*r+0.00000000000000000*g+0.82510460251046010000*b; in ConvertProPhotoToXYZ()
223 const double blue,double *X,double *Y,double *Z) in ConvertRGBToXYZ() argument
235 assert(Z != (double *) NULL); in ConvertRGBToXYZ()
241 *Z=0.0193339*r+0.1191920*g+0.9503041*b; in ConvertRGBToXYZ()
245 const double Z,double *red,double *green,double *blue) in ConvertXYZToAdobe98() argument
255 r=2.041587903810746500*X-0.56500697427885960*Y-0.34473135077832956*Z; in ConvertXYZToAdobe98()
256 g=(-0.969243636280879500)*X+1.87596750150772020*Y+0.04155505740717557*Z; in ConvertXYZToAdobe98()
257 b=0.013444280632031142*X-0.11836239223101838*Y+1.01517499439120540*Z; in ConvertXYZToAdobe98()
264 const double Z,double *red,double *green,double *blue) in ConvertXYZToDisplayP3() argument
274 r=2.49349691194142500*X-0.93138361791912390*Y-0.402710784450716840*Z; in ConvertXYZToDisplayP3()
275 g=(-0.82948896956157470)*X+1.76266406031834630*Y+0.023624685841943577*Z; in ConvertXYZToDisplayP3()
276 b=0.03584583024378447*X-0.07617238926804182*Y+0.956884524007687200*Z; in ConvertXYZToDisplayP3()
282 static inline void ConvertXYZToLab(const double X,const double Y,const double Z, in ConvertXYZToLab() argument
301 if ((Z/illuminant_tristimulus[illuminant].z) > CIEEpsilon) in ConvertXYZToLab()
302 z=pow(Z/illuminant_tristimulus[illuminant].z,1.0/3.0); in ConvertXYZToLab()
304 z=(CIEK*Z/illuminant_tristimulus[illuminant].z+16.0)/116.0; in ConvertXYZToLab()
310 static inline void ConvertXYZToLuv(const double X,const double Y,const double Z, in ConvertXYZToLuv() argument
324 alpha=PerceptibleReciprocal(X+15.0*Y+3.0*Z); in ConvertXYZToLuv()
339 const double Z,double *red,double *green,double *blue) in ConvertXYZToProPhoto() argument
349 r=1.3457989731028281*X-0.25558010007997534*Y-0.05110628506753401*Z; in ConvertXYZToProPhoto()
350 g=(-0.5446224939028347)*X+1.50823274131327810*Y+0.02053603239147973*Z; in ConvertXYZToProPhoto()
351 b=0.0000000000000000*X+0.0000000000000000*Y+1.21196754563894540*Z; in ConvertXYZToProPhoto()
357 static inline void ConvertXYZToRGB(const double X,const double Y,const double Z, in ConvertXYZToRGB() argument
368 r=3.2404542*X-1.5371385*Y-0.4985314*Z; in ConvertXYZToRGB()
369 g=(-0.9692660)*X+1.8760108*Y+0.0415560*Z; in ConvertXYZToRGB()
370 b=0.0556434*X-0.2040259*Y+1.0572252*Z; in ConvertXYZToRGB()