Searched refs:red_int (Results 1 – 2 of 2) sorted by relevance
728 png_uint_16 red_int, green_int; in png_set_rgb_to_gray_fixed() local731 red_int = 6968; /* .212671 * 32768 + .5 */ in png_set_rgb_to_gray_fixed()736 red_int = (png_uint_16)(((png_uint_32)red*32768L)/100000L); in png_set_rgb_to_gray_fixed()742 red_int = 6968; in png_set_rgb_to_gray_fixed()745 png_ptr->rgb_to_gray_red_coeff = red_int; in png_set_rgb_to_gray_fixed()748 (png_uint_16)(32768 - red_int - green_int); in png_set_rgb_to_gray_fixed()
677 png_uint_16 red_int, green_int; in png_set_rgb_to_gray_fixed() local680 red_int = 6968; /* .212671 * 32768 + .5 */ in png_set_rgb_to_gray_fixed()685 red_int = (png_uint_16)(((png_uint_32)red*32768L)/100000L); in png_set_rgb_to_gray_fixed()691 red_int = 6968; in png_set_rgb_to_gray_fixed()694 png_ptr->rgb_to_gray_red_coeff = red_int; in png_set_rgb_to_gray_fixed()696 png_ptr->rgb_to_gray_blue_coeff = (png_uint_16)(32768-red_int-green_int); in png_set_rgb_to_gray_fixed()