Home
last modified time | relevance | path

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

/external/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()
1846 d_r = powf_(src->a * src->d + src->b, src->g) + src->e; in skcms_TransferFunction_invert()
1874 float k = powf_(src->a, -src->g); // (1/a)^g == a^-g in skcms_TransferFunction_invert()
1915 inv.e = 1.0f - sign * powf_(inv.a * s + inv.b, inv.g); in skcms_TransferFunction_invert()
1975 dfdP[0] = logf_(Y)*powf_(Y, g) in rg_nonlinear()
[all …]
Dskcms_internal.h47 float powf_(float, float);
/external/skqp/third_party/skcms/
Dskcms.cc1393 float powf_(float x, float y) { in powf_() function
1403 : powf_(tf->a * x + tf->b, tf->g) + tf->e); in skcms_TransferFunction_eval()
1424 d_r = powf_(src->a * src->d + src->b, src->g) + src->e; in skcms_TransferFunction_invert()
1452 float k = powf_(src->a, -src->g); // (1/a)^g == a^-g in skcms_TransferFunction_invert()
1462 float s = powf_(src->a + src->b, src->g) + src->e; in skcms_TransferFunction_invert()
1463 inv.e = 1.0f - powf_(inv.a * s + inv.b, inv.g); in skcms_TransferFunction_invert()
1523 dfdP[0] = 0.69314718f*log2f_(Y)*powf_(Y, g) in rg_nonlinear()
1524 - 0.69314718f*log2f_(D)*powf_(D, g); in rg_nonlinear()
1525 dfdP[1] = y*g*powf_(Y, g-1) in rg_nonlinear()
1526 - d*g*powf_(D, g-1); in rg_nonlinear()
[all …]
Dskcms_internal.h38 float powf_(float, float);