Searched refs:gamma_16_to_1 (Results 1 – 6 of 6) sorted by relevance
/external/libpng/ |
D | pngrtran.c | 3086 if (png_ptr->gamma_16_to_1 != NULL && png_ptr->gamma_16_from_1 != NULL) in png_do_rgb_to_gray() 3113 png_uint_16 red_1 = png_ptr->gamma_16_to_1[(red & 0xff) in png_do_rgb_to_gray() 3116 png_ptr->gamma_16_to_1[(green & 0xff) >> in png_do_rgb_to_gray() 3118 png_uint_16 blue_1 = png_ptr->gamma_16_to_1[(blue & 0xff) in png_do_rgb_to_gray() 3200 png_const_uint_16pp gamma_16_to_1 = png_ptr->gamma_16_to_1; in png_do_compose() local 3648 gamma_16_to_1 != NULL) in png_do_compose() 3677 g = gamma_16_to_1[*(sp + 1) >> gamma_shift][*sp]; in png_do_compose() 3801 gamma_16_to_1 != NULL) in png_do_compose() 3844 v = gamma_16_to_1[*(sp + 1) >> gamma_shift][*sp]; in png_do_compose() 3852 v = gamma_16_to_1[*(sp + 3) >> gamma_shift][*(sp + 2)]; in png_do_compose() [all …]
|
D | pngstruct.h | 301 png_uint_16pp gamma_16_to_1; /* converts from file to 1.0 */ member
|
D | png.c | 4181 if (png_ptr->gamma_16_to_1 != NULL) 4187 png_free(png_ptr, png_ptr->gamma_16_to_1[i]); 4189 png_free(png_ptr, png_ptr->gamma_16_to_1); 4190 png_ptr->gamma_16_to_1 = NULL; 4318 png_build_16bit_table(png_ptr, &png_ptr->gamma_16_to_1, shift,
|
/external/pdfium/third_party/libpng16/ |
D | pngrtran.c | 3083 if (png_ptr->gamma_16_to_1 != NULL && png_ptr->gamma_16_from_1 != NULL) in png_do_rgb_to_gray() 3110 png_uint_16 red_1 = png_ptr->gamma_16_to_1[(red & 0xff) in png_do_rgb_to_gray() 3113 png_ptr->gamma_16_to_1[(green & 0xff) >> in png_do_rgb_to_gray() 3115 png_uint_16 blue_1 = png_ptr->gamma_16_to_1[(blue & 0xff) in png_do_rgb_to_gray() 3197 png_const_uint_16pp gamma_16_to_1 = png_ptr->gamma_16_to_1; in png_do_compose() local 3640 gamma_16_to_1 != NULL) in png_do_compose() 3669 g = gamma_16_to_1[*(sp + 1) >> gamma_shift][*sp]; in png_do_compose() 3793 gamma_16_to_1 != NULL) in png_do_compose() 3836 v = gamma_16_to_1[*(sp + 1) >> gamma_shift][*sp]; in png_do_compose() 3844 v = gamma_16_to_1[*(sp + 3) >> gamma_shift][*(sp + 2)]; in png_do_compose() [all …]
|
D | pngstruct.h | 301 png_uint_16pp gamma_16_to_1; /* converts from file to 1.0 */ member
|
D | png.c | 4103 if (png_ptr->gamma_16_to_1 != NULL) 4109 png_free(png_ptr, png_ptr->gamma_16_to_1[i]); 4111 png_free(png_ptr, png_ptr->gamma_16_to_1); 4112 png_ptr->gamma_16_to_1 = NULL; 4238 png_build_16bit_table(png_ptr, &png_ptr->gamma_16_to_1, shift,
|