Home
last modified time | relevance | path

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

/third_party/skia/third_party/externals/libpng/
Dpngrtran.c3094 if (png_ptr->gamma_16_to_1 != NULL && png_ptr->gamma_16_from_1 != NULL) in png_do_rgb_to_gray()
3130 w = png_ptr->gamma_16_from_1[(gray16 & 0xff) >> in png_do_rgb_to_gray()
3207 png_const_uint_16pp gamma_16_from_1 = png_ptr->gamma_16_from_1; in png_do_compose() local
3654 if (gamma_16 != NULL && gamma_16_from_1 != NULL && in png_do_compose()
3689 w = gamma_16_from_1[(v & 0xff) >> in png_do_compose()
3807 if (gamma_16 != NULL && gamma_16_from_1 != NULL && in png_do_compose()
3854 w = gamma_16_from_1[((w & 0xff) >> gamma_shift)][w >> in png_do_compose()
3862 w = gamma_16_from_1[((w & 0xff) >> gamma_shift)][w >> in png_do_compose()
3871 w = gamma_16_from_1[((w & 0xff) >> gamma_shift)][w >> in png_do_compose()
4173 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.c4164 if (png_ptr->gamma_16_from_1 != NULL)
4170 png_free(png_ptr, png_ptr->gamma_16_from_1[i]);
4172 png_free(png_ptr, png_ptr->gamma_16_from_1);
4173 png_ptr->gamma_16_from_1 = NULL;
4319 png_build_16bit_table(png_ptr, &png_ptr->gamma_16_from_1, shift,