]> granicus.if.org Git - libvpx/commitdiff
vp9-denoiser bugfix: Disable postproc-denoiser under temporal denoising.
authorMarco <marpan@google.com>
Mon, 1 Feb 2016 17:02:26 +0000 (09:02 -0800)
committerMarco <marpan@google.com>
Mon, 1 Feb 2016 17:08:28 +0000 (09:08 -0800)
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

index 8c646938cb16e737b3f95015a472daa215b3d6b2..d4e17b8caceee8b53b41f5e97e4fd4affe7c3800 100644 (file)
@@ -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) {