Lines Matching refs:gray16
2420 png_uint_16 gray16 = (png_uint_16)((rc*red_1 + gc*green_1 in png_do_rgb_to_gray() local
2422 w = png_ptr->gamma_16_from_1[(gray16&0xff) >> in png_do_rgb_to_gray()
2423 png_ptr->gamma_shift][gray16 >> 8]; in png_do_rgb_to_gray()
2438 png_uint_16 red, green, blue, gray16; in png_do_rgb_to_gray() local
2446 gray16 = (png_uint_16)((rc*red + gc*green + bc*blue)>>15); in png_do_rgb_to_gray()
2447 *(dp++) = (png_byte)((gray16>>8) & 0xff); in png_do_rgb_to_gray()
2448 *(dp++) = (png_byte)(gray16 & 0xff); in png_do_rgb_to_gray()
2518 png_uint_16 gray16 = (png_uint_16)((rc * red_1 in png_do_rgb_to_gray() local
2520 w = png_ptr->gamma_16_from_1[(gray16&0xff) >> in png_do_rgb_to_gray()
2521 png_ptr->gamma_shift][gray16 >> 8]; in png_do_rgb_to_gray()
2538 png_uint_16 red, green, blue, gray16; in png_do_rgb_to_gray() local
2544 gray16 = (png_uint_16)((rc*red + gc*green + bc*blue)>>15); in png_do_rgb_to_gray()
2545 *(dp++) = (png_byte)((gray16>>8) & 0xff); in png_do_rgb_to_gray()
2546 *(dp++) = (png_byte)(gray16 & 0xff); in png_do_rgb_to_gray()