Lines Matching refs:gamma
338 // This is necessary because the gAMA chunk actually stores 1/gamma.
380 png_fixed_point gamma;
399 if (PNG_INFO_gAMA == png_get_gAMA_fixed(png_ptr, info_ptr, &gamma)) {
403 fn.fG = png_inverted_fixed_point_to_float(gamma);
408 // Default to sRGB gamma if the image has color space information,
409 // but does not specify gamma.
413 // Last, check for gamma.
414 if (PNG_INFO_gAMA == png_get_gAMA_fixed(png_ptr, info_ptr, &gamma)) {
418 fn.fG = png_inverted_fixed_point_to_float(gamma);