Lines Matching refs:gamma
106 png_warning(png_ptr, "Application must supply a known background gamma");
547 * We will turn off gamma transformation later if no semitransparent entries
563 png_ptr->gamma = (float)file_gamma;
901 && (fabs(png_ptr->screen_gamma * png_ptr->gamma - 1.0)
916 png_ptr->gamma != 0.0)
952 g = 1.0 / (png_ptr->gamma);
953 gs = 1.0 / (png_ptr->gamma * png_ptr->screen_gamma);
1024 * has just reduced background composition and gamma correction
1047 g = 1.0 / (png_ptr->gamma);
1048 gs = 1.0 / (png_ptr->gamma * png_ptr->screen_gamma);
1107 /* Done the gamma correction. */
1116 /* No GAMMA transformation */
1234 info_ptr->gamma = png_ptr->gamma;
2555 * paletted. Most useful for gamma correction and simplification
2794 * "background" is already in the screen gamma, while "background_1" is
2795 * at a gamma of 1.0. Paletted files have already been taken care of.
3011 /* Background is already in screen gamma */
3102 /* Background is already in screen gamma */
3170 /* Background is already in screen gamma */
3237 /* Background is already in screen gamma */
3315 /* Background is already in screen gamma */
3396 /* Background is already in screen gamma */
3488 /* Gamma correct the image, avoiding the alpha channel. Make sure
4139 /* We build the 8- or 16-bit gamma tables here. Note that for 16-bit
4145 * the gamma tables. Maybe we will implement that here someday.
4183 g = 1.0 / (png_ptr->gamma * png_ptr->screen_gamma);
4202 g = 1.0 / (png_ptr->gamma);
4221 g = png_ptr->gamma; /* Probably doing rgb_to_gray */
4277 g = 1.0 / (png_ptr->gamma * png_ptr->screen_gamma);
4340 g = 1.0 / (png_ptr->gamma);
4364 g = png_ptr->gamma; /* Probably doing rgb_to_gray */