Lines Matching refs:cmsFloat64Number
93 cmsFloat64Number ISum; in cmsXYZ2xyY()
119 cmsFloat64Number f(cmsFloat64Number t) in f()
121 const cmsFloat64Number Limit = (24.0/116.0) * (24.0/116.0) * (24.0/116.0); in f()
130 cmsFloat64Number f_1(cmsFloat64Number t) in f_1()
132 const cmsFloat64Number Limit = (24.0/116.0); in f_1()
145 cmsFloat64Number fx, fy, fz; in cmsXYZ2Lab()
163 cmsFloat64Number x, y, z; in cmsLab2XYZ()
179 cmsFloat64Number L2float2(cmsUInt16Number v) in L2float2()
181 return (cmsFloat64Number) v / 652.800; in L2float2()
186 cmsFloat64Number ab2float2(cmsUInt16Number v) in ab2float2()
188 return ((cmsFloat64Number) v / 256.0) - 128.0; in ab2float2()
192 cmsUInt16Number L2Fix2(cmsFloat64Number L) in L2Fix2()
198 cmsUInt16Number ab2Fix2(cmsFloat64Number ab) in ab2Fix2()
205 cmsFloat64Number L2float4(cmsUInt16Number v) in L2float4()
207 return (cmsFloat64Number) v / 655.35; in L2float4()
212 cmsFloat64Number ab2float4(cmsUInt16Number v) in ab2float4()
214 return ((cmsFloat64Number) v / 257.0) - 128.0; in ab2float4()
234 cmsFloat64Number Clamp_L_doubleV2(cmsFloat64Number L) in Clamp_L_doubleV2()
236 const cmsFloat64Number L_max = (cmsFloat64Number) (0xFFFF * 100.0) / 0xFF00; in Clamp_L_doubleV2()
246 cmsFloat64Number Clamp_ab_doubleV2(cmsFloat64Number ab) in Clamp_ab_doubleV2()
269 cmsFloat64Number Clamp_L_doubleV4(cmsFloat64Number L) in Clamp_L_doubleV4()
278 cmsFloat64Number Clamp_ab_doubleV4(cmsFloat64Number ab) in Clamp_ab_doubleV4()
287 cmsUInt16Number L2Fix4(cmsFloat64Number L) in L2Fix4()
293 cmsUInt16Number ab2Fix4(cmsFloat64Number ab) in ab2Fix4()
313 cmsFloat64Number RADIANS(cmsFloat64Number deg) in RADIANS()
321 cmsFloat64Number atan2deg(cmsFloat64Number a, cmsFloat64Number b) in atan2deg()
323 cmsFloat64Number h; in atan2deg()
344 cmsFloat64Number Sqr(cmsFloat64Number v) in Sqr()
360 cmsFloat64Number h = (LCh -> h * M_PI) / 180.0; in cmsLCh2Lab()
369 cmsUInt16Number XYZ2Fix(cmsFloat64Number d) in XYZ2Fix()
417 cmsFloat64Number XYZ2float(cmsUInt16Number v) in XYZ2float()
438 cmsFloat64Number CMSEXPORT cmsDeltaE(const cmsCIELab* Lab1, const cmsCIELab* Lab2) in cmsDeltaE()
440 cmsFloat64Number dL, da, db; in cmsDeltaE()
451 cmsFloat64Number CMSEXPORT cmsCIE94DeltaE(const cmsCIELab* Lab1, const cmsCIELab* Lab2) in cmsCIE94DeltaE()
454 cmsFloat64Number dE, dL, dC, dh, dhsq; in cmsCIE94DeltaE()
455 cmsFloat64Number c12, sc, sh; in cmsCIE94DeltaE()
482 cmsFloat64Number ComputeLBFD(const cmsCIELab* Lab) in ComputeLBFD()
484 cmsFloat64Number yt; in ComputeLBFD()
497 cmsFloat64Number CMSEXPORT cmsBFDdeltaE(const cmsCIELab* Lab1, const cmsCIELab* Lab2) in cmsBFDdeltaE()
499 cmsFloat64Number lbfd1,lbfd2,AveC,Aveh,dE,deltaL, in cmsBFDdeltaE()
548 cmsFloat64Number CMSEXPORT cmsCMCdeltaE(const cmsCIELab* Lab1, const cmsCIELab* Lab2, cmsFloat64Num… in cmsCMCdeltaE()
550 cmsFloat64Number dE,dL,dC,dh,sl,sc,sh,t,f,cmc; in cmsCMCdeltaE()
589 cmsFloat64Number CMSEXPORT cmsCIE2000DeltaE(const cmsCIELab* Lab1, const cmsCIELab* Lab2, in cmsCIE2000DeltaE()
590 cmsFloat64Number Kl, cmsFloat64Number Kc, cmsFloat64Number Kh) in cmsCIE2000DeltaE()
592 cmsFloat64Number L1 = Lab1->L; in cmsCIE2000DeltaE()
593 cmsFloat64Number a1 = Lab1->a; in cmsCIE2000DeltaE()
594 cmsFloat64Number b1 = Lab1->b; in cmsCIE2000DeltaE()
595 cmsFloat64Number C = sqrt( Sqr(a1) + Sqr(b1) ); in cmsCIE2000DeltaE()
597 cmsFloat64Number Ls = Lab2 ->L; in cmsCIE2000DeltaE()
598 cmsFloat64Number as = Lab2 ->a; in cmsCIE2000DeltaE()
599 cmsFloat64Number bs = Lab2 ->b; in cmsCIE2000DeltaE()
600 cmsFloat64Number Cs = sqrt( Sqr(as) + Sqr(bs) ); in cmsCIE2000DeltaE()
602 …cmsFloat64Number G = 0.5 * ( 1 - sqrt(pow((C + Cs) / 2 , 7.0) / (pow((C + Cs) / 2, 7.0) + pow(25.0… in cmsCIE2000DeltaE()
604 cmsFloat64Number a_p = (1 + G ) * a1; in cmsCIE2000DeltaE()
605 cmsFloat64Number b_p = b1; in cmsCIE2000DeltaE()
606 cmsFloat64Number C_p = sqrt( Sqr(a_p) + Sqr(b_p)); in cmsCIE2000DeltaE()
607 cmsFloat64Number h_p = atan2deg(b_p, a_p); in cmsCIE2000DeltaE()
610 cmsFloat64Number a_ps = (1 + G) * as; in cmsCIE2000DeltaE()
611 cmsFloat64Number b_ps = bs; in cmsCIE2000DeltaE()
612 cmsFloat64Number C_ps = sqrt(Sqr(a_ps) + Sqr(b_ps)); in cmsCIE2000DeltaE()
613 cmsFloat64Number h_ps = atan2deg(b_ps, a_ps); in cmsCIE2000DeltaE()
615 cmsFloat64Number meanC_p =(C_p + C_ps) / 2; in cmsCIE2000DeltaE()
617 cmsFloat64Number hps_plus_hp = h_ps + h_p; in cmsCIE2000DeltaE()
618 cmsFloat64Number hps_minus_hp = h_ps - h_p; in cmsCIE2000DeltaE()
620 cmsFloat64Number meanh_p = fabs(hps_minus_hp) <= 180.000001 ? (hps_plus_hp)/2 : in cmsCIE2000DeltaE()
624 cmsFloat64Number delta_h = (hps_minus_hp) <= -180.000001 ? (hps_minus_hp + 360) : in cmsCIE2000DeltaE()
627 cmsFloat64Number delta_L = (Ls - L1); in cmsCIE2000DeltaE()
628 cmsFloat64Number delta_C = (C_ps - C_p ); in cmsCIE2000DeltaE()
631 cmsFloat64Number delta_H =2 * sqrt(C_ps*C_p) * sin(RADIANS(delta_h) / 2); in cmsCIE2000DeltaE()
633 cmsFloat64Number T = 1 - 0.17 * cos(RADIANS(meanh_p-30)) in cmsCIE2000DeltaE()
638 cmsFloat64Number Sl = 1 + (0.015 * Sqr((Ls + L1) /2- 50) )/ sqrt(20 + Sqr( (Ls+L1)/2 - 50) ); in cmsCIE2000DeltaE()
640 cmsFloat64Number Sc = 1 + 0.045 * (C_p + C_ps)/2; in cmsCIE2000DeltaE()
641 cmsFloat64Number Sh = 1 + 0.015 * ((C_ps + C_p)/2) * T; in cmsCIE2000DeltaE()
643 cmsFloat64Number delta_ro = 30 * exp( -Sqr(((meanh_p - 275 ) / 25))); in cmsCIE2000DeltaE()
645 cmsFloat64Number Rc = 2 * sqrt(( pow(meanC_p, 7.0) )/( pow(meanC_p, 7.0) + pow(25.0, 7.0))); in cmsCIE2000DeltaE()
647 cmsFloat64Number Rt = -sin(2 * RADIANS(delta_ro)) * Rc; in cmsCIE2000DeltaE()
649 cmsFloat64Number deltaE00 = sqrt( Sqr(delta_L /(Sl * Kl)) + in cmsCIE2000DeltaE()