Home
last modified time | relevance | path

Searched refs:gray16 (Results 1 – 3 of 3) sorted by relevance

/external/chromium_org/third_party/libpng/
Dpngrtran.c2420 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()
[all …]
/external/qemu/distrib/libpng-1.2.46/
Dpngrtran.c2420 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()
[all …]
/external/libpng/
Dpngrtran.c3112 png_uint_16 gray16 = (png_uint_16)((rc*red_1 + gc*green_1 in png_do_rgb_to_gray() local
3114 w = png_ptr->gamma_16_from_1[(gray16&0xff) >> in png_do_rgb_to_gray()
3115 png_ptr->gamma_shift][gray16 >> 8]; in png_do_rgb_to_gray()
3138 png_uint_16 red, green, blue, gray16; in png_do_rgb_to_gray() local
3151 gray16 = (png_uint_16)((rc*red + gc*green + bc*blue + 16384) >> in png_do_rgb_to_gray()
3153 *(dp++) = (png_byte)((gray16>>8) & 0xff); in png_do_rgb_to_gray()
3154 *(dp++) = (png_byte)(gray16 & 0xff); in png_do_rgb_to_gray()