Home
last modified time | relevance | path

Searched refs:inv_tf (Results 1 – 5 of 5) sorted by relevance

/external/skqp/third_party/skcms/
Dskcms.h134 const skcms_TransferFunction* inv_tf);
140 const skcms_TransferFunction* inv_tf);
Dskcms.cc77 static float max_roundtrip_error(const skcms_Curve* curve, const skcms_TransferFunction* inv_tf) { in max_roundtrip_error() argument
84 err = fmaxf_(err, fabsf_(x - skcms_TransferFunction_eval(inv_tf, y))); in max_roundtrip_error()
89 bool skcms_AreApproximateInverses(const skcms_Curve* curve, const skcms_TransferFunction* inv_tf) { in skcms_AreApproximateInverses() argument
90 return max_roundtrip_error(curve, inv_tf) < (1/512.0f); in skcms_AreApproximateInverses()
1192 const skcms_TransferFunction* inv_tf) { in skcms_TRCs_AreApproximateInverse() argument
1197 return skcms_AreApproximateInverses(&profile->trc[0], inv_tf) && in skcms_TRCs_AreApproximateInverse()
1198 skcms_AreApproximateInverses(&profile->trc[1], inv_tf) && in skcms_TRCs_AreApproximateInverse()
1199 skcms_AreApproximateInverses(&profile->trc[2], inv_tf); in skcms_TRCs_AreApproximateInverse()
/external/skia/third_party/skcms/
Dskcms_internal.h34 float skcms_MaxRoundtripError(const skcms_Curve* curve, const skcms_TransferFunction* inv_tf);
Dskcms.cc259 float skcms_MaxRoundtripError(const skcms_Curve* curve, const skcms_TransferFunction* inv_tf) { in skcms_MaxRoundtripError() argument
266 err = fmaxf_(err, fabsf_(x - skcms_TransferFunction_eval(inv_tf, y))); in skcms_MaxRoundtripError()
271 bool skcms_AreApproximateInverses(const skcms_Curve* curve, const skcms_TransferFunction* inv_tf) { in skcms_AreApproximateInverses() argument
272 return skcms_MaxRoundtripError(curve, inv_tf) < (1/512.0f); in skcms_AreApproximateInverses()
1626 const skcms_TransferFunction* inv_tf) { in skcms_TRCs_AreApproximateInverse() argument
1631 return skcms_AreApproximateInverses(&profile->trc[0], inv_tf) && in skcms_TRCs_AreApproximateInverse()
1632 skcms_AreApproximateInverses(&profile->trc[1], inv_tf) && in skcms_TRCs_AreApproximateInverse()
1633 skcms_AreApproximateInverses(&profile->trc[2], inv_tf); in skcms_TRCs_AreApproximateInverse()
/external/skia/include/third_party/skcms/
Dskcms.h209 const skcms_TransferFunction* inv_tf);
215 const skcms_TransferFunction* inv_tf);