shithub: libvpx

Download patch

ref: 28cd84af76f0bee64ea7fe28faf7aee18b005bb1
parent: 1ec8fc9da72931ea30881e81cb969ecd1c9b38eb
author: Jingning Han <jingning@google.com>
date: Tue Aug 21 06:48:47 EDT 2018

Skip loop filter operation in show_existing_frame mode

Skip the loop filtering for frame coding in show_existing_frame
mode. This matches the decoder operation for show_existing_frame
mode.

Change-Id: I96f275cf5384eb5fe8c0404ec4142cf5b580ac16

--- a/vp9/encoder/vp9_encoder.c
+++ b/vp9/encoder/vp9_encoder.c
@@ -3251,6 +3251,12 @@
       cpi->svc.temporal_layering_mode == VP9E_TEMPORAL_LAYERING_MODE_BYPASS)
     is_reference_frame = !cpi->svc.non_reference_frame;
 
+  // Skip loop filter in show_existing_frame mode.
+  if (cm->show_existing_frame) {
+    lf->filter_level = 0;
+    return;
+  }
+
   if (xd->lossless) {
     lf->filter_level = 0;
     lf->last_filt_level = 0;