Searched refs:fmaxf_ (Results 1 – 2 of 2) sorted by relevance
/external/skqp/third_party/skcms/ |
D | skcms.cc | 38 static float fmaxf_(float x, float y) { return x > y ? x : y; } in fmaxf_() function 56 float ix = fmaxf_(0, fminf_(x, 1)) * (curve->table_entries - 1); in eval_curve() 84 err = fmaxf_(err, fabsf_(x - skcms_TransferFunction_eval(inv_tf, y))); in max_roundtrip_error() 763 slope_min = fmaxf_(slope_min, slope_min_i); in fit_linear() 1518 const float Y = fmaxf_(a*y + b, 0.0f), in rg_nonlinear() 2326 err = fmaxf_(err, max_roundtrip_error(&profile->trc[j], &inv)); in skcms_MakeUsableAsDestinationWithSingleCurve()
|
/external/skia/third_party/skcms/ |
D | skcms.cc | 117 static float fmaxf_(float x, float y) { return x > y ? x : y; } in fmaxf_() function 225 case PQish: return sign * powf_(fmaxf_(pq.A + pq.B * powf_(x, pq.C), 0) in skcms_TransferFunction_eval() 238 float ix = fmaxf_(0, fminf_(x, 1)) * (curve->table_entries - 1); in eval_curve() 266 err = fmaxf_(err, fabsf_(x - skcms_TransferFunction_eval(inv_tf, y))); in skcms_MaxRoundtripError() 1091 slope_min = fmaxf_(slope_min, slope_min_i); in fit_linear() 1970 const float Y = fmaxf_(a*y + b, 0.0f), in rg_nonlinear() 2990 err = fmaxf_(err, skcms_MaxRoundtripError(&profile->trc[j], &inv)); in skcms_MakeUsableAsDestinationWithSingleCurve()
|