Lines Matching refs:screen_gamma
366 png_ptr->screen_gamma = output_gamma; in png_set_alpha_mode_fixed()
842 png_ptr->screen_gamma = scrn_gamma; in png_set_gamma_fixed()
1081 png_gamma_threshold(png_fixed_point screen_gamma, png_fixed_point file_gamma) in png_gamma_threshold() argument
1091 return !png_muldiv(>est, screen_gamma, file_gamma, PNG_FP_1) || in png_gamma_threshold()
1307 if (png_ptr->screen_gamma != 0) /* screen set too */ in png_init_read_transformations()
1309 png_ptr->screen_gamma); in png_init_read_transformations()
1315 png_ptr->screen_gamma = png_reciprocal(png_ptr->colorspace.gamma); in png_init_read_transformations()
1318 else if (png_ptr->screen_gamma != 0) in png_init_read_transformations()
1324 png_ptr->colorspace.gamma = png_reciprocal(png_ptr->screen_gamma); in png_init_read_transformations()
1332 png_ptr->screen_gamma = png_ptr->colorspace.gamma = PNG_FP_1; in png_init_read_transformations()
1410 if (png_gamma_significant(png_ptr->screen_gamma) == 0) in png_init_read_transformations()
1566 png_gamma_significant(png_ptr->screen_gamma) != 0)) || in png_init_read_transformations()
1569 png_gamma_significant(png_ptr->screen_gamma) != 0 in png_init_read_transformations()
1575 png_gamma_significant(png_ptr->screen_gamma) != 0)) in png_init_read_transformations()
1619 g = (png_ptr->screen_gamma); in png_init_read_transformations()
1626 png_ptr->screen_gamma); in png_init_read_transformations()
1632 png_ptr->screen_gamma); in png_init_read_transformations()
1728 g = png_ptr->screen_gamma; in png_init_read_transformations()
1735 png_ptr->screen_gamma); in png_init_read_transformations()
1741 png_ptr->screen_gamma); in png_init_read_transformations()