Lines Matching refs:screen_gamma
9215 double screen_gamma; member
9235 double file_gamma, double screen_gamma, png_byte sbit, int threshold_test, in gamma_display_init() argument
9247 dp->screen_gamma = screen_gamma; in gamma_display_init()
9305 const double sg = dp->screen_gamma; in gamma_info_imp()
9339 png_set_gamma(pp, dp->screen_gamma, dp->file_gamma); in gamma_info_imp()
9342 png_fixed_point s = fix(dp->screen_gamma); in gamma_info_imp()
9408 double screen_gamma; member
9451 vi->screen_gamma = dp->screen_gamma; in init_validate_info()
9452 if (fabs(vi->screen_gamma-1) < PNG_GAMMA_THRESHOLD) in init_validate_info()
9453 vi->screen_gamma = vi->screen_inverse = 0; in init_validate_info()
9455 vi->screen_inverse = 1/vi->screen_gamma; in init_validate_info()
9506 vi->gamma_correction = 1/(dp->file_gamma*dp->screen_gamma); in init_validate_info()
9687 output_is_encoded = vi->screen_gamma > 0; in gamma_component_validate()
9716 output = pow(output, vi->screen_gamma); in gamma_component_validate()
10555 double screen_gamma) in gamma_threshold_test() argument
10562 pos = safecatd(name, sizeof name, pos, screen_gamma, 3); in gamma_threshold_test()
10565 file_gamma, screen_gamma, 0/*sBIT*/, 1/*threshold test*/, name, in gamma_threshold_test()
10613 const double screen_gamma, const png_byte sbit, in gamma_transform_test() argument
10634 pos = safecatd(name, sizeof name, pos, screen_gamma, 3); in gamma_transform_test()
10637 file_gamma, screen_gamma, sbit, 0, name, use_input_precision, in gamma_transform_test()
10774 const double screen_gamma, in gamma_composition_test() argument
10793 bg = 1/screen_gamma; in gamma_composition_test()
10805 bg = (file_gamma + screen_gamma) / 3; in gamma_composition_test()
10849 fabs(bg*screen_gamma-1) > PNG_GAMMA_THRESHOLD) in gamma_composition_test()
10894 pos = safecatd(name, sizeof name, pos, screen_gamma, 3); in gamma_composition_test()
10918 file_gamma, screen_gamma, 0/*sBIT*/, 0, name, use_input_precision, in gamma_composition_test()