Home
last modified time | relevance | path

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

/third_party/skia/include/third_party/skcms/
Dskcms.h218 const skcms_TransferFunction* inv_tf);
224 const skcms_TransferFunction* inv_tf);
/third_party/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()
1656 const skcms_TransferFunction* inv_tf) { in skcms_TRCs_AreApproximateInverse() argument
1661 return skcms_AreApproximateInverses(&profile->trc[0], inv_tf) && in skcms_TRCs_AreApproximateInverse()
1662 skcms_AreApproximateInverses(&profile->trc[1], inv_tf) && in skcms_TRCs_AreApproximateInverse()
1663 skcms_AreApproximateInverses(&profile->trc[2], inv_tf); in skcms_TRCs_AreApproximateInverse()