From: Marco Paniconi Date: Tue, 16 Jun 2020 02:11:53 +0000 (-0700) Subject: vp9-svc: Fix to dynamic resize for svc denoising X-Git-Tag: v1.10.0-rc1~115 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5174eb5b9236a76c24e7bfadd0665d7b765395e1;p=libvpx vp9-svc: Fix to dynamic resize for svc denoising Fix the logic to allow denoiser reset on resize for SVC mode, as dynamic resize is allowed for SVC under single_layer mode. Change-Id: I7776c68dadff2ccbce9b0b4a7f0d12624c2ccf90 --- diff --git a/vp9/encoder/vp9_encoder.c b/vp9/encoder/vp9_encoder.c index f90aee072..ae7b47b52 100644 --- a/vp9/encoder/vp9_encoder.c +++ b/vp9/encoder/vp9_encoder.c @@ -3747,7 +3747,7 @@ static void set_frame_size(VP9_COMP *cpi) { } #endif // !CONFIG_REALTIME_ONLY - if (oxcf->pass == 0 && oxcf->rc_mode == VPX_CBR && !cpi->use_svc && + if (oxcf->pass == 0 && oxcf->rc_mode == VPX_CBR && oxcf->resize_mode == RESIZE_DYNAMIC && cpi->resize_pending != 0) { oxcf->scaled_frame_width = (oxcf->width * cpi->resize_scale_num) / cpi->resize_scale_den;