Home
last modified time | relevance | path

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

/external/libpng/
Dpngrtran.c3086 if (png_ptr->gamma_16_to_1 != NULL && png_ptr->gamma_16_from_1 != NULL) in png_do_rgb_to_gray()
3122 w = png_ptr->gamma_16_from_1[(gray16 & 0xff) >> in png_do_rgb_to_gray()
3199 png_const_uint_16pp gamma_16_from_1 = png_ptr->gamma_16_from_1; in png_do_compose() local
3647 if (gamma_16 != NULL && gamma_16_from_1 != NULL && in png_do_compose()
3682 w = gamma_16_from_1[(v & 0xff) >> in png_do_compose()
3800 if (gamma_16 != NULL && gamma_16_from_1 != NULL && in png_do_compose()
3847 w = gamma_16_from_1[((w & 0xff) >> gamma_shift)][w >> in png_do_compose()
3855 w = gamma_16_from_1[((w & 0xff) >> gamma_shift)][w >> in png_do_compose()
3864 w = gamma_16_from_1[((w & 0xff) >> gamma_shift)][w >> in png_do_compose()
4168 PNG_CONST png_uint_16pp table = png_ptr->gamma_16_from_1; in png_do_encode_alpha()
Dpngstruct.h300 png_uint_16pp gamma_16_from_1; /* converts from 1.0 to screen */ member
Dpng.c4170 if (png_ptr->gamma_16_from_1 != NULL)
4176 png_free(png_ptr, png_ptr->gamma_16_from_1[i]);
4178 png_free(png_ptr, png_ptr->gamma_16_from_1);
4179 png_ptr->gamma_16_from_1 = NULL;
4325 png_build_16bit_table(png_ptr, &png_ptr->gamma_16_from_1, shift,
/external/pdfium/third_party/libpng16/
Dpngrtran.c3083 if (png_ptr->gamma_16_to_1 != NULL && png_ptr->gamma_16_from_1 != NULL) in png_do_rgb_to_gray()
3119 w = png_ptr->gamma_16_from_1[(gray16 & 0xff) >> in png_do_rgb_to_gray()
3196 png_const_uint_16pp gamma_16_from_1 = png_ptr->gamma_16_from_1; in png_do_compose() local
3639 if (gamma_16 != NULL && gamma_16_from_1 != NULL && in png_do_compose()
3674 w = gamma_16_from_1[(v & 0xff) >> in png_do_compose()
3792 if (gamma_16 != NULL && gamma_16_from_1 != NULL && in png_do_compose()
3839 w = gamma_16_from_1[((w & 0xff) >> gamma_shift)][w >> in png_do_compose()
3847 w = gamma_16_from_1[((w & 0xff) >> gamma_shift)][w >> in png_do_compose()
3856 w = gamma_16_from_1[((w & 0xff) >> gamma_shift)][w >> in png_do_compose()
4160 PNG_CONST png_uint_16pp table = png_ptr->gamma_16_from_1; in png_do_encode_alpha()
Dpngstruct.h300 png_uint_16pp gamma_16_from_1; /* converts from 1.0 to screen */ member
Dpng.c4092 if (png_ptr->gamma_16_from_1 != NULL)
4098 png_free(png_ptr, png_ptr->gamma_16_from_1[i]);
4100 png_free(png_ptr, png_ptr->gamma_16_from_1);
4101 png_ptr->gamma_16_from_1 = NULL;
4245 png_build_16bit_table(png_ptr, &png_ptr->gamma_16_from_1, shift,