]> granicus.if.org Git - libvpx/commitdiff
Merge "Fix failure with libvpx__unit_tests-multi-target"
authorMarco Paniconi <marpan@google.com>
Fri, 29 Jan 2016 18:55:13 +0000 (18:55 +0000)
committerGerrit Code Review <noreply-gerritcodereview@google.com>
Fri, 29 Jan 2016 18:55:13 +0000 (18:55 +0000)
vp9/encoder/vp9_denoiser.c

index 3280e73617276c640e98545a6d95c353c7197c13..99118f5dfed64650c8e6567ced0a16fcc1f0a50f 100644 (file)
@@ -344,7 +344,9 @@ void vp9_denoiser_denoise(VP9_DENOISER *denoiser, MACROBLOCK *mb,
   mv_col = ctx->best_sse_mv.as_mv.col;
   mv_row = ctx->best_sse_mv.as_mv.row;
   motion_magnitude = mv_row * mv_row + mv_col * mv_col;
-  if (denoiser->denoising_level == kDenHigh && motion_magnitude < 16) {
+  if (!is_skin &&
+      denoiser->denoising_level == kDenHigh &&
+      motion_magnitude < 16) {
     denoiser->increase_denoising = 1;
   } else {
     denoiser->increase_denoising = 0;