Home
last modified time | relevance | path

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

/external/pdfium/samples/fx_lpng/lpng_v163/
Dfx_pngrtran.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
Dfx_png.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.c3079 if (png_ptr->gamma_16_to_1 != NULL && png_ptr->gamma_16_from_1 != NULL) in png_do_rgb_to_gray()
3114 w = png_ptr->gamma_16_from_1[(gray16&0xff) >> in png_do_rgb_to_gray()
3190 png_const_uint_16pp gamma_16_from_1 = png_ptr->gamma_16_from_1; in png_do_compose() local
3633 if (gamma_16 != NULL && gamma_16_from_1 != NULL && in png_do_compose()
3668 w = gamma_16_from_1[(v&0xff) >> gamma_shift][v >> 8]; in png_do_compose()
3785 if (gamma_16 != NULL && gamma_16_from_1 != NULL && in png_do_compose()
3832 w = gamma_16_from_1[((w&0xff) >> gamma_shift)][w >> in png_do_compose()
3840 w = gamma_16_from_1[((w&0xff) >> gamma_shift)][w >> in png_do_compose()
3849 w = gamma_16_from_1[((w&0xff) >> gamma_shift)][w >> in png_do_compose()
4153 PNG_CONST png_uint_16pp table = png_ptr->gamma_16_from_1; in png_do_encode_alpha()
Dpngstruct.h343 png_uint_16pp gamma_16_from_1; /* converts from 1.0 to screen */ member
Dpng.c3967 if (png_ptr->gamma_16_from_1 != NULL)
3973 png_free(png_ptr, png_ptr->gamma_16_from_1[i]);
3975 png_free(png_ptr, png_ptr->gamma_16_from_1);
3976 png_ptr->gamma_16_from_1 = NULL;
4119 png_build_16bit_table(png_ptr, &png_ptr->gamma_16_from_1, shift,