Searched refs:gamma_to_1 (Results 1 – 3 of 3) sorted by relevance
1619 back_1.red = png_ptr->gamma_to_1[png_ptr->background.red]; in png_init_read_transformations()1620 back_1.green = png_ptr->gamma_to_1[png_ptr->background.green]; in png_init_read_transformations()1621 back_1.blue = png_ptr->gamma_to_1[png_ptr->background.blue]; in png_init_read_transformations()1699 v = png_ptr->gamma_to_1[palette[i].red]; in png_init_read_transformations()1703 v = png_ptr->gamma_to_1[palette[i].green]; in png_init_read_transformations()1707 v = png_ptr->gamma_to_1[palette[i].blue]; in png_init_read_transformations()3022 if (png_ptr->gamma_from_1 != NULL && png_ptr->gamma_to_1 != NULL) in png_do_rgb_to_gray()3036 red = png_ptr->gamma_to_1[red]; in png_do_rgb_to_gray()3037 green = png_ptr->gamma_to_1[green]; in png_do_rgb_to_gray()3038 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
4160 png_free(png_ptr, png_ptr->gamma_to_1);4161 png_ptr->gamma_to_1 = NULL;4224 png_build_8bit_table(png_ptr, &png_ptr->gamma_to_1,