Searched refs:gamma_to_1 (Results 1 – 6 of 6) sorted by relevance
1608 back_1.red = png_ptr->gamma_to_1[png_ptr->background.red]; in png_init_read_transformations()1609 back_1.green = png_ptr->gamma_to_1[png_ptr->background.green]; in png_init_read_transformations()1610 back_1.blue = png_ptr->gamma_to_1[png_ptr->background.blue]; in png_init_read_transformations()1688 v = png_ptr->gamma_to_1[palette[i].red]; in png_init_read_transformations()1692 v = png_ptr->gamma_to_1[palette[i].green]; in png_init_read_transformations()1696 v = png_ptr->gamma_to_1[palette[i].blue]; in png_init_read_transformations()3014 if (png_ptr->gamma_from_1 != NULL && png_ptr->gamma_to_1 != NULL) in png_do_rgb_to_gray()3028 red = png_ptr->gamma_to_1[red]; in png_do_rgb_to_gray()3029 green = png_ptr->gamma_to_1[green]; in png_do_rgb_to_gray()3030 blue = png_ptr->gamma_to_1[blue]; in png_do_rgb_to_gray()[all …]
299 png_bytep gamma_to_1; /* converts from file to 1.0 */ member
4166 png_free(png_ptr, png_ptr->gamma_to_1);4167 png_ptr->gamma_to_1 = NULL;4230 png_build_8bit_table(png_ptr, &png_ptr->gamma_to_1,
1605 back_1.red = png_ptr->gamma_to_1[png_ptr->background.red]; in png_init_read_transformations()1606 back_1.green = png_ptr->gamma_to_1[png_ptr->background.green]; in png_init_read_transformations()1607 back_1.blue = png_ptr->gamma_to_1[png_ptr->background.blue]; in png_init_read_transformations()1685 v = png_ptr->gamma_to_1[palette[i].red]; in png_init_read_transformations()1689 v = png_ptr->gamma_to_1[palette[i].green]; in png_init_read_transformations()1693 v = png_ptr->gamma_to_1[palette[i].blue]; in png_init_read_transformations()3011 if (png_ptr->gamma_from_1 != NULL && png_ptr->gamma_to_1 != NULL) in png_do_rgb_to_gray()3025 red = png_ptr->gamma_to_1[red]; in png_do_rgb_to_gray()3026 green = png_ptr->gamma_to_1[green]; in png_do_rgb_to_gray()3027 blue = png_ptr->gamma_to_1[blue]; in png_do_rgb_to_gray()[all …]
4088 png_free(png_ptr, png_ptr->gamma_to_1);4089 png_ptr->gamma_to_1 = NULL;4151 png_build_8bit_table(png_ptr, &png_ptr->gamma_to_1,