From: Jingning Han Date: Tue, 21 Aug 2018 17:48:47 +0000 (-0700) Subject: Skip loop filter operation in show_existing_frame mode X-Git-Tag: v1.8.0~399^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=28cd84af76f0bee64ea7fe28faf7aee18b005bb1;p=libvpx 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 --- 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;