Lines Matching refs:whiteY
1783 PNG_CONST double whiteY = encoding->red.Y + encoding->green.Y + in normalize_color_encoding() local
1786 if (whiteY != 1) in normalize_color_encoding()
1788 encoding->red.X /= whiteY; in normalize_color_encoding()
1789 encoding->red.Y /= whiteY; in normalize_color_encoding()
1790 encoding->red.Z /= whiteY; in normalize_color_encoding()
1791 encoding->green.X /= whiteY; in normalize_color_encoding()
1792 encoding->green.Y /= whiteY; in normalize_color_encoding()
1793 encoding->green.Z /= whiteY; in normalize_color_encoding()
1794 encoding->blue.X /= whiteY; in normalize_color_encoding()
1795 encoding->blue.Y /= whiteY; in normalize_color_encoding()
1796 encoding->blue.Z /= whiteY; in normalize_color_encoding()
6685 PNG_CONST double whiteY = e->red.Y + e->green.Y + e->blue.Y; in image_transform_png_set_rgb_to_gray_ini() local
6691 if (whiteY != 1) in image_transform_png_set_rgb_to_gray_ini()
6693 data.red_coefficient /= whiteY; in image_transform_png_set_rgb_to_gray_ini()
6694 data.green_coefficient /= whiteY; in image_transform_png_set_rgb_to_gray_ini()
6695 data.blue_coefficient /= whiteY; in image_transform_png_set_rgb_to_gray_ini()