Lines Matching refs:whiteY
2292 const double whiteY = encoding->red.Y + encoding->green.Y + in normalize_color_encoding() local
2295 if (whiteY != 1) in normalize_color_encoding()
2297 encoding->red.X /= whiteY; in normalize_color_encoding()
2298 encoding->red.Y /= whiteY; in normalize_color_encoding()
2299 encoding->red.Z /= whiteY; in normalize_color_encoding()
2300 encoding->green.X /= whiteY; in normalize_color_encoding()
2301 encoding->green.Y /= whiteY; in normalize_color_encoding()
2302 encoding->green.Z /= whiteY; in normalize_color_encoding()
2303 encoding->blue.X /= whiteY; in normalize_color_encoding()
2304 encoding->blue.Y /= whiteY; in normalize_color_encoding()
2305 encoding->blue.Z /= whiteY; in normalize_color_encoding()
7620 const double whiteY = e->red.Y + e->green.Y + e->blue.Y; in image_transform_png_set_rgb_to_gray_ini() local
7626 if (whiteY != 1) in image_transform_png_set_rgb_to_gray_ini()
7628 data.red_coefficient /= whiteY; in image_transform_png_set_rgb_to_gray_ini()
7629 data.green_coefficient /= whiteY; in image_transform_png_set_rgb_to_gray_ini()
7630 data.blue_coefficient /= whiteY; in image_transform_png_set_rgb_to_gray_ini()