Lines Matching refs:n_frames
324 size_t i, n_frames = 0, allocated_frames = 0; in main() local
444 if (n_frames == allocated_frames) { in main()
453 psnr_and_ssim(ssimy[n_frames], psnry[n_frames], y[0], y[1], w, h); in main()
454 psnr_and_ssim(ssimu[n_frames], psnru[n_frames], u[0], u[1], (w + 1) / 2, in main()
456 psnr_and_ssim(ssimv[n_frames], psnrv[n_frames], v[0], v[1], (w + 1) / 2, in main()
459 n_frames++; in main()
467 for (i = 0; i < n_frames; ++i) { in main()
499 ssimavg /= n_frames; in main()
500 ssimyavg /= n_frames; in main()
501 ssimuavg /= n_frames; in main()
502 ssimvavg /= n_frames; in main()
511 psnravg /= n_frames; in main()
512 psnryavg /= n_frames; in main()
513 psnruavg /= n_frames; in main()
514 psnrvavg /= n_frames; in main()
523 psnrglb = mse2psnr((double)n_frames * w * h * 6 / 4, peak, psnrglb); in main()
524 psnryglb = mse2psnr((double)n_frames * w * h * 4 / 4, peak, psnryglb); in main()
525 psnruglb = mse2psnr((double)n_frames * w * h * 1 / 4, peak, psnruglb); in main()
526 psnrvglb = mse2psnr((double)n_frames * w * h * 1 / 4, peak, psnrvglb); in main()
534 printf("Nframes: %d\n", (int)n_frames); in main()