Home
last modified time | relevance | path

Searched refs:file_gamma (Results 1 – 18 of 18) sorted by relevance

/external/honggfuzz/examples/libpng/
Dpersistent-png.c113 double file_gamma; in LLVMFuzzerTestOneInput() local
122 ret = png_get_gAMA(png_ptr, info_ptr, &file_gamma); in LLVMFuzzerTestOneInput()
/external/pdfium/third_party/libpng16/
Dpngget.c679 png_fixed_point *file_gamma) in png_get_gAMA_fixed() argument
685 file_gamma != NULL) in png_get_gAMA_fixed()
687 *file_gamma = info_ptr->colorspace.gamma; in png_get_gAMA_fixed()
698 double *file_gamma) in png_get_gAMA() argument
704 file_gamma != NULL) in png_get_gAMA()
706 *file_gamma = png_float(png_ptr, info_ptr->colorspace.gamma, in png_get_gAMA()
Dpngrtran.c279 png_fixed_point file_gamma; in png_set_alpha_mode_fixed() local
303 file_gamma = png_reciprocal(output_gamma); in png_set_alpha_mode_fixed()
360 png_ptr->colorspace.gamma = file_gamma; in png_set_alpha_mode_fixed()
805 png_fixed_point file_gamma) in png_set_gamma_fixed() argument
814 file_gamma = translate_gamma_flags(png_ptr, file_gamma, 0/*file*/); in png_set_gamma_fixed()
827 if (file_gamma <= 0) in png_set_gamma_fixed()
837 png_ptr->colorspace.gamma = file_gamma; in png_set_gamma_fixed()
844 png_set_gamma(png_structrp png_ptr, double scrn_gamma, double file_gamma) in png_set_gamma() argument
847 convert_gamma_value(png_ptr, file_gamma)); in png_set_gamma()
1078 png_gamma_threshold(png_fixed_point screen_gamma, png_fixed_point file_gamma) in png_gamma_threshold() argument
[all …]
Dpngset.c140 png_fixed_point file_gamma) in png_set_gAMA_fixed() argument
147 png_colorspace_set_gamma(png_ptr, &info_ptr->colorspace, file_gamma); in png_set_gAMA_fixed()
153 png_set_gAMA(png_const_structrp png_ptr, png_inforp info_ptr, double file_gamma) in png_set_gAMA() argument
155 png_set_gAMA_fixed(png_ptr, info_ptr, png_fixed(png_ptr, file_gamma, in png_set_gAMA()
Dpng.h2017 png_const_inforp info_ptr, double *file_gamma))
2025 png_inforp info_ptr, double file_gamma))
Dpngwutil.c1078 png_write_gAMA_fixed(png_structrp png_ptr, png_fixed_point file_gamma) in png_write_gAMA_fixed() argument
1085 png_save_uint_32(buf, (png_uint_32)file_gamma); in png_write_gAMA_fixed()
Dpngpriv.h1053 png_fixed_point file_gamma),PNG_EMPTY);
/external/libpng/
Dpngget.c679 png_fixed_point *file_gamma) in png_get_gAMA_fixed() argument
685 file_gamma != NULL) in png_get_gAMA_fixed()
687 *file_gamma = info_ptr->colorspace.gamma; in png_get_gAMA_fixed()
698 double *file_gamma) in png_get_gAMA() argument
704 file_gamma != NULL) in png_get_gAMA()
706 *file_gamma = png_float(png_ptr, info_ptr->colorspace.gamma, in png_get_gAMA()
Dpngrtran.c280 png_fixed_point file_gamma; in png_set_alpha_mode_fixed() local
304 file_gamma = png_reciprocal(output_gamma); in png_set_alpha_mode_fixed()
361 png_ptr->colorspace.gamma = file_gamma; in png_set_alpha_mode_fixed()
808 png_fixed_point file_gamma) in png_set_gamma_fixed() argument
817 file_gamma = translate_gamma_flags(png_ptr, file_gamma, 0/*file*/); in png_set_gamma_fixed()
830 if (file_gamma <= 0) in png_set_gamma_fixed()
840 png_ptr->colorspace.gamma = file_gamma; in png_set_gamma_fixed()
847 png_set_gamma(png_structrp png_ptr, double scrn_gamma, double file_gamma) in png_set_gamma() argument
850 convert_gamma_value(png_ptr, file_gamma)); in png_set_gamma()
1081 png_gamma_threshold(png_fixed_point screen_gamma, png_fixed_point file_gamma) in png_gamma_threshold() argument
[all …]
Dpngset.c187 png_fixed_point file_gamma) in png_set_gAMA_fixed() argument
194 png_colorspace_set_gamma(png_ptr, &info_ptr->colorspace, file_gamma); in png_set_gAMA_fixed()
200 png_set_gAMA(png_const_structrp png_ptr, png_inforp info_ptr, double file_gamma) in png_set_gAMA() argument
202 png_set_gAMA_fixed(png_ptr, info_ptr, png_fixed(png_ptr, file_gamma, in png_set_gAMA()
Dpng.h2026 png_const_inforp info_ptr, double *file_gamma))
2034 png_inforp info_ptr, double file_gamma))
Dpngwutil.c1085 png_write_gAMA_fixed(png_structrp png_ptr, png_fixed_point file_gamma) in png_write_gAMA_fixed() argument
1092 png_save_uint_32(buf, (png_uint_32)file_gamma); in png_write_gAMA_fixed()
Dpngpriv.h1127 png_fixed_point file_gamma),PNG_EMPTY);
Dlibpng-manual.txt1385 png_get_gAMA(png_ptr, info_ptr, &file_gamma);
1388 file_gamma - the gamma at which the file is
2035 if (png_get_gAMA(png_ptr, info_ptr, &file_gamma))
2036 png_set_gamma(png_ptr, screen_gamma, file_gamma);
3017 png_set_gAMA(png_ptr, info_ptr, file_gamma);
3020 file_gamma - the gamma at which the image was
DCHANGES225 Changed recommendation about file_gamma for PC images to .51 from .45,
239 Changed recommendation about file_gamma for PC images to .50 from .51 in
240 example.c and libpng.txt, and changed file_gamma for sRGB images to .45
3235 argument names file_gamma, int_file_gamma, and srgb_intent consistently.
/external/libpng/contrib/pngminus/
Dpng2pnm.c290 if (png_get_gAMA (png_ptr, info_ptr, &file_gamma)) in png2pnm()
291 png_set_gamma (png_ptr, (double) 2.2, file_gamma); in png2pnm()
/external/libpng/contrib/libtests/
Dpngvalid.c9214 double file_gamma; member
9235 double file_gamma, double screen_gamma, png_byte sbit, int threshold_test, in gamma_display_init() argument
9246 dp->file_gamma = file_gamma; in gamma_display_init()
9323 png_set_gamma(pp, sg, dp->file_gamma); in gamma_info_imp()
9325 png_fixed_point f = fix(dp->file_gamma); in gamma_info_imp()
9339 png_set_gamma(pp, dp->screen_gamma, dp->file_gamma); in gamma_info_imp()
9343 png_fixed_point f = fix(dp->file_gamma); in gamma_info_imp()
9506 vi->gamma_correction = 1/(dp->file_gamma*dp->screen_gamma); in init_validate_info()
9510 vi->file_inverse = 1/dp->file_gamma; in init_validate_info()
10429 d.pm->current_gamma = d.file_gamma; in gamma_test()
[all …]
/external/ImageMagick/coders/
Dpng.c2172 file_gamma; in ReadOnePNGImage() local
2842 if (!png_get_gAMA(ping,ping_info,&file_gamma)) in ReadOnePNGImage()
2846 if (png_get_gAMA(ping,ping_info,&file_gamma)) in ReadOnePNGImage()
2848 image->gamma=(float) file_gamma; in ReadOnePNGImage()
2851 " Reading PNG gAMA chunk: gamma: %f",file_gamma); in ReadOnePNGImage()
2916 file_gamma=0.45455f; in ReadOnePNGImage()
4172 file_gamma); in ReadOnePNGImage()