• Home
  • Raw
  • Download

Lines Matching refs:Y

77   double *X,double *Y,double *Z)  in ConvertLabToXYZ()  argument
85 assert(Y != (double *) NULL); in ConvertLabToXYZ()
103 *Y=D65Y*y; in ConvertLabToXYZ()
108 double *X,double *Y,double *Z) in ConvertLuvToXYZ() argument
111 assert(Y != (double *) NULL); in ConvertLuvToXYZ()
114 *Y=(double) pow((L+16.0)/116.0,3.0); in ConvertLuvToXYZ()
116 *Y=L/CIEK; in ConvertLuvToXYZ()
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()
121 5.0*(*Y); in ConvertLuvToXYZ()
125 const double blue,double *X,double *Y,double *Z) in ConvertRGBToXYZ() argument
136 assert(Y != (double *) NULL); in ConvertRGBToXYZ()
142 *Y=0.2126729*r+0.7151522*g+0.0721750*b; in ConvertRGBToXYZ()
146 static inline void ConvertXYZToLab(const double X,const double Y,const double Z, in ConvertXYZToLab() argument
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()
174 static inline void ConvertXYZToLuv(const double X,const double Y,const double Z, in ConvertXYZToLuv() argument
183 if ((Y/D65Y) > CIEEpsilon) in ConvertXYZToLuv()
184 *L=(double) (116.0*pow(Y/D65Y,1.0/3.0)-16.0); in ConvertXYZToLuv()
186 *L=CIEK*(Y/D65Y); in ConvertXYZToLuv()
187 alpha=PerceptibleReciprocal(X+15.0*Y+3.0*Z); in ConvertXYZToLuv()
189 *v=13.0*(*L)*((9.0*alpha*Y)-(9.0*D65Y/(D65X+15.0*D65Y+3.0*D65Z))); in ConvertXYZToLuv()
195 static inline void ConvertXYZToRGB(const double X,const double Y,const double Z, in ConvertXYZToRGB() argument
206 r=3.2404542*X-1.5371385*Y-0.4985314*Z; in ConvertXYZToRGB()
207 g=(-0.9692660)*X+1.8760108*Y+0.0415560*Z; in ConvertXYZToRGB()
208 b=0.0556434*X-0.2040259*Y+1.0572252*Z; in ConvertXYZToRGB()