Home
last modified time | relevance | path

Searched refs:output_gamma (Results 1 – 9 of 9) sorted by relevance

/external/libpng/
Dpngrtran.c212 translate_gamma_flags(png_structrp png_ptr, png_fixed_point output_gamma, in translate_gamma_flags() argument
220 if (output_gamma == PNG_DEFAULT_sRGB || in translate_gamma_flags()
221 output_gamma == PNG_FP_1 / PNG_DEFAULT_sRGB) in translate_gamma_flags()
232 output_gamma = PNG_GAMMA_sRGB; in translate_gamma_flags()
234 output_gamma = PNG_GAMMA_sRGB_INVERSE; in translate_gamma_flags()
237 else if (output_gamma == PNG_GAMMA_MAC_18 || in translate_gamma_flags()
238 output_gamma == PNG_FP_1 / PNG_GAMMA_MAC_18) in translate_gamma_flags()
241 output_gamma = PNG_GAMMA_MAC_OLD; in translate_gamma_flags()
243 output_gamma = PNG_GAMMA_MAC_INVERSE; in translate_gamma_flags()
246 return output_gamma; in translate_gamma_flags()
[all …]
Dpngread.c3691 png_fixed_point output_gamma; in png_image_read_direct() local
3754 output_gamma = PNG_GAMMA_LINEAR; in png_image_read_direct()
3760 output_gamma = PNG_DEFAULT_sRGB; in png_image_read_direct()
3784 if (png_muldiv(&gtest, output_gamma, png_ptr->colorspace.gamma, in png_image_read_direct()
3902 png_set_alpha_mode_fixed(png_ptr, mode, output_gamma); in png_image_read_direct()
Dpng.h1169 double output_gamma))
1171 int mode, png_fixed_point output_gamma))
Dlibpng-manual.txt724 png_set_gamma(png_ptr, screen_gamma, output_gamma);
729 PNG_FP_1*output_gamma);
758 The output_gamma value expresses how to decode the output values, not how
773 encoding is set to be linear and the output_gamma value is only relevant
/external/pdfium/third_party/libpng16/
Dpngrtran.c211 translate_gamma_flags(png_structrp png_ptr, png_fixed_point output_gamma, in translate_gamma_flags() argument
219 if (output_gamma == PNG_DEFAULT_sRGB || in translate_gamma_flags()
220 output_gamma == PNG_FP_1 / PNG_DEFAULT_sRGB) in translate_gamma_flags()
231 output_gamma = PNG_GAMMA_sRGB; in translate_gamma_flags()
233 output_gamma = PNG_GAMMA_sRGB_INVERSE; in translate_gamma_flags()
236 else if (output_gamma == PNG_GAMMA_MAC_18 || in translate_gamma_flags()
237 output_gamma == PNG_FP_1 / PNG_GAMMA_MAC_18) in translate_gamma_flags()
240 output_gamma = PNG_GAMMA_MAC_OLD; in translate_gamma_flags()
242 output_gamma = PNG_GAMMA_MAC_INVERSE; in translate_gamma_flags()
245 return output_gamma; in translate_gamma_flags()
[all …]
Dpngread.c3678 png_fixed_point output_gamma; in png_image_read_direct() local
3741 output_gamma = PNG_GAMMA_LINEAR; in png_image_read_direct()
3747 output_gamma = PNG_DEFAULT_sRGB; in png_image_read_direct()
3765 if (png_muldiv(&gtest, output_gamma, png_ptr->colorspace.gamma, in png_image_read_direct()
3883 png_set_alpha_mode_fixed(png_ptr, mode, output_gamma); in png_image_read_direct()
Dpng.h1173 double output_gamma))
1175 int mode, png_fixed_point output_gamma))
/external/libjpeg-turbo/
Djdapimin.c202 cinfo->output_gamma = 1.0; in default_decompress_parms()
Djpeglib.h495 double output_gamma; /* image gamma wanted in output */ member