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.c214 return YfromRGB(r, g, b); in YfromRGBint()
1280 sRGB(YfromRGB(sRGB_to_d[in->r], sRGB_to_d[in->g], sRGB_to_d[in->b])); in gpc_g8()
1298 out->r = out->g = out->b = sRGB(YfromRGB( in gpc_g8b()
1306 out->r = out->g = out->b = sRGB(a * YfromRGB(sRGB_to_d[in->r], in gpc_g8b()
1433 YfromRGB(sRGB_to_d[in->r], sRGB_to_d[in->g], sRGB_to_d[in->b])); in gpc_glin()
1449 YfromRGB(sRGB_to_d[in->r], sRGB_to_d[in->g], sRGB_to_d[in->b])); in gpc_gpre()
1465 YfromRGB(sRGB_to_d[in->r], sRGB_to_d[in->g], sRGB_to_d[in->b])); in gpc_gprq()
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()