summaryrefslogtreecommitdiff
path: root/vp9/encoder/vp9_encoder.c
diff options
context:
space:
mode:
authorMarco <marpan@google.com>2016-12-21 14:33:21 -0800
committerMarco <marpan@google.com>2017-01-10 17:23:58 -0800
commit7e3a82c3847c9f6f84f2a2f7cf3ea2aab0388053 (patch)
tree9dedd9f02804687c091ff8c5244a3e6928c4dd20 /vp9/encoder/vp9_encoder.c
parent91fc730d831a46751fe5adb96f4897085b483313 (diff)
downloadlibvpx-7e3a82c3847c9f6f84f2a2f7cf3ea2aab0388053.tar
libvpx-7e3a82c3847c9f6f84f2a2f7cf3ea2aab0388053.tar.gz
libvpx-7e3a82c3847c9f6f84f2a2f7cf3ea2aab0388053.tar.bz2
libvpx-7e3a82c3847c9f6f84f2a2f7cf3ea2aab0388053.zip
vp9: Make the denoiser work with spatial SVC.
If enabled denoiser will only denoise the top spatial layer for now. Added unittest for SVC with denoising. Change-Id: Ifa373771c4ecfa208615eb163cc38f1c22c6664b
Diffstat (limited to 'vp9/encoder/vp9_encoder.c')
-rw-r--r--vp9/encoder/vp9_encoder.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vp9/encoder/vp9_encoder.c b/vp9/encoder/vp9_encoder.c
index 37cf8257a..3fa7dbbf6 100644
--- a/vp9/encoder/vp9_encoder.c
+++ b/vp9/encoder/vp9_encoder.c
@@ -2568,7 +2568,7 @@ void vp9_update_reference_frames(VP9_COMP *cpi) {
sizeof(cpi->interp_filter_selected[0]));
}
#if CONFIG_VP9_TEMPORAL_DENOISING
- if (cpi->oxcf.noise_sensitivity > 0 &&
+ if (cpi->oxcf.noise_sensitivity > 0 && denoise_svc(cpi) &&
cpi->denoiser.denoising_level > kDenLowLow) {
vp9_denoiser_update_frame_info(
&cpi->denoiser, *cpi->Source, cpi->common.frame_type,