Searched refs:file_gamma (Results 1 - 22 of 22) sorted by relevance

/external/honggfuzz/examples/libpng/
H A Dpersistent-png.c117 double file_gamma; local
125 ret = png_get_gAMA(png_ptr, info_ptr, &file_gamma);
/external/libpng/contrib/pngminus/
H A Dpng2pnm.c290 if (png_get_gAMA (png_ptr, info_ptr, &file_gamma))
291 png_set_gamma (png_ptr, (double) 2.2, file_gamma);
/external/libpng/
H A Dpngget.c679 png_fixed_point *file_gamma)
685 file_gamma != NULL)
687 *file_gamma = info_ptr->colorspace.gamma;
698 double *file_gamma)
704 file_gamma != NULL)
706 *file_gamma = png_float(png_ptr, info_ptr->colorspace.gamma,
678 png_get_gAMA_fixed(png_const_structrp png_ptr, png_const_inforp info_ptr, png_fixed_point *file_gamma) argument
697 png_get_gAMA(png_const_structrp png_ptr, png_const_inforp info_ptr, double *file_gamma) argument
H A Dpngset.c187 png_fixed_point file_gamma)
194 png_colorspace_set_gamma(png_ptr, &info_ptr->colorspace, file_gamma);
200 png_set_gAMA(png_const_structrp png_ptr, png_inforp info_ptr, double file_gamma) argument
202 png_set_gAMA_fixed(png_ptr, info_ptr, png_fixed(png_ptr, file_gamma,
186 png_set_gAMA_fixed(png_const_structrp png_ptr, png_inforp info_ptr, png_fixed_point file_gamma) argument
H A Dpngrtran.c280 png_fixed_point file_gamma; local
304 file_gamma = png_reciprocal(output_gamma);
361 png_ptr->colorspace.gamma = file_gamma;
808 png_fixed_point file_gamma)
817 file_gamma = translate_gamma_flags(png_ptr, file_gamma, 0/*file*/);
830 if (file_gamma <= 0)
840 png_ptr->colorspace.gamma = file_gamma;
847 png_set_gamma(png_structrp png_ptr, double scrn_gamma, double file_gamma) argument
850 convert_gamma_value(png_ptr, file_gamma));
807 png_set_gamma_fixed(png_structrp png_ptr, png_fixed_point scrn_gamma, png_fixed_point file_gamma) argument
1081 png_gamma_threshold(png_fixed_point screen_gamma, png_fixed_point file_gamma) argument
[all...]
H A Dpng.h1378 * API (floating point or fixed.) Notice, however, that the 'file_gamma' value
2026 png_const_inforp info_ptr, double *file_gamma))
2034 png_inforp info_ptr, double file_gamma))
H A Dpngwutil.c1085 png_write_gAMA_fixed(png_structrp png_ptr, png_fixed_point file_gamma) argument
1091 /* file_gamma is saved in 1/100,000ths */
1092 png_save_uint_32(buf, (png_uint_32)file_gamma);
H A Dpngpriv.h1127 png_fixed_point file_gamma),PNG_EMPTY);
/external/pdfium/third_party/libpng16/
H A Dpngget.c679 png_fixed_point *file_gamma)
685 file_gamma != NULL)
687 *file_gamma = info_ptr->colorspace.gamma;
698 double *file_gamma)
704 file_gamma != NULL)
706 *file_gamma = png_float(png_ptr, info_ptr->colorspace.gamma,
678 png_get_gAMA_fixed(png_const_structrp png_ptr, png_const_inforp info_ptr, png_fixed_point *file_gamma) argument
697 png_get_gAMA(png_const_structrp png_ptr, png_const_inforp info_ptr, double *file_gamma) argument
H A Dpngset.c140 png_fixed_point file_gamma)
147 png_colorspace_set_gamma(png_ptr, &info_ptr->colorspace, file_gamma);
153 png_set_gAMA(png_const_structrp png_ptr, png_inforp info_ptr, double file_gamma) argument
155 png_set_gAMA_fixed(png_ptr, info_ptr, png_fixed(png_ptr, file_gamma,
139 png_set_gAMA_fixed(png_const_structrp png_ptr, png_inforp info_ptr, png_fixed_point file_gamma) argument
H A Dpngrtran.c279 png_fixed_point file_gamma; local
303 file_gamma = png_reciprocal(output_gamma);
360 png_ptr->colorspace.gamma = file_gamma;
805 png_fixed_point file_gamma)
814 file_gamma = translate_gamma_flags(png_ptr, file_gamma, 0/*file*/);
827 if (file_gamma <= 0)
837 png_ptr->colorspace.gamma = file_gamma;
844 png_set_gamma(png_structrp png_ptr, double scrn_gamma, double file_gamma) argument
847 convert_gamma_value(png_ptr, file_gamma));
804 png_set_gamma_fixed(png_structrp png_ptr, png_fixed_point scrn_gamma, png_fixed_point file_gamma) argument
1078 png_gamma_threshold(png_fixed_point screen_gamma, png_fixed_point file_gamma) argument
[all...]
H A Dpng.h1382 * API (floating point or fixed.) Notice, however, that the 'file_gamma' value
2017 png_const_inforp info_ptr, double *file_gamma))
2025 png_inforp info_ptr, double file_gamma))
H A Dpngwutil.c1078 png_write_gAMA_fixed(png_structrp png_ptr, png_fixed_point file_gamma) argument
1084 /* file_gamma is saved in 1/100,000ths */
1085 png_save_uint_32(buf, (png_uint_32)file_gamma);
H A Dpngpriv.h1053 png_fixed_point file_gamma),PNG_EMPTY);
/external/syslinux/com32/lib/libpng/
H A Dpngset.c116 png_set_gAMA(png_structp png_ptr, png_infop info_ptr, double file_gamma) argument
126 if (file_gamma > 21474.83)
132 png_gamma = file_gamma;
526 float file_gamma; local
548 file_gamma = (float).45455;
549 png_set_gAMA(png_ptr, info_ptr, file_gamma);
H A Dpngget.c475 png_get_gAMA(png_structp png_ptr, png_infop info_ptr, double *file_gamma) argument
480 && file_gamma != NULL)
482 *file_gamma = (double)info_ptr->gamma;
H A Dpngrutil.c676 float file_gamma; local
739 file_gamma = (float)igamma / (float)100000.0;
741 png_ptr->gamma = file_gamma;
743 png_set_gAMA(png_ptr, info_ptr, file_gamma);
H A Dpngwutil.c712 png_write_gAMA(png_structp png_ptr, double file_gamma) argument
722 /* file_gamma is saved in 1/100,000ths */
723 igamma = (png_uint_32)(file_gamma * 100000.0 + 0.5);
730 png_write_gAMA_fixed(png_structp png_ptr, png_fixed_point file_gamma) argument
739 /* file_gamma is saved in 1/100,000ths */
740 png_save_uint_32(buf, (png_uint_32)file_gamma);
H A Dpngrtran.c542 /* Transform the image from the file_gamma to the screen_gamma. We
543 * only do transformations on images where the file_gamma and screen_gamma
552 png_set_gamma(png_structp png_ptr, double scrn_gamma, double file_gamma) argument
559 if ((fabs(scrn_gamma * file_gamma - 1.0) > PNG_GAMMA_THRESHOLD) ||
563 png_ptr->gamma = (float)file_gamma;
4149 * the file_gamma is known (i.e., the gAMA or sRGB chunk is present,
4150 * or the application has provided a file_gamma)
4163 * file_gamma by more than the specified threshold
4167 * a background color has been specified and the file_gamma
/external/libpng/contrib/libtests/
H A Dpngvalid.c9214 double file_gamma; member in struct:gamma_display
9235 double file_gamma, double screen_gamma, png_byte sbit, int threshold_test,
9246 dp->file_gamma = file_gamma;
9323 png_set_gamma(pp, sg, dp->file_gamma);
9325 png_fixed_point f = fix(dp->file_gamma);
9339 png_set_gamma(pp, dp->screen_gamma, dp->file_gamma);
9343 png_fixed_point f = fix(dp->file_gamma);
9506 vi->gamma_correction = 1/(dp->file_gamma*dp->screen_gamma);
9510 vi->file_inverse = 1/dp->file_gamma;
9234 gamma_display_init(gamma_display *dp, png_modifier *pm, png_uint_32 id, double file_gamma, double screen_gamma, png_byte sbit, int threshold_test, int use_input_precision, int scale16, int expand16, int do_background, const png_color_16 *pointer_to_the_background_color, double background_gamma) argument
10553 gamma_threshold_test(png_modifier *pm, png_byte colour_type, png_byte bit_depth, int interlace_type, double file_gamma, double screen_gamma) argument
10609 gamma_transform_test(png_modifier *pm, const png_byte colour_type, const png_byte bit_depth, const int palette_number, const int interlace_type, const double file_gamma, const double screen_gamma, const png_byte sbit, const int use_input_precision, const int scale16) argument
10770 gamma_composition_test(png_modifier *pm, const png_byte colour_type, const png_byte bit_depth, const int palette_number, const int interlace_type, const double file_gamma, const double screen_gamma, const int use_input_precision, const int do_background, const int expand_16) argument
[all...]
/external/syslinux/com32/include/
H A Dpng.h2368 png_infop info_ptr, double *file_gamma));
2377 png_infop info_ptr, double file_gamma));
3245 PNG_EXTERN void png_write_gAMA PNGARG((png_structp png_ptr, double file_gamma))
3250 png_fixed_point file_gamma)) PNG_PRIVATE;
/external/ImageMagick/coders/
H A Dpng.c1948 file_gamma;
2590 if (!png_get_gAMA(ping,ping_info,&file_gamma))
2594 if (png_get_gAMA(ping,ping_info,&file_gamma))
2596 image->gamma=(float) file_gamma;
2599 " Reading PNG gAMA chunk: gamma: %f",file_gamma);
2664 file_gamma=1.000f/2.200f;
3888 file_gamma);
1941 file_gamma; local

Completed in 751 milliseconds