Searched refs:gamma_correction (Results 1 - 3 of 3) sorted by relevance

/external/libpng/contrib/libtests/
H A Dpngvalid.c7886 double gamma_correction; /* Overall correction required. */ member in struct:validate_info
7984 vi->gamma_correction = 1/(dp->file_gamma*dp->screen_gamma);
7985 if (fabs(vi->gamma_correction-1) < PNG_GAMMA_THRESHOLD)
7986 vi->gamma_correction = 0;
8088 * just use the gamma_correction field to correct to the final output gamma.
8110 if (alpha >= 0 && vi->gamma_correction > 0)
8111 encoded_sample = pow(encoded_sample, vi->gamma_correction);
8588 if (vi->gamma_correction > 0)
8591 pos = safecatd(msg, sizeof msg, pos, vi->gamma_correction, 2);
8707 processing = (vi.gamma_correction >
[all...]
/external/libpng/
H A Dpngrtran.c1297 int gamma_correction = 0; local
1302 gamma_correction = png_gamma_threshold(png_ptr->colorspace.gamma,
1339 if (gamma_correction)
/external/pdfium/samples/fx_lpng/lpng_v163/
H A Dfx_pngrtran.c1290 int gamma_correction = 0; local
1295 gamma_correction = png_gamma_threshold(png_ptr->colorspace.gamma,
1332 if (gamma_correction)

Completed in 107 milliseconds