Lines Matching refs:gamma
323 if (png_ptr->gamma == 0) in png_set_alpha_mode_fixed()
324 png_ptr->gamma = file_gamma; in png_set_alpha_mode_fixed()
336 png_ptr->background_gamma = png_ptr->gamma; /* just in case */ in png_set_alpha_mode_fixed()
803 png_ptr->gamma = file_gamma; in png_set_gamma_fixed()
1270 if (png_ptr->gamma != 0) /* has been set */ in png_init_read_transformations()
1273 gamma_correction = png_gamma_threshold(png_ptr->gamma, in png_init_read_transformations()
1280 png_ptr->screen_gamma = png_reciprocal(png_ptr->gamma); 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()
1519 && (png_gamma_significant(png_ptr->gamma) || in png_init_read_transformations()
1522 && (png_gamma_significant(png_ptr->gamma) in png_init_read_transformations()
1579 g = png_reciprocal(png_ptr->gamma); in png_init_read_transformations()
1580 gs = png_reciprocal2(png_ptr->gamma, in png_init_read_transformations()
1688 g = png_reciprocal(png_ptr->gamma); in png_init_read_transformations()
1689 gs = png_reciprocal2(png_ptr->gamma, png_ptr->screen_gamma); in png_init_read_transformations()
1932 info_ptr->gamma = png_ptr->gamma; in png_read_transform_info()