summaryrefslogtreecommitdiff
path: root/vp9/encoder/vp9_encoder.c
diff options
context:
space:
mode:
authorMarco <marpan@google.com>2017-03-29 14:01:57 -0700
committerMarco <marpan@google.com>2017-03-29 14:02:54 -0700
commitfc83fcb7c405ec9369c9f6ea2c83339d74fa034e (patch)
treeb05b6e0919c55c2ecf6deae63eb2d8e4513d1f83 /vp9/encoder/vp9_encoder.c
parent32b3d2f174f69f1484e024b276aff9226a751d4f (diff)
downloadlibvpx-fc83fcb7c405ec9369c9f6ea2c83339d74fa034e.tar
libvpx-fc83fcb7c405ec9369c9f6ea2c83339d74fa034e.tar.gz
libvpx-fc83fcb7c405ec9369c9f6ea2c83339d74fa034e.tar.bz2
libvpx-fc83fcb7c405ec9369c9f6ea2c83339d74fa034e.zip
vp9: SVC: fix to allow output of denoised result.
Change-Id: Iaf55cfb5e9621d074eb33d6a32f184e4777968f8
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 c891957a3..48de1aeb6 100644
--- a/vp9/encoder/vp9_encoder.c
+++ b/vp9/encoder/vp9_encoder.c
@@ -4052,7 +4052,7 @@ static void encode_frame_to_data_rate(VP9_COMP *cpi, size_t *size,
#if CONFIG_VP9_TEMPORAL_DENOISING
#ifdef OUTPUT_YUV_DENOISED
- if (oxcf->noise_sensitivity > 0) {
+ if (oxcf->noise_sensitivity > 0 && denoise_svc(cpi)) {
vp9_write_yuv_frame_420(&cpi->denoiser.running_avg_y[INTRA_FRAME],
yuv_denoised_file);
}