Home
last modified time | relevance | path

Searched refs:powf_ (Results 1 – 2 of 2) sorted by relevance

/third_party/skia/third_party/skcms/
Dskcms.cc106 float powf_(float x, float y) { in powf_() function
209 return K * sign * (x*hlg.R <= 1 ? powf_(x*hlg.R, hlg.G) in skcms_TransferFunction_eval()
217 return sign * (x <= 1 ? hlg.R * powf_(x, hlg.G) in skcms_TransferFunction_eval()
223 : powf_(tf->a * x + tf->b, tf->g) + tf->e); in skcms_TransferFunction_eval()
225 case PQish: return sign * powf_(fmaxf_(pq.A + pq.B * powf_(x, pq.C), 0) in skcms_TransferFunction_eval()
226 / (pq.D + pq.E * powf_(x, pq.C)), in skcms_TransferFunction_eval()
1876 d_r = powf_(src->a * src->d + src->b, src->g) + src->e; in skcms_TransferFunction_invert()
1904 float k = powf_(src->a, -src->g); // (1/a)^g == a^-g in skcms_TransferFunction_invert()
1945 inv.e = 1.0f - sign * powf_(inv.a * s + inv.b, inv.g); in skcms_TransferFunction_invert()
2005 dfdP[0] = logf_(Y)*powf_(Y, g) in rg_nonlinear()
[all …]
Dskcms_internal.h47 float powf_(float, float);