Home
last modified time | relevance | path

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

/ndk/tests/build/issue20862-libpng-O0/jni/
Dpngrtran.c3357 png_uint_16 gray16 = (png_uint_16)((rc*red_1 + gc*green_1 in png_do_rgb_to_gray() local
3359 w = png_ptr->gamma_16_from_1[(gray16&0xff) >> in png_do_rgb_to_gray()
3360 png_ptr->gamma_shift][gray16 >> 8]; in png_do_rgb_to_gray()
3383 png_uint_16 red, green, blue, gray16; in png_do_rgb_to_gray() local
3396 gray16 = (png_uint_16)((rc*red + gc*green + bc*blue + 16384) >> in png_do_rgb_to_gray()
3398 *(dp++) = (png_byte)((gray16>>8) & 0xff); in png_do_rgb_to_gray()
3399 *(dp++) = (png_byte)(gray16 & 0xff); in png_do_rgb_to_gray()