shithub: libvpx

Download patch

ref: e5c304fb5ae52b4a224aef665e78694488436137
parent: acd82ad67ca7b9f9aaf6a87139e633eb976d7023
author: Jingning Han <jingning@google.com>
date: Mon Oct 1 11:31:27 EDT 2018

Keep metric log only for the displayable frames

The end-to-end reconstruction quality is represented only by the
displayable frames. Drop the coding stats from ARF frames.

Change-Id: Ib8241db448611f4b6477f107930eaa273f960e20

--- 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],