shithub: libvpx

Download patch

ref: f1e12c1bf3b24e67c8c1542c87c0cd84f85b88fc
parent: 343b6b09a121f5106281ac3fe9052b2f2c670491
author: Marco <marpan@google.com>
date: Wed Aug 10 12:20:46 EDT 2016

vp8: Fix denoiser setting in multi-res sample encoder.

Change-Id: I9222f3b252e5ed883659f1a14cd705944ee9da07

--- a/examples/vp8_multi_resolution_encoder.c
+++ b/examples/vp8_multi_resolution_encoder.c
@@ -508,7 +508,7 @@
 
   /* Set NOISE_SENSITIVITY to do TEMPORAL_DENOISING */
   /* Enable denoising for the highest-resolution encoder. */
-  if (vpx_codec_control(&codec[0], VP8E_SET_NOISE_SENSITIVITY, 1))
+  if (vpx_codec_control(&codec[0], VP8E_SET_NOISE_SENSITIVITY, 4))
     die_codec(&codec[0], "Failed to set noise_sensitivity");
   for (i = 1; i < NUM_ENCODERS; i++) {
     if (vpx_codec_control(&codec[i], VP8E_SET_NOISE_SENSITIVITY, 0))