Home
last modified time | relevance | path

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

/external/libpng/contrib/libtests/
Dpngstest.c137 static double g22_to_d[256]; variable
149 g22_to_d[0] = 0; in init_sRGB_to_d()
151 g22_to_d[i] = pow(i/255., 1/.45455); in init_sRGB_to_d()
152 g22_to_d[255] = 1; in init_sRGB_to_d()
197 return u16d(65535 * g22_to_d[fixed_srgb]); in ilinear_g22()
204 return u16d((257 * alpha) * g22_to_d[fixed_srgb]); in ilineara_g22()
1597 YfromRGB(g22_to_d[in->r], g22_to_d[in->g], g22_to_d[in->b])); in gpc_Glin()
1617 YfromRGB(g22_to_d[in->r], g22_to_d[in->g], g22_to_d[in->b])); in gpc_Gpre()
1635 YfromRGB(g22_to_d[in->r], g22_to_d[in->g], g22_to_d[in->b])); in gpc_Gprq()