Lines Matching refs:screen_gamma
327 png_ptr->screen_gamma = output_gamma; in png_set_alpha_mode_fixed()
804 png_ptr->screen_gamma = scrn_gamma; in png_set_gamma_fixed()
1052 png_gamma_threshold(png_fixed_point screen_gamma, png_fixed_point file_gamma) in png_gamma_threshold() argument
1062 return !png_muldiv(>est, screen_gamma, file_gamma, PNG_FP_1) || in png_gamma_threshold()
1272 if (png_ptr->screen_gamma != 0) /* screen set too */ in png_init_read_transformations()
1274 png_ptr->screen_gamma); in png_init_read_transformations()
1280 png_ptr->screen_gamma = png_reciprocal(png_ptr->gamma); in png_init_read_transformations()
1283 else if (png_ptr->screen_gamma != 0) in png_init_read_transformations()
1289 png_ptr->gamma = png_reciprocal(png_ptr->screen_gamma); in png_init_read_transformations()
1297 png_ptr->screen_gamma = png_ptr->gamma = PNG_FP_1; in png_init_read_transformations()
1372 if (!png_gamma_significant(png_ptr->screen_gamma)) in png_init_read_transformations()
1520 png_gamma_significant(png_ptr->screen_gamma))) in png_init_read_transformations()
1523 || png_gamma_significant(png_ptr->screen_gamma) in png_init_read_transformations()
1529 && png_gamma_significant(png_ptr->screen_gamma)) in png_init_read_transformations()
1574 g = (png_ptr->screen_gamma); in png_init_read_transformations()
1581 png_ptr->screen_gamma); in png_init_read_transformations()
1587 png_ptr->screen_gamma); in png_init_read_transformations()
1683 g = png_ptr->screen_gamma; in png_init_read_transformations()
1689 gs = png_reciprocal2(png_ptr->gamma, png_ptr->screen_gamma); in png_init_read_transformations()
1695 png_ptr->screen_gamma); in png_init_read_transformations()