ref: c230d7f6e632a3fc10f042514d1246f78c244268
parent: b944b8beccc0a070d414c9d9ecd02fbe65029ca0
parent: e5c304fb5ae52b4a224aef665e78694488436137
author: Jingning Han <jingning@google.com>
date: Tue Oct 2 14:24:29 EDT 2018
Merge "Keep metric log only for the displayable frames"
--- a/vp9/encoder/vp9_encoder.c
+++ b/vp9/encoder/vp9_encoder.c
@@ -6470,7 +6470,7 @@
cpi->summedp_quality += frame_ssim2 * weight;
cpi->summedp_weights += weight;
#if 0
- {
+ if (cm->show_frame) {
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, psnr2.psnr[1],