Home
last modified time | relevance | path

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

/external/libpng/contrib/tools/
DsRGB.h42 YfromRGB(double r, double g, double b) in YfromRGB() function
Dcvtcolor.c143 c[0] = YfromRGB(c[0], c[1], c[2]); in main()
/external/libpng/contrib/libtests/
Dpngstest.c230 return YfromRGB(r, g, b); in YfromRGBint()
1312 sRGB(YfromRGB(sRGB_to_d[in->r], sRGB_to_d[in->g], sRGB_to_d[in->b])); in gpc_g8()
1330 out->r = out->g = out->b = sRGB(YfromRGB( in gpc_g8b()
1338 out->r = out->g = out->b = sRGB(a * YfromRGB(sRGB_to_d[in->r], in gpc_g8b()
1465 YfromRGB(sRGB_to_d[in->r], sRGB_to_d[in->g], sRGB_to_d[in->b])); in gpc_glin()
1481 YfromRGB(sRGB_to_d[in->r], sRGB_to_d[in->g], sRGB_to_d[in->b])); in gpc_gpre()
1497 YfromRGB(sRGB_to_d[in->r], sRGB_to_d[in->g], sRGB_to_d[in->b])); in gpc_gprq()
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()