Lines Matching refs:psnr
228 uint64_t psnr; in run_psnr() local
231 psnr = ((2 * log16(max << 16) + log16(i) - log16(sse)) * in run_psnr()
234 psnr = 1000 * F - 1; // floating point free infinity :) in run_psnr()
238 (int)(psnr / F), (int)(psnr % F), in run_psnr()
240 return psnr; in run_psnr()
245 double psnr = INT_MAX; in run_psnr() local
250 psnr = 2 * log(DBL_MAX) - log(i / sse_d); in run_psnr()
251 snprintf(psnr_str, sizeof(psnr_str), "%5.02f", psnr); in run_psnr()
259 return psnr; in run_psnr()
312 int psnr = run_psnr(f, len, shift, skip_bytes); in main() local
313 if (psnr > max_psnr || (shift < 0 && psnr == max_psnr)) { in main()
314 max_psnr = psnr; in main()