Lines Matching refs:gamma_to_1
1603 back_1.red = png_ptr->gamma_to_1[png_ptr->background.red]; in png_init_read_transformations()
1604 back_1.green = png_ptr->gamma_to_1[png_ptr->background.green]; in png_init_read_transformations()
1605 back_1.blue = png_ptr->gamma_to_1[png_ptr->background.blue]; in png_init_read_transformations()
1683 v = png_ptr->gamma_to_1[palette[i].red]; in png_init_read_transformations()
1687 v = png_ptr->gamma_to_1[palette[i].green]; in png_init_read_transformations()
1691 v = png_ptr->gamma_to_1[palette[i].blue]; in png_init_read_transformations()
3007 if (png_ptr->gamma_from_1 != NULL && png_ptr->gamma_to_1 != NULL) in png_do_rgb_to_gray()
3021 red = png_ptr->gamma_to_1[red]; in png_do_rgb_to_gray()
3022 green = png_ptr->gamma_to_1[green]; in png_do_rgb_to_gray()
3023 blue = png_ptr->gamma_to_1[blue]; in png_do_rgb_to_gray()
3188 png_const_bytep gamma_to_1 = png_ptr->gamma_to_1; in png_do_compose() local
3585 if (gamma_to_1 != NULL && gamma_from_1 != NULL && in png_do_compose()
3606 v = gamma_to_1[*sp]; in png_do_compose()
3710 if (gamma_to_1 != NULL && gamma_from_1 != NULL && in png_do_compose()
3737 v = gamma_to_1[*sp]; in png_do_compose()
3742 v = gamma_to_1[*(sp + 1)]; in png_do_compose()
3747 v = gamma_to_1[*(sp + 2)]; in png_do_compose()