ref: b944b8beccc0a070d414c9d9ecd02fbe65029ca0
parent: 6b7848d4c9016efbfbc9529df008ffde0e15b7cc
parent: acd82ad67ca7b9f9aaf6a87139e633eb976d7023
author: Jingning Han <jingning@google.com>
date: Tue Oct 2 14:24:25 EDT 2018
Merge "Fix vpxenc per frame psnr and ssim print"
--- a/vp9/encoder/vp9_encoder.c
+++ b/vp9/encoder/vp9_encoder.c
@@ -6473,8 +6473,8 @@
{
FILE *f = fopen("q_used.stt", "a");
fprintf(f, "%5d : Y%f7.3:U%f7.3:V%f7.3:F%f7.3:S%7.3f\n",
- cpi->common.current_video_frame, y2, u2, v2,
- frame_psnr2, frame_ssim2);
+ cpi->common.current_video_frame, psnr2.psnr[1],
+ psnr2.psnr[2], psnr2.psnr[3], psnr2.psnr[0], frame_ssim2);
fclose(f);
}
#endif