Home
last modified time | relevance | path

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

/external/pdfium/third_party/lpng_v163/
Dpngrtran.c3365 if (png_ptr->gamma_16_to_1 != NULL && png_ptr->gamma_16_from_1 != NULL) in png_do_rgb_to_gray()
3400 w = png_ptr->gamma_16_from_1[(gray16&0xff) >> in png_do_rgb_to_gray()
3535 png_const_uint_16pp gamma_16_from_1 = png_ptr->gamma_16_from_1; in png_do_compose() local
3978 if (gamma_16 != NULL && gamma_16_from_1 != NULL && in png_do_compose()
4013 w = gamma_16_from_1[(v&0xff) >> gamma_shift][v >> 8]; in png_do_compose()
4130 if (gamma_16 != NULL && gamma_16_from_1 != NULL && in png_do_compose()
4177 w = gamma_16_from_1[((w&0xff) >> gamma_shift)][w >> in png_do_compose()
4185 w = gamma_16_from_1[((w&0xff) >> gamma_shift)][w >> in png_do_compose()
4194 w = gamma_16_from_1[((w&0xff) >> gamma_shift)][w >> in png_do_compose()
4498 PNG_CONST png_uint_16pp table = png_ptr->gamma_16_from_1; in png_do_encode_alpha()
Dpngstruct.h296 png_uint_16pp gamma_16_from_1; /* converts from 1.0 to screen */ member
Dpng.c3854 if (png_ptr->gamma_16_from_1 != NULL)
3860 png_free(png_ptr, png_ptr->gamma_16_from_1[i]);
3862 png_free(png_ptr, png_ptr->gamma_16_from_1);
3863 png_ptr->gamma_16_from_1 = NULL;
4008 png_build_16bit_table(png_ptr, &png_ptr->gamma_16_from_1, shift,
/external/libpng/
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.c4057 if (png_ptr->gamma_16_from_1 != NULL)
4063 png_free(png_ptr, png_ptr->gamma_16_from_1[i]);
4065 png_free(png_ptr, png_ptr->gamma_16_from_1);
4066 png_ptr->gamma_16_from_1 = NULL;
4210 png_build_16bit_table(png_ptr, &png_ptr->gamma_16_from_1, shift,