Home | History | Annotate | Download | only in codec

Lines Matching refs:gamma

346     // This is necessary because the gAMA chunk actually stores 1/gamma.
389 png_fixed_point gamma;
408 if (PNG_INFO_gAMA == png_get_gAMA_fixed(png_ptr, info_ptr, &gamma)) {
412 fn.fG = png_inverted_fixed_point_to_float(gamma);
417 // Default to sRGB gamma if the image has color space information,
418 // but does not specify gamma.
422 // Last, check for gamma.
423 if (PNG_INFO_gAMA == png_get_gAMA_fixed(png_ptr, info_ptr, &gamma)) {
427 fn.fG = png_inverted_fixed_point_to_float(gamma);