Lines Matching refs:gray16
2410 png_uint_16 gray16 = (png_uint_16)((rc*red_1 + gc*green_1 in png_do_rgb_to_gray() local
2412 w = png_ptr->gamma_16_from_1[(gray16&0xff) >> in png_do_rgb_to_gray()
2413 png_ptr->gamma_shift][gray16 >> 8]; in png_do_rgb_to_gray()
2428 png_uint_16 red, green, blue, gray16; in png_do_rgb_to_gray() local
2436 gray16 = (png_uint_16)((rc*red + gc*green + bc*blue)>>15); in png_do_rgb_to_gray()
2437 *(dp++) = (png_byte)((gray16>>8) & 0xff); in png_do_rgb_to_gray()
2438 *(dp++) = (png_byte)(gray16 & 0xff); in png_do_rgb_to_gray()
2508 png_uint_16 gray16 = (png_uint_16)((rc * red_1 in png_do_rgb_to_gray() local
2510 w = png_ptr->gamma_16_from_1[(gray16&0xff) >> in png_do_rgb_to_gray()
2511 png_ptr->gamma_shift][gray16 >> 8]; in png_do_rgb_to_gray()
2528 png_uint_16 red, green, blue, gray16; in png_do_rgb_to_gray() local
2534 gray16 = (png_uint_16)((rc*red + gc*green + bc*blue)>>15); in png_do_rgb_to_gray()
2535 *(dp++) = (png_byte)((gray16>>8) & 0xff); in png_do_rgb_to_gray()
2536 *(dp++) = (png_byte)(gray16 & 0xff); in png_do_rgb_to_gray()