Home
last modified time | relevance | path

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

/external/libpng/
Dpngrtran.c223 translate_gamma_flags(png_structrp png_ptr, png_fixed_point output_gamma, in translate_gamma_flags() argument
231 if (output_gamma == PNG_DEFAULT_sRGB || in translate_gamma_flags()
232 output_gamma == PNG_FP_1 / PNG_DEFAULT_sRGB) in translate_gamma_flags()
243 output_gamma = PNG_GAMMA_sRGB; in translate_gamma_flags()
245 output_gamma = PNG_GAMMA_sRGB_INVERSE; in translate_gamma_flags()
248 else if (output_gamma == PNG_GAMMA_MAC_18 || in translate_gamma_flags()
249 output_gamma == PNG_FP_1 / PNG_GAMMA_MAC_18) in translate_gamma_flags()
252 output_gamma = PNG_GAMMA_MAC_OLD; in translate_gamma_flags()
254 output_gamma = PNG_GAMMA_MAC_INVERSE; in translate_gamma_flags()
257 return output_gamma; in translate_gamma_flags()
[all …]
Dpngread.c3697 png_fixed_point output_gamma; in png_image_read_direct() local
3760 output_gamma = PNG_GAMMA_LINEAR; in png_image_read_direct()
3766 output_gamma = PNG_DEFAULT_sRGB; in png_image_read_direct()
3790 if (png_muldiv(&gtest, output_gamma, png_ptr->colorspace.gamma, in png_image_read_direct()
3908 png_set_alpha_mode_fixed(png_ptr, mode, output_gamma); in png_image_read_direct()
Dpng.h1138 double output_gamma))
1140 int mode, png_fixed_point output_gamma))
Dlibpng-manual.txt725 png_set_gamma(png_ptr, screen_gamma, output_gamma);
730 PNG_FP_1*output_gamma);
759 The output_gamma value expresses how to decode the output values, not how
774 encoding is set to be linear and the output_gamma value is only relevant
/external/pdfium/third_party/libpng16/
Dpngrtran.c223 translate_gamma_flags(png_structrp png_ptr, png_fixed_point output_gamma, in translate_gamma_flags() argument
231 if (output_gamma == PNG_DEFAULT_sRGB || in translate_gamma_flags()
232 output_gamma == PNG_FP_1 / PNG_DEFAULT_sRGB) in translate_gamma_flags()
243 output_gamma = PNG_GAMMA_sRGB; in translate_gamma_flags()
245 output_gamma = PNG_GAMMA_sRGB_INVERSE; in translate_gamma_flags()
248 else if (output_gamma == PNG_GAMMA_MAC_18 || in translate_gamma_flags()
249 output_gamma == PNG_FP_1 / PNG_GAMMA_MAC_18) in translate_gamma_flags()
252 output_gamma = PNG_GAMMA_MAC_OLD; in translate_gamma_flags()
254 output_gamma = PNG_GAMMA_MAC_INVERSE; in translate_gamma_flags()
257 return output_gamma; in translate_gamma_flags()
[all …]
Dpngread.c3697 png_fixed_point output_gamma; in png_image_read_direct() local
3760 output_gamma = PNG_GAMMA_LINEAR; in png_image_read_direct()
3766 output_gamma = PNG_DEFAULT_sRGB; in png_image_read_direct()
3790 if (png_muldiv(&gtest, output_gamma, png_ptr->colorspace.gamma, in png_image_read_direct()
3908 png_set_alpha_mode_fixed(png_ptr, mode, output_gamma); in png_image_read_direct()
Dpng.h1138 double output_gamma))
1140 int mode, png_fixed_point output_gamma))
/external/libjpeg-turbo/
Djdapimin.c202 cinfo->output_gamma = 1.0; in default_decompress_parms()
Djpeglib.h501 double output_gamma; /* image gamma wanted in output */ member