Home | History | Annotate | Download | only in libpng

Lines Matching full:colorspace

358    if (png_ptr->colorspace.gamma == 0)
360 png_ptr->colorspace.gamma = file_gamma;
361 png_ptr->colorspace.flags |= PNG_COLORSPACE_HAVE_GAMMA;
374 png_ptr->background_gamma = png_ptr->colorspace.gamma; /* just in case */
837 png_ptr->colorspace.gamma = file_gamma;
838 png_ptr->colorspace.flags |= PNG_COLORSPACE_HAVE_GAMMA;
1302 if (png_ptr->colorspace.gamma != 0) /* has been set */
1305 gamma_correction = png_gamma_threshold(png_ptr->colorspace.gamma,
1312 png_ptr->screen_gamma = png_reciprocal(png_ptr->colorspace.gamma);
1321 png_ptr->colorspace.gamma = png_reciprocal(png_ptr->screen_gamma);
1329 png_ptr->screen_gamma = png_ptr->colorspace.gamma = PNG_FP_1;
1332 png_ptr->colorspace.flags |= PNG_COLORSPACE_HAVE_GAMMA;
1562 (png_gamma_significant(png_ptr->colorspace.gamma) != 0 ||
1565 (png_gamma_significant(png_ptr->colorspace.gamma) != 0 ||
1621 g = png_reciprocal(png_ptr->colorspace.gamma);
1622 gs = png_reciprocal2(png_ptr->colorspace.gamma,
1730 g = png_reciprocal(png_ptr->colorspace.gamma);
1731 gs = png_reciprocal2(png_ptr->colorspace.gamma,
1985 info_ptr->colorspace.gamma = png_ptr->colorspace.gamma;
2975 * In all cases the calculation is to be done in a linear colorspace. If no