Lines Matching refs:sRGB
156 sRGB(double linear /*range 0.0 .. 1.0*/) in sRGB() function
164 return sRGB(fixed_linear / 65535.); in isRGB()
178 return sRGB((double)component / alpha);
1233 out->r = out->g = out->b = sRGB(sRGB_to_d[in->g] * a + back->dg * (1-a)); in gpc_bckg()
1261 out->r = sRGB(sRGB_to_d[in->r] * a + back->dr * (1-a)); in gpc_bckc()
1262 out->g = sRGB(sRGB_to_d[in->g] * a + back->dg * (1-a)); in gpc_bckc()
1263 out->b = sRGB(sRGB_to_d[in->b] * a + back->db * (1-a)); in gpc_bckc()
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()
1692 out->r = out->g = out->b = sRGB((double)in->g / in->a); in gpc_unpg()
1711 out->r = sRGB((double)in->r / in->a); in gpc_unpc()
1712 out->g = sRGB((double)in->g / in->a); in gpc_unpc()
1713 out->b = sRGB((double)in->b / in->a); in gpc_unpc()
1731 out->r = out->g = out->b = sRGB(in->g * a + back->dg * a1); in gpc_b16g()
1754 out->r = sRGB(in->r * a + back->dr * a1); in gpc_b16c()
1755 out->g = sRGB(in->g * a + back->dg * a1); in gpc_b16c()
1756 out->b = sRGB(in->b * a + back->db * a1); in gpc_b16c()
1768 out->r = out->g = out->b = sRGB(YfromRGBint(in->r, in->g, in->b)/65535); in gpc_sG()
1786 out->r = out->g = out->b = sRGB(YfromRGBint(in->r, in->g, in->b)/in->a); in gpc_sGp()
1805 out->r = sRGB((double)in->r / in->a); in gpc_sCp()
1806 out->g = sRGB((double)in->g / in->a); in gpc_sCp()
1807 out->b = sRGB((double)in->b / in->a); in gpc_sCp()
1829 out->r = out->g = out->b = sRGB(in->g * a + back->dg * a1); in gpc_gb16()
1859 out->r = sRGB(in->r * a + back->dr * a1); in gpc_cb16()
1860 out->g = sRGB(in->g * a + back->dg * a1); in gpc_cb16()
1861 out->b = sRGB(in->b * a + back->db * a1); in gpc_cb16()