Home
last modified time | relevance | path

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

/external/libpng/contrib/libtests/
Dpngstest.c153 static double sRGB_to_d[256]; variable
161 sRGB_to_d[0] = 0; in init_sRGB_to_d()
163 sRGB_to_d[i] = linear_from_sRGB(i/255.); in init_sRGB_to_d()
164 sRGB_to_d[255] = 1; in init_sRGB_to_d()
202 return u16d(65535 * sRGB_to_d[fixed_srgb]); in ilinear()
208 return u16d((257 * alpha) * sRGB_to_d[fixed_srgb]); in ilineara()
245 pow(sRGB_to_d[value], 1/2.2) - sRGB_from_linear(pow(vd, 2.2)));
1266 out->r = out->g = out->b = sRGB(sRGB_to_d[in->g] * a + back->dg * (1-a)); in gpc_bckg()
1294 out->r = sRGB(sRGB_to_d[in->r] * a + back->dr * (1-a)); in gpc_bckc()
1295 out->g = sRGB(sRGB_to_d[in->g] * a + back->dg * (1-a)); in gpc_bckc()
[all …]