Searched refs:PNG_GAMMA_THRESHOLD (Results 1 – 7 of 7) sorted by relevance
479 #ifndef PNG_GAMMA_THRESHOLD480 # define PNG_GAMMA_THRESHOLD 0.05 macro
559 if ((fabs(scrn_gamma * file_gamma - 1.0) > PNG_GAMMA_THRESHOLD) || in png_set_gamma()913 < PNG_GAMMA_THRESHOLD)) in png_init_read_transformations()977 if ( fabs(gs - 1.0) < PNG_GAMMA_THRESHOLD) in png_init_read_transformations()2650 || fabs(g - 1.0) < PNG_GAMMA_THRESHOLD) in png_correct_palette()
483 #ifndef PNG_GAMMA_THRESHOLD484 # define PNG_GAMMA_THRESHOLD 0.05 macro
80 ((png_fixed_point)(PNG_GAMMA_THRESHOLD * PNG_FP_1))
99 ((png_fixed_point)(PNG_GAMMA_THRESHOLD * PNG_FP_1))7932 if (fabs(vi->screen_gamma-1) < PNG_GAMMA_THRESHOLD) in init_validate_info()7965 if (fabs(bg_inverse-1) >= PNG_GAMMA_THRESHOLD) in init_validate_info()7985 if (fabs(vi->gamma_correction-1) < PNG_GAMMA_THRESHOLD) in init_validate_info()7989 if (fabs(vi->file_inverse-1) < PNG_GAMMA_THRESHOLD) in init_validate_info()9170 fabs(pm->gammas[j]/pm->gammas[i]-1) >= PNG_GAMMA_THRESHOLD) in perform_gamma_scale16_tests()9286 fabs(bg*screen_gamma-1) > PNG_GAMMA_THRESHOLD) in gamma_composition_test()
1460 #define PNG_GAMMA_THRESHOLD (PNG_GAMMA_THRESHOLD_FIXED*.00001) macro