Home | History | Annotate | Download | only in libtests

Lines Matching refs:gamma_correction

9033    double gamma_correction; /* Overall correction required. */
9133 vi->gamma_correction = 1/(dp->file_gamma*dp->screen_gamma);
9134 if (fabs(vi->gamma_correction-1) < PNG_GAMMA_THRESHOLD)
9135 vi->gamma_correction = 0;
9237 * just use the gamma_correction field to correct to the final output gamma.
9259 if (alpha >= 0 && vi->gamma_correction > 0)
9260 encoded_sample = pow(encoded_sample, vi->gamma_correction);
9737 if (vi->gamma_correction > 0)
9740 pos = safecatd(msg, sizeof msg, pos, vi->gamma_correction, 2);
9857 processing = (vi.gamma_correction > 0 && !dp->threshold_test)