From 28cd84af76f0bee64ea7fe28faf7aee18b005bb1 Mon Sep 17 00:00:00 2001 From: Jingning Han Date: Tue, 21 Aug 2018 10:48:47 -0700 Subject: [PATCH] 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 --- vp9/encoder/vp9_encoder.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/vp9/encoder/vp9_encoder.c b/vp9/encoder/vp9_encoder.c index c1a33ec4e..0151e1ba1 100644 --- a/vp9/encoder/vp9_encoder.c +++ b/vp9/encoder/vp9_encoder.c @@ -3251,6 +3251,12 @@ static void loopfilter_frame(VP9_COMP *cpi, VP9_COMMON *cm) { 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; -- 2.50.1