Lines Matching refs:screen_gamma
7695 double screen_gamma;
7715 double file_gamma, double screen_gamma, png_byte sbit, int threshold_test,
7727 dp->screen_gamma = screen_gamma;
7785 PNG_CONST double sg = dp->screen_gamma;
7819 png_set_gamma(pp, dp->screen_gamma, dp->file_gamma);
7822 png_fixed_point s = fix(dp->screen_gamma);
7888 double screen_gamma;
7931 vi->screen_gamma = dp->screen_gamma;
7932 if (fabs(vi->screen_gamma-1) < PNG_GAMMA_THRESHOLD)
7933 vi->screen_gamma = vi->screen_inverse = 0;
7935 vi->screen_inverse = 1/vi->screen_gamma;
7984 vi->gamma_correction = 1/(dp->file_gamma*dp->screen_gamma);
8165 output_is_encoded = vi->screen_gamma > 0;
8194 output = pow(output, vi->screen_gamma);
9002 double screen_gamma)
9009 pos = safecatd(name, sizeof name, pos, screen_gamma, 3);
9012 file_gamma, screen_gamma, 0/*sBIT*/, 1/*threshold test*/, name,
9056 PNG_CONST double screen_gamma, PNG_CONST png_byte sbit,
9077 pos = safecatd(name, sizeof name, pos, screen_gamma, 3);
9080 file_gamma, screen_gamma, sbit, 0, name, use_input_precision,
9211 PNG_CONST double screen_gamma,
9230 bg = 1/screen_gamma;
9242 bg = (file_gamma + screen_gamma) / 3;
9286 fabs(bg*screen_gamma-1) > PNG_GAMMA_THRESHOLD)
9322 pos = safecatd(name, sizeof name, pos, screen_gamma, 3);
9346 file_gamma, screen_gamma, 0/*sBIT*/, 0, name, use_input_precision,