• Home
  • Raw
  • Download

Lines Matching refs:sRGB_to_d

152 static double sRGB_to_d[256];  variable
160 sRGB_to_d[0] = 0; in init_sRGB_to_d()
162 sRGB_to_d[i] = linear_from_sRGB(i/255.); in init_sRGB_to_d()
163 sRGB_to_d[255] = 1; in init_sRGB_to_d()
201 return u16d(65535 * sRGB_to_d[fixed_srgb]); in ilinear()
207 return u16d((257 * alpha) * sRGB_to_d[fixed_srgb]); in ilineara()
244 pow(sRGB_to_d[value], 1/2.2) - sRGB_from_linear(pow(vd, 2.2)));
1265 out->r = out->g = out->b = sRGB(sRGB_to_d[in->g] * a + back->dg * (1-a)); in gpc_bckg()
1293 out->r = sRGB(sRGB_to_d[in->r] * a + back->dr * (1-a)); in gpc_bckc()
1294 out->g = sRGB(sRGB_to_d[in->g] * a + back->dg * (1-a)); in gpc_bckc()
1295 out->b = sRGB(sRGB_to_d[in->b] * a + back->db * (1-a)); in gpc_bckc()
1312 sRGB(YfromRGB(sRGB_to_d[in->r], sRGB_to_d[in->g], sRGB_to_d[in->b])); in gpc_g8()
1331 sRGB_to_d[in->r], sRGB_to_d[in->g], sRGB_to_d[in->b])); in gpc_g8b()
1338 out->r = out->g = out->b = sRGB(a * YfromRGB(sRGB_to_d[in->r], in gpc_g8b()
1339 sRGB_to_d[in->g], sRGB_to_d[in->b]) + back->dg * (1-a)); 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()
2193 result->background_color.dr = sRGB_to_d[background->red]; in transform_from_formats()
2194 result->background_color.dg = sRGB_to_d[background->green]; in transform_from_formats()
2195 result->background_color.db = sRGB_to_d[background->blue]; in transform_from_formats()
2208 result->background_color.db = sRGB_to_d[background->green]; in transform_from_formats()
2222 result->background_color.db = sRGB_to_d[BUFFER_INIT8]; in transform_from_formats()