Lines Matching refs:file_gamma
517 /* Transform the image from the file_gamma to the screen_gamma. We
518 * only do transformations on images where the file_gamma and screen_gamma
527 png_set_gamma(png_structp png_ptr, double scrn_gamma, double file_gamma)
531 if ((fabs(scrn_gamma * file_gamma - 1.0) > PNG_GAMMA_THRESHOLD) ||
535 png_ptr->gamma = (float)file_gamma;