/external/libpng/ |
D | pngget.c | 647 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()
|
D | pngrtran.c | 278 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 …]
|
D | pngset.c | 139 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()
|
D | png.h | 2147 png_const_inforp info_ptr, double *file_gamma)) 2155 png_inforp info_ptr, double file_gamma))
|
D | pngwutil.c | 1156 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()
|
D | pngpriv.h | 1036 png_fixed_point file_gamma),PNG_EMPTY);
|
D | libpng-manual.txt | 1349 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
|
D | CHANGES | 218 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/ |
D | png2pnm.c | 272 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/ |
D | pngset.c | 116 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()
|
D | pngget.c | 475 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()
|
D | pngwutil.c | 712 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()
|
D | pngrutil.c | 699 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()
|
D | png.h | 2445 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;
|
D | pngrtran.c | 552 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/ |
D | pngset.c | 116 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()
|
D | pngget.c | 475 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()
|
D | pngwutil.c | 712 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()
|
D | pngrutil.c | 683 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()
|
D | png.h | 2373 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;
|
D | pngrtran.c | 552 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/ |
D | pngvalid.c | 7694 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 …]
|