Searched refs:inv_tf (Results 1 – 3 of 3) sorted by relevance
218 const skcms_TransferFunction* inv_tf);224 const skcms_TransferFunction* inv_tf);
34 float skcms_MaxRoundtripError(const skcms_Curve* curve, const skcms_TransferFunction* inv_tf);
259 float skcms_MaxRoundtripError(const skcms_Curve* curve, const skcms_TransferFunction* inv_tf) { in skcms_MaxRoundtripError() argument266 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() argument272 return skcms_MaxRoundtripError(curve, inv_tf) < (1/512.0f); in skcms_AreApproximateInverses()1656 const skcms_TransferFunction* inv_tf) { in skcms_TRCs_AreApproximateInverse() argument1661 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()