Home
last modified time | relevance | path

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

/external/libpng/
Dpngget.c647 png_fixed_point *file_gamma) in png_get_gAMA_fixed() argument
653 file_gamma != NULL) in png_get_gAMA_fixed()
655 *file_gamma = info_ptr->colorspace.gamma; in png_get_gAMA_fixed()
666 double *file_gamma) in png_get_gAMA() argument
672 file_gamma != NULL) in png_get_gAMA()
674 *file_gamma = png_float(png_ptr, info_ptr->colorspace.gamma, in png_get_gAMA()
Dpngrtran.c278 png_fixed_point file_gamma; in png_set_alpha_mode_fixed() local
299 file_gamma = png_reciprocal(output_gamma); in png_set_alpha_mode_fixed()
356 png_ptr->colorspace.gamma = file_gamma; in png_set_alpha_mode_fixed()
801 png_fixed_point file_gamma) in png_set_gamma_fixed() argument
810 file_gamma = translate_gamma_flags(png_ptr, file_gamma, 0/*file*/); in png_set_gamma_fixed()
823 if (file_gamma <= 0) in png_set_gamma_fixed()
833 png_ptr->colorspace.gamma = file_gamma; in png_set_gamma_fixed()
840 png_set_gamma(png_structrp png_ptr, double scrn_gamma, double file_gamma) in png_set_gamma() argument
843 convert_gamma_value(png_ptr, file_gamma)); in png_set_gamma()
1075 png_gamma_threshold(png_fixed_point screen_gamma, png_fixed_point file_gamma) in png_gamma_threshold() argument
[all …]
Dpngset.c139 png_fixed_point file_gamma) in png_set_gAMA_fixed() argument
146 png_colorspace_set_gamma(png_ptr, &info_ptr->colorspace, file_gamma); in png_set_gAMA_fixed()
152 png_set_gAMA(png_const_structrp png_ptr, png_inforp info_ptr, double file_gamma) in png_set_gAMA() argument
154 png_set_gAMA_fixed(png_ptr, info_ptr, png_fixed(png_ptr, file_gamma, in png_set_gAMA()
Dpng.h2147 png_const_inforp info_ptr, double *file_gamma))
2155 png_inforp info_ptr, double file_gamma))
Dpngwutil.c1156 png_write_gAMA_fixed(png_structrp png_ptr, png_fixed_point file_gamma) in png_write_gAMA_fixed() argument
1163 png_save_uint_32(buf, (png_uint_32)file_gamma); in png_write_gAMA_fixed()
Dpngpriv.h1036 png_fixed_point file_gamma),PNG_EMPTY);
Dlibpng-manual.txt1349 png_get_gAMA(png_ptr, info_ptr, &file_gamma);
1352 file_gamma - the gamma at which the file is
1992 if (png_get_gAMA(png_ptr, info_ptr, &file_gamma))
1993 png_set_gamma(png_ptr, screen_gamma, file_gamma);
2957 png_set_gAMA(png_ptr, info_ptr, file_gamma);
2960 file_gamma - the gamma at which the image was
DCHANGES218 Changed recommendation about file_gamma for PC images to .51 from .45,
232 Changed recommendation about file_gamma for PC images to .50 from .51 in
233 example.c and libpng.txt, and changed file_gamma for sRGB images to .45
3226 argument names file_gamma, int_file_gamma, and srgb_intent consistently.
/external/libpng/contrib/pngminus/
Dpng2pnm.c272 if (png_get_gAMA (png_ptr, info_ptr, &file_gamma)) in png2pnm()
273 png_set_gamma (png_ptr, (double) 2.2, file_gamma); in png2pnm()
/external/qemu/distrib/libpng-1.2.46/
Dpngset.c116 png_set_gAMA(png_structp png_ptr, png_infop info_ptr, double file_gamma) in png_set_gAMA() argument
126 if (file_gamma > 21474.83) in png_set_gAMA()
132 png_gamma = file_gamma; in png_set_gAMA()
526 float file_gamma; in png_set_sRGB_gAMA_and_cHRM() local
548 file_gamma = (float).45455; in png_set_sRGB_gAMA_and_cHRM()
549 png_set_gAMA(png_ptr, info_ptr, file_gamma); in png_set_sRGB_gAMA_and_cHRM()
Dpngget.c475 png_get_gAMA(png_structp png_ptr, png_infop info_ptr, double *file_gamma) in png_get_gAMA() argument
480 && file_gamma != NULL) in png_get_gAMA()
482 *file_gamma = (double)info_ptr->gamma; in png_get_gAMA()
Dpngwutil.c712 png_write_gAMA(png_structp png_ptr, double file_gamma) in png_write_gAMA() argument
723 igamma = (png_uint_32)(file_gamma * 100000.0 + 0.5); in png_write_gAMA()
730 png_write_gAMA_fixed(png_structp png_ptr, png_fixed_point file_gamma) in png_write_gAMA_fixed() argument
740 png_save_uint_32(buf, (png_uint_32)file_gamma); in png_write_gAMA_fixed()
Dpngrutil.c699 float file_gamma; in png_handle_gAMA() local
762 file_gamma = (float)igamma / (float)100000.0; in png_handle_gAMA()
764 png_ptr->gamma = file_gamma; in png_handle_gAMA()
766 png_set_gAMA(png_ptr, info_ptr, file_gamma); in png_handle_gAMA()
Dpng.h2445 png_infop info_ptr, double *file_gamma));
2454 png_infop info_ptr, double file_gamma));
3334 PNG_EXTERN void png_write_gAMA PNGARG((png_structp png_ptr, double file_gamma))
3339 png_fixed_point file_gamma)) PNG_PRIVATE;
Dpngrtran.c552 png_set_gamma(png_structp png_ptr, double scrn_gamma, double file_gamma) in png_set_gamma() argument
559 if ((fabs(scrn_gamma * file_gamma - 1.0) > PNG_GAMMA_THRESHOLD) || in png_set_gamma()
563 png_ptr->gamma = (float)file_gamma; in png_set_gamma()
/external/chromium_org/third_party/libpng/
Dpngset.c116 png_set_gAMA(png_structp png_ptr, png_infop info_ptr, double file_gamma) in png_set_gAMA() argument
126 if (file_gamma > 21474.83) in png_set_gAMA()
132 png_gamma = file_gamma; in png_set_gAMA()
526 float file_gamma; in png_set_sRGB_gAMA_and_cHRM() local
548 file_gamma = (float).45455; in png_set_sRGB_gAMA_and_cHRM()
549 png_set_gAMA(png_ptr, info_ptr, file_gamma); in png_set_sRGB_gAMA_and_cHRM()
Dpngget.c475 png_get_gAMA(png_structp png_ptr, png_infop info_ptr, double *file_gamma) in png_get_gAMA() argument
480 && file_gamma != NULL) in png_get_gAMA()
482 *file_gamma = (double)info_ptr->gamma; in png_get_gAMA()
Dpngwutil.c712 png_write_gAMA(png_structp png_ptr, double file_gamma) in png_write_gAMA() argument
723 igamma = (png_uint_32)(file_gamma * 100000.0 + 0.5); in png_write_gAMA()
730 png_write_gAMA_fixed(png_structp png_ptr, png_fixed_point file_gamma) in png_write_gAMA_fixed() argument
740 png_save_uint_32(buf, (png_uint_32)file_gamma); in png_write_gAMA_fixed()
Dpngrutil.c683 float file_gamma; in png_handle_gAMA() local
746 file_gamma = (float)igamma / (float)100000.0; in png_handle_gAMA()
748 png_ptr->gamma = file_gamma; in png_handle_gAMA()
750 png_set_gAMA(png_ptr, info_ptr, file_gamma); in png_handle_gAMA()
Dpng.h2373 png_infop info_ptr, double *file_gamma));
2382 png_infop info_ptr, double file_gamma));
3250 PNG_EXTERN void png_write_gAMA PNGARG((png_structp png_ptr, double file_gamma))
3255 png_fixed_point file_gamma)) PNG_PRIVATE;
Dpngrtran.c552 png_set_gamma(png_structp png_ptr, double scrn_gamma, double file_gamma) in png_set_gamma() argument
559 if ((fabs(scrn_gamma * file_gamma - 1.0) > PNG_GAMMA_THRESHOLD) || in png_set_gamma()
563 png_ptr->gamma = (float)file_gamma; in png_set_gamma()
/external/libpng/contrib/libtests/
Dpngvalid.c7694 double file_gamma; member
7715 double file_gamma, double screen_gamma, png_byte sbit, int threshold_test, in gamma_display_init() argument
7726 dp->file_gamma = file_gamma; in gamma_display_init()
7803 png_set_gamma(pp, sg, dp->file_gamma); in gamma_info_imp()
7805 png_fixed_point f = fix(dp->file_gamma); in gamma_info_imp()
7819 png_set_gamma(pp, dp->screen_gamma, dp->file_gamma); in gamma_info_imp()
7823 png_fixed_point f = fix(dp->file_gamma); in gamma_info_imp()
7984 vi->gamma_correction = 1/(dp->file_gamma*dp->screen_gamma); in init_validate_info()
7988 vi->file_inverse = 1/dp->file_gamma; in init_validate_info()
8876 d.pm->current_gamma = d.file_gamma; in gamma_test()
[all …]