From dc2e97c900752c4305031a93a3b4755f2e59ff80 Mon Sep 17 00:00:00 2001 From: Marco Date: Mon, 1 Feb 2016 09:02:26 -0800 Subject: [PATCH] vp9-denoiser bugfix: Disable postproc-denoiser under temporal denoising. The postproc vp9_denoise() is a spatial denoise/blur function. It was not intended to be used if temporal denoising is enabled. Change-Id: I97d2dcb941e7cc49bbafce99d9286beb2693249d --- vp9/encoder/vp9_encoder.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vp9/encoder/vp9_encoder.c b/vp9/encoder/vp9_encoder.c index 8c646938c..d4e17b8ca 100644 --- a/vp9/encoder/vp9_encoder.c +++ b/vp9/encoder/vp9_encoder.c @@ -3130,7 +3130,7 @@ static void set_size_dependent_vars(VP9_COMP *cpi, int *q, if (oxcf->pass == 2 && cpi->sf.static_segmentation) configure_static_seg_features(cpi); -#if CONFIG_VP9_POSTPROC +#if CONFIG_VP9_POSTPROC && !(CONFIG_VP9_TEMPORAL_DENOISING) if (oxcf->noise_sensitivity > 0) { int l = 0; switch (oxcf->noise_sensitivity) {