IsGoodVal 859 testbed/testcms2.c return IsGoodVal(title, in, out, FIXED_PRECISION_15_16); IsGoodVal 865 testbed/testcms2.c return IsGoodVal(title, in, out, FIXED_PRECISION_8_8); IsGoodVal 2988 testbed/testcms2.c if (!IsGoodVal(Name, y_fn, y_param, FIXED_PRECISION_15_16)) IsGoodVal 2992 testbed/testcms2.c if (!IsGoodVal(InverseText, y_fn, y_param2, FIXED_PRECISION_15_16)) IsGoodVal 4188 testbed/testcms2.c return IsGoodVal("R", Ro , Out[0], 0.01) && IsGoodVal 4189 testbed/testcms2.c IsGoodVal("G", Go , Out[1], 0.01) && IsGoodVal 4190 testbed/testcms2.c IsGoodVal("B", Bo , Out[2], 0.01); IsGoodVal 5000 testbed/testcms2.c if (!IsGoodVal("IlluminantXYZ.X", v ->IlluminantXYZ.X, 0.1, 0.001)) return 0; IsGoodVal 5001 testbed/testcms2.c if (!IsGoodVal("IlluminantXYZ.Y", v ->IlluminantXYZ.Y, 0.2, 0.001)) return 0; IsGoodVal 5002 testbed/testcms2.c if (!IsGoodVal("IlluminantXYZ.Z", v ->IlluminantXYZ.Z, 0.3, 0.001)) return 0; IsGoodVal 5004 testbed/testcms2.c if (!IsGoodVal("SurroundXYZ.X", v ->SurroundXYZ.X, 0.4, 0.001)) return 0; IsGoodVal 5005 testbed/testcms2.c if (!IsGoodVal("SurroundXYZ.Y", v ->SurroundXYZ.Y, 0.5, 0.001)) return 0; IsGoodVal 5006 testbed/testcms2.c if (!IsGoodVal("SurroundXYZ.Z", v ->SurroundXYZ.Z, 0.6, 0.001)) return 0; IsGoodVal 5040 testbed/testcms2.c if (!IsGoodVal("VCGT R", cmsEstimateGamma(PtrCurve[0], 0.01), 1.1, 0.001)) return 0; IsGoodVal 5041 testbed/testcms2.c if (!IsGoodVal("VCGT G", cmsEstimateGamma(PtrCurve[1], 0.01), 2.2, 0.001)) return 0; IsGoodVal 5042 testbed/testcms2.c if (!IsGoodVal("VCGT B", cmsEstimateGamma(PtrCurve[2], 0.01), 3.4, 0.001)) return 0; IsGoodVal 6154 testbed/testcms2.c return IsGoodVal("X", X , Out[0], err) && IsGoodVal 6155 testbed/testcms2.c IsGoodVal("Y", Y , Out[1], err) && IsGoodVal 6156 testbed/testcms2.c IsGoodVal("Z", Z , Out[2], err); IsGoodVal 6889 testbed/testcms2.c if (!IsGoodVal("a axis on gray", 0, Lab.a, 0.001)) return 0; IsGoodVal 6890 testbed/testcms2.c if (!IsGoodVal("b axis on gray", 0, Lab.b, 0.001)) return 0; IsGoodVal 6892 testbed/testcms2.c return IsGoodVal("Gray value", L, Lab.L, 0.01); IsGoodVal 6950 testbed/testcms2.c return IsGoodVal("Gray value", g, (double) g_out, 0.01); IsGoodVal 7313 testbed/testcms2.c if (!IsGoodVal("Float RGB->XYZ", in[0], out[0], FLOAT_PRECISSION) || IsGoodVal 7314 testbed/testcms2.c !IsGoodVal("Float RGB->XYZ", in[1], out[1], FLOAT_PRECISSION) || IsGoodVal 7315 testbed/testcms2.c !IsGoodVal("Float RGB->XYZ", in[2], out[2], FLOAT_PRECISSION)) IsGoodVal 7330 testbed/testcms2.c if (!IsGoodVal("Float XYZ->XYZ", in[0], out[0], FLOAT_PRECISSION) || IsGoodVal 7331 testbed/testcms2.c !IsGoodVal("Float XYZ->XYZ", in[1], out[1], FLOAT_PRECISSION) || IsGoodVal 7332 testbed/testcms2.c !IsGoodVal("Float XYZ->XYZ", in[2], out[2], FLOAT_PRECISSION)) IsGoodVal 7346 testbed/testcms2.c if (!IsGoodVal("Float XYZ->RGB", in[0], out[0], FLOAT_PRECISSION) || IsGoodVal 7347 testbed/testcms2.c !IsGoodVal("Float XYZ->RGB", in[1], out[1], FLOAT_PRECISSION) || IsGoodVal 7348 testbed/testcms2.c !IsGoodVal("Float XYZ->RGB", in[2], out[2], FLOAT_PRECISSION)) IsGoodVal 7364 testbed/testcms2.c if (!IsGoodVal("Float RGB->RGB", in[0], out[0], FLOAT_PRECISSION) || IsGoodVal 7365 testbed/testcms2.c !IsGoodVal("Float RGB->RGB", in[1], out[1], FLOAT_PRECISSION) || IsGoodVal 7366 testbed/testcms2.c !IsGoodVal("Float RGB->RGB", in[2], out[2], FLOAT_PRECISSION)) IsGoodVal 7415 testbed/testcms2.c if (!IsGoodVal("Float RGB->RGB", RGBA1[0], RGBA2[0], FLOAT_PRECISSION) || IsGoodVal 7416 testbed/testcms2.c !IsGoodVal("Float RGB->RGB", RGBA1[1], RGBA2[1], FLOAT_PRECISSION) || IsGoodVal 7417 testbed/testcms2.c !IsGoodVal("Float RGB->RGB", RGBA1[2], RGBA2[2], FLOAT_PRECISSION)) IsGoodVal 7502 testbed/testcms2.c if (!IsGoodVal(label, expectedY, out, FLOAT_PRECISSION)) { IsGoodVal 7696 testbed/testcms2.c if (!IsGoodVal("float nullxform", in[i], out[i], 0.001)) { IsGoodVal 44 testbed/testcms2.h cmsBool IsGoodVal(const char *title, cmsFloat64Number in, cmsFloat64Number out, cmsFloat64Number max); IsGoodVal 199 testbed/testplugin.c rc = IsGoodVal("Adaptation state", cmsSetAdaptationStateTHR(c3, -1), 0.7, 0.001); IsGoodVal 317 testbed/testplugin.c if (!IsGoodVal("0.10", cmsEvalToneCurveFloat(Sampled1D, 0.10f), 0.10, 0.01)) goto Error; IsGoodVal 318 testbed/testplugin.c if (!IsGoodVal("0.13", cmsEvalToneCurveFloat(Sampled1D, 0.13f), 0.10, 0.01)) goto Error; IsGoodVal 319 testbed/testplugin.c if (!IsGoodVal("0.55", cmsEvalToneCurveFloat(Sampled1D, 0.55f), 0.50, 0.01)) goto Error; IsGoodVal 320 testbed/testplugin.c if (!IsGoodVal("0.9999", cmsEvalToneCurveFloat(Sampled1D, 0.9999f), 0.90, 0.01)) goto Error; IsGoodVal 334 testbed/testplugin.c if (!IsGoodVal("0.10", cmsEvalToneCurveFloat(Sampled1D, 0.10f), 0.10, 0.001)) goto Error; IsGoodVal 335 testbed/testplugin.c if (!IsGoodVal("0.13", cmsEvalToneCurveFloat(Sampled1D, 0.13f), 0.13, 0.001)) goto Error; IsGoodVal 336 testbed/testplugin.c if (!IsGoodVal("0.55", cmsEvalToneCurveFloat(Sampled1D, 0.55f), 0.55, 0.001)) goto Error; IsGoodVal 337 testbed/testplugin.c if (!IsGoodVal("0.9999", cmsEvalToneCurveFloat(Sampled1D, 0.9999f), 0.9999, 0.001)) goto Error; IsGoodVal 584 testbed/testplugin.c if (!IsGoodVal("0.10", cmsEvalToneCurveFloat(sinus, 0.10f), sin(0.10 * M_PI) , 0.001)) goto Error; IsGoodVal 585 testbed/testplugin.c if (!IsGoodVal("0.60", cmsEvalToneCurveFloat(sinus, 0.60f), sin(0.60* M_PI), 0.001)) goto Error; IsGoodVal 586 testbed/testplugin.c if (!IsGoodVal("0.90", cmsEvalToneCurveFloat(sinus, 0.90f), sin(0.90* M_PI), 0.001)) goto Error; IsGoodVal 588 testbed/testplugin.c if (!IsGoodVal("0.10", cmsEvalToneCurveFloat(cosinus, 0.10f), cos(0.10* M_PI), 0.001)) goto Error; IsGoodVal 589 testbed/testplugin.c if (!IsGoodVal("0.60", cmsEvalToneCurveFloat(cosinus, 0.60f), cos(0.60* M_PI), 0.001)) goto Error; IsGoodVal 590 testbed/testplugin.c if (!IsGoodVal("0.90", cmsEvalToneCurveFloat(cosinus, 0.90f), cos(0.90* M_PI), 0.001)) goto Error; IsGoodVal 592 testbed/testplugin.c if (!IsGoodVal("0.10", cmsEvalToneCurveFloat(tangent, 0.10f), tan(0.10* M_PI), 0.001)) goto Error; IsGoodVal 593 testbed/testplugin.c if (!IsGoodVal("0.60", cmsEvalToneCurveFloat(tangent, 0.60f), tan(0.60* M_PI), 0.001)) goto Error; IsGoodVal 594 testbed/testplugin.c if (!IsGoodVal("0.90", cmsEvalToneCurveFloat(tangent, 0.90f), tan(0.90* M_PI), 0.001)) goto Error; IsGoodVal 597 testbed/testplugin.c if (!IsGoodVal("0.10", cmsEvalToneCurveFloat(reverse_sinus, 0.10f), asin(0.10)/M_PI, 0.001)) goto Error; IsGoodVal 598 testbed/testplugin.c if (!IsGoodVal("0.60", cmsEvalToneCurveFloat(reverse_sinus, 0.60f), asin(0.60)/M_PI, 0.001)) goto Error; IsGoodVal 599 testbed/testplugin.c if (!IsGoodVal("0.90", cmsEvalToneCurveFloat(reverse_sinus, 0.90f), asin(0.90)/M_PI, 0.001)) goto Error; IsGoodVal 601 testbed/testplugin.c if (!IsGoodVal("0.10", cmsEvalToneCurveFloat(reverse_cosinus, 0.10f), acos(0.10)/M_PI, 0.001)) goto Error; IsGoodVal 602 testbed/testplugin.c if (!IsGoodVal("0.60", cmsEvalToneCurveFloat(reverse_cosinus, 0.60f), acos(0.60)/M_PI, 0.001)) goto Error; IsGoodVal 603 testbed/testplugin.c if (!IsGoodVal("0.90", cmsEvalToneCurveFloat(reverse_cosinus, 0.90f), acos(0.90)/M_PI, 0.001)) goto Error; IsGoodVal 1011 testbed/testplugin.c rc = (IsGoodVal("0", Out[0], 1.0-In[0], 0.001) && IsGoodVal 1012 testbed/testplugin.c IsGoodVal("1", Out[1], 1.0-In[1], 0.001) && IsGoodVal 1013 testbed/testplugin.c IsGoodVal("2", Out[2], 1.0-In[2], 0.001)); IsGoodVal 1089 testbed/testplugin.c rc = (IsGoodVal("0", Out[0], 1.0-In[0], 0.001) && IsGoodVal 1090 testbed/testplugin.c IsGoodVal("1", Out[1], 1.0-In[1], 0.001) && IsGoodVal 1091 testbed/testplugin.c IsGoodVal("2", Out[2], 1.0-In[2], 0.001));