From e5c304fb5ae52b4a224aef665e78694488436137 Mon Sep 17 00:00:00 2001 From: Jingning Han Date: Mon, 1 Oct 2018 15:31:27 -0700 Subject: [PATCH] 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 --- vp9/encoder/vp9_encoder.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vp9/encoder/vp9_encoder.c b/vp9/encoder/vp9_encoder.c index 4d461c196..a8937aa49 100644 --- a/vp9/encoder/vp9_encoder.c +++ b/vp9/encoder/vp9_encoder.c @@ -6470,7 +6470,7 @@ int vp9_get_compressed_data(VP9_COMP *cpi, unsigned int *frame_flags, 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], -- 2.40.0