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

/external/libpng/contrib/pngminus/
H A Dpng2pnm.c277 if (png_get_gAMA (png_ptr, info_ptr, &file_gamma))
278 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.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/pdfium/third_party/lpng_v163/
H A Dpngget.c646 png_fixed_point *file_gamma)
652 file_gamma != NULL)
654 *file_gamma = info_ptr->colorspace.gamma;
665 double *file_gamma)
671 file_gamma != NULL)
673 *file_gamma = png_float(png_ptr, info_ptr->colorspace.gamma,
645 png_get_gAMA_fixed(png_const_structrp png_ptr, png_const_inforp info_ptr, png_fixed_point *file_gamma) argument
664 png_get_gAMA(png_const_structrp png_ptr, png_const_inforp info_ptr, double *file_gamma) argument
H A Dpngset.c138 png_fixed_point file_gamma)
145 png_colorspace_set_gamma(png_ptr, &info_ptr->colorspace, file_gamma);
151 png_set_gAMA(png_const_structrp png_ptr, png_inforp info_ptr, double file_gamma) argument
153 png_set_gAMA_fixed(png_ptr, info_ptr, png_fixed(png_ptr, file_gamma,
137 png_set_gAMA_fixed(png_const_structrp png_ptr, png_inforp info_ptr, png_fixed_point file_gamma) argument
H A Dpngrtran.c277 png_fixed_point file_gamma; local
298 file_gamma = png_reciprocal(output_gamma);
355 png_ptr->colorspace.gamma = file_gamma;
800 png_fixed_point file_gamma)
809 file_gamma = translate_gamma_flags(png_ptr, file_gamma, 0/*file*/);
822 if (file_gamma <= 0)
832 png_ptr->colorspace.gamma = file_gamma;
839 png_set_gamma(png_structrp png_ptr, double scrn_gamma, double file_gamma) argument
842 convert_gamma_value(png_ptr, file_gamma));
799 png_set_gamma_fixed(png_structrp png_ptr, png_fixed_point scrn_gamma, png_fixed_point file_gamma) argument
1074 png_gamma_threshold(png_fixed_point screen_gamma, png_fixed_point file_gamma) argument
[all...]
H A Dpng.h1779 * API (floating point or fixed.) Notice, however, that the 'file_gamma' value
2437 png_const_inforp info_ptr, double *file_gamma))
2445 png_inforp info_ptr, double file_gamma))
H A Dpngwutil.c1155 png_write_gAMA_fixed(png_structrp png_ptr, png_fixed_point file_gamma) argument
1161 /* file_gamma is saved in 1/100,000ths */
1162 png_save_uint_32(buf, (png_uint_32)file_gamma);
H A Dpngpriv.h983 png_fixed_point file_gamma),PNG_EMPTY);
/external/opencv3/3rdparty/libpng/
H A Dpngget.c628 png_fixed_point *file_gamma)
633 && file_gamma != NULL)
635 *file_gamma = info_ptr->gamma;
644 double *file_gamma)
650 *file_gamma = png_float(png_ptr, igamma, "png_get_gAMA");
627 png_get_gAMA_fixed(png_const_structp png_ptr, png_const_infop info_ptr, png_fixed_point *file_gamma) argument
643 png_get_gAMA(png_const_structp png_ptr, png_const_infop info_ptr, double *file_gamma) argument
H A Dpngset.c140 file_gamma)
155 if (file_gamma < 16 || file_gamma > 625000000)
160 info_ptr->gamma = file_gamma;
167 png_set_gAMA(png_structp png_ptr, png_infop info_ptr, double file_gamma) argument
169 png_set_gAMA_fixed(png_ptr, info_ptr, png_fixed(png_ptr, file_gamma,
139 png_set_gAMA_fixed(png_structp png_ptr, png_infop info_ptr, png_fixed_point file_gamma) argument
H A Dpngrtran.c247 png_fixed_point file_gamma; local
268 file_gamma = png_reciprocal(output_gamma);
324 png_ptr->gamma = file_gamma;
770 png_fixed_point file_gamma)
779 file_gamma = translate_gamma_flags(png_ptr, file_gamma, 0/*file*/);
792 if (file_gamma <= 0)
803 png_ptr->gamma = file_gamma;
809 png_set_gamma(png_structp png_ptr, double scrn_gamma, double file_gamma) argument
812 convert_gamma_value(png_ptr, file_gamma));
769 png_set_gamma_fixed(png_structp png_ptr, png_fixed_point scrn_gamma, png_fixed_point file_gamma) argument
1052 png_gamma_threshold(png_fixed_point screen_gamma, png_fixed_point file_gamma) argument
[all...]
H A Dpngpriv.h824 PNG_EXTERN void png_write_gAMA PNGARG((png_structp png_ptr, double file_gamma));
828 png_fixed_point file_gamma));
H A Dpng.h1503 * API (floating point or fixed.) Notice, however, that the 'file_gamma' value
2140 double *file_gamma));
2148 png_infop info_ptr, double file_gamma));
H A Dpngwutil.c1062 png_write_gAMA_fixed(png_structp png_ptr, png_fixed_point file_gamma) argument
1068 /* file_gamma is saved in 1/100,000ths */
1069 png_save_uint_32(buf, (png_uint_32)file_gamma);
/external/libpng/contrib/libtests/
H A Dpngvalid.c8841 double file_gamma; member in struct:gamma_display
8862 double file_gamma, double screen_gamma, png_byte sbit, int threshold_test,
8873 dp->file_gamma = file_gamma;
8950 png_set_gamma(pp, sg, dp->file_gamma);
8952 png_fixed_point f = fix(dp->file_gamma);
8966 png_set_gamma(pp, dp->screen_gamma, dp->file_gamma);
8970 png_fixed_point f = fix(dp->file_gamma);
9133 vi->gamma_correction = 1/(dp->file_gamma*dp->screen_gamma);
9137 vi->file_inverse = 1/dp->file_gamma;
8861 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
10180 gamma_threshold_test(png_modifier *pm, png_byte colour_type, png_byte bit_depth, int interlace_type, double file_gamma, double screen_gamma) argument
10236 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
10397 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...]

Completed in 259 milliseconds