Home
last modified time | relevance | path

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

/external/libpng/contrib/libtests/
Dpngstest.c153 static double g22_to_d[256]; variable
165 g22_to_d[0] = 0; in init_sRGB_to_d()
167 g22_to_d[i] = pow(i/255., 1/.45455); in init_sRGB_to_d()
168 g22_to_d[255] = 1; in init_sRGB_to_d()
213 return u16d(65535 * g22_to_d[fixed_srgb]); in ilinear_g22()
220 return u16d((257 * alpha) * g22_to_d[fixed_srgb]); in ilineara_g22()
1629 YfromRGB(g22_to_d[in->r], g22_to_d[in->g], g22_to_d[in->b])); in gpc_Glin()
1649 YfromRGB(g22_to_d[in->r], g22_to_d[in->g], g22_to_d[in->b])); in gpc_Gpre()
1667 YfromRGB(g22_to_d[in->r], g22_to_d[in->g], g22_to_d[in->b])); in gpc_Gprq()