Lines Matching refs:ReferenceEpsilon

59 #define ReferenceEpsilon  (QuantumRange*1.0e-2)  macro
600 if ((fabs(r-0.545877*QuantumRange) >= ReferenceEpsilon) || in ValidateHSIToRGB()
601 (fabs(g-0.966567*QuantumRange) >= ReferenceEpsilon) || in ValidateHSIToRGB()
602 (fabs(b-0.463759*QuantumRange) >= ReferenceEpsilon)) in ValidateHSIToRGB()
617 if ((fabs(h-111.244374/360.0) >= ReferenceEpsilon) || in ValidateRGBToHSI()
618 (fabs(s-0.295985) >= ReferenceEpsilon) || in ValidateRGBToHSI()
619 (fabs(i-0.658734) >= ReferenceEpsilon)) in ValidateRGBToHSI()
633 if ((fabs(r-0.545877*QuantumRange) >= ReferenceEpsilon) || in ValidateHSLToRGB()
634 (fabs(g-0.966567*QuantumRange) >= ReferenceEpsilon) || in ValidateHSLToRGB()
635 (fabs(b-0.463759*QuantumRange) >= ReferenceEpsilon)) in ValidateHSLToRGB()
650 if ((fabs(h-110.200859/360.0) >= ReferenceEpsilon) || in ValidateRGBToHSL()
651 (fabs(s-0.882623) >= ReferenceEpsilon) || in ValidateRGBToHSL()
652 (fabs(l-0.715163) >= ReferenceEpsilon)) in ValidateRGBToHSL()
666 if ((fabs(r-0.545877*QuantumRange) >= ReferenceEpsilon) || in ValidateHSVToRGB()
667 (fabs(g-0.966567*QuantumRange) >= ReferenceEpsilon) || in ValidateHSVToRGB()
668 (fabs(b-0.463759*QuantumRange) >= ReferenceEpsilon)) in ValidateHSVToRGB()
683 if ((fabs(h-110.200859/360.0) >= ReferenceEpsilon) || in ValidateRGBToHSV()
684 (fabs(s-0.520200) >= ReferenceEpsilon) || in ValidateRGBToHSV()
685 (fabs(v-0.966567) >= ReferenceEpsilon)) in ValidateRGBToHSV()
700 if ((fabs(Y-0.783460) >= ReferenceEpsilon) || in ValidateRGBToJPEGYCbCr()
701 (fabs(Cb-0.319581) >= ReferenceEpsilon) || in ValidateRGBToJPEGYCbCr()
702 (fabs(Cr-0.330539) >= ReferenceEpsilon)) in ValidateRGBToJPEGYCbCr()
716 if ((fabs(r-0.545877*QuantumRange) >= ReferenceEpsilon) || in ValidateJPEGYCbCrToRGB()
717 (fabs(g-0.966567*QuantumRange) >= ReferenceEpsilon) || in ValidateJPEGYCbCrToRGB()
718 (fabs(b-0.463759*QuantumRange) >= ReferenceEpsilon)) in ValidateJPEGYCbCrToRGB()
733 if ((fabs(r-0.545877*QuantumRange) >= ReferenceEpsilon) || in ValidateLabToRGB()
734 (fabs(g-0.966567*QuantumRange) >= ReferenceEpsilon) || in ValidateLabToRGB()
735 (fabs(b-0.463759*QuantumRange) >= ReferenceEpsilon)) in ValidateLabToRGB()
750 if ((fabs(L-(88.456154/100.0)) >= ReferenceEpsilon) || in ValidateRGBToLab()
751 (fabs(a-(-54.671483/255.0+0.5)) >= ReferenceEpsilon) || in ValidateRGBToLab()
752 (fabs(b-(51.662818/255.0+0.5)) >= ReferenceEpsilon)) in ValidateRGBToLab()
767 if ((fabs(r-0.545877*QuantumRange) >= ReferenceEpsilon) || in ValidateLchToRGB()
768 (fabs(g-0.966567*QuantumRange) >= ReferenceEpsilon) || in ValidateLchToRGB()
769 (fabs(b-0.463759*QuantumRange) >= ReferenceEpsilon)) in ValidateLchToRGB()
784 if ((fabs(L-88.456154/100.0) >= ReferenceEpsilon) || in ValidateRGBToLch()
785 (fabs(c-(75.219797/255.0+0.5)) >= ReferenceEpsilon) || in ValidateRGBToLch()
786 (fabs(h-(136.620717/255.0+0.5)) >= ReferenceEpsilon)) in ValidateRGBToLch()
801 if ((fabs(L-0.611749) >= ReferenceEpsilon) || in ValidateRGBToLMS()
802 (fabs(M-0.910088) >= ReferenceEpsilon) || in ValidateRGBToLMS()
803 (fabs(S-0.294880) >= ReferenceEpsilon)) in ValidateRGBToLMS()
817 if ((fabs(r-0.545877*QuantumRange) >= ReferenceEpsilon) || in ValidateLMSToRGB()
818 (fabs(g-0.966567*QuantumRange) >= ReferenceEpsilon) || in ValidateLMSToRGB()
819 (fabs(b-0.463759*QuantumRange) >= ReferenceEpsilon)) in ValidateLMSToRGB()
834 if ((fabs(l-88.456154/262.0) >= ReferenceEpsilon) || in ValidateRGBToLuv()
835 (fabs(u-(-51.330414+134.0)/354.0) >= ReferenceEpsilon) || in ValidateRGBToLuv()
836 (fabs(v-(76.405526+140.0)/262.0) >= ReferenceEpsilon)) in ValidateRGBToLuv()
851 if ((fabs(r-0.545877*QuantumRange) >= ReferenceEpsilon) || in ValidateLuvToRGB()
852 (fabs(g-0.966567*QuantumRange) >= ReferenceEpsilon) || in ValidateLuvToRGB()
853 (fabs(b-0.463759*QuantumRange) >= ReferenceEpsilon)) in ValidateLuvToRGB()
868 if ((fabs(x-0.470646) >= ReferenceEpsilon) || in ValidateRGBToXYZ()
869 (fabs(y-0.730178) >= ReferenceEpsilon) || in ValidateRGBToXYZ()
870 (fabs(z-0.288324) >= ReferenceEpsilon)) in ValidateRGBToXYZ()
884 if ((fabs(r-0.545877*QuantumRange) >= ReferenceEpsilon) || in ValidateXYZToRGB()
885 (fabs(g-0.966567*QuantumRange) >= ReferenceEpsilon) || in ValidateXYZToRGB()
886 (fabs(b-0.463759*QuantumRange) >= ReferenceEpsilon)) in ValidateXYZToRGB()
900 if ((fabs(r-0.545877*QuantumRange) >= ReferenceEpsilon) || in ValidateYDbDrToRGB()
901 (fabs(g-0.966567*QuantumRange) >= ReferenceEpsilon) || in ValidateYDbDrToRGB()
902 (fabs(b-0.463759*QuantumRange) >= ReferenceEpsilon)) in ValidateYDbDrToRGB()
917 if ((fabs(Y-0.783460) >= ReferenceEpsilon) || in ValidateRGBToYDbDr()
918 (fabs(Db-(-0.480932)) >= ReferenceEpsilon) || in ValidateRGBToYDbDr()
919 (fabs(Dr-0.451670) >= ReferenceEpsilon)) in ValidateRGBToYDbDr()
934 if ((fabs(y-0.783460) >= ReferenceEpsilon) || in ValidateRGBToYIQ()
935 (fabs(i-(-0.089078)) >= ReferenceEpsilon) || in ValidateRGBToYIQ()
936 (fabs(q-(-0.245399)) >= ReferenceEpsilon)) in ValidateRGBToYIQ()
950 if ((fabs(r-0.545877*QuantumRange) >= ReferenceEpsilon) || in ValidateYIQToRGB()
951 (fabs(g-0.966567*QuantumRange) >= ReferenceEpsilon) || in ValidateYIQToRGB()
952 (fabs(b-0.463759*QuantumRange) >= ReferenceEpsilon)) in ValidateYIQToRGB()
967 if ((fabs(y-0.783460) >= ReferenceEpsilon) || in ValidateRGBToYPbPr()
968 (fabs(Pb-(-0.180419)) >= ReferenceEpsilon) || in ValidateRGBToYPbPr()
969 (fabs(Pr-(-0.169461)) >= ReferenceEpsilon)) in ValidateRGBToYPbPr()
983 if ((fabs(r-0.545877*QuantumRange) >= ReferenceEpsilon) || in ValidateYPbPrToRGB()
984 (fabs(g-0.966567*QuantumRange) >= ReferenceEpsilon) || in ValidateYPbPrToRGB()
985 (fabs(b-0.463759*QuantumRange) >= ReferenceEpsilon)) in ValidateYPbPrToRGB()
1000 if ((fabs(Y-0.783460) >= ReferenceEpsilon) || in ValidateRGBToYUV()
1001 (fabs(U-(-0.157383)) >= ReferenceEpsilon) || in ValidateRGBToYUV()
1002 (fabs(V-(-0.208443)) >= ReferenceEpsilon)) in ValidateRGBToYUV()
1016 if ((fabs(r-0.545877*QuantumRange) >= ReferenceEpsilon) || in ValidateYUVToRGB()
1017 (fabs(g-0.966567*QuantumRange) >= ReferenceEpsilon) || in ValidateYUVToRGB()
1018 (fabs(b-0.463759*QuantumRange) >= ReferenceEpsilon)) in ValidateYUVToRGB()