diff options
author | Marco Paniconi <marpan@google.com> | 2016-01-29 18:43:27 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2016-01-29 18:43:27 +0000 |
commit | b9723c4be927940857f99f99245ef840e6bb064a (patch) | |
tree | c38ef2f957659208cf709a573e975937c07d1942 | |
parent | bca1a350c9fbeb55e42ed57c3ef31a8b65e90228 (diff) | |
parent | c9e984a8589f26d76b5b7fe24dffa35b69d029cb (diff) | |
download | libvpx-b9723c4be927940857f99f99245ef840e6bb064a.tar libvpx-b9723c4be927940857f99f99245ef840e6bb064a.tar.gz libvpx-b9723c4be927940857f99f99245ef840e6bb064a.tar.bz2 libvpx-b9723c4be927940857f99f99245ef840e6bb064a.zip |
Merge "vp9-denoiser: Force increase_denoising = 0 for skin block."
-rw-r--r-- | vp9/encoder/vp9_denoiser.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/vp9/encoder/vp9_denoiser.c b/vp9/encoder/vp9_denoiser.c index 3280e7361..99118f5df 100644 --- a/vp9/encoder/vp9_denoiser.c +++ b/vp9/encoder/vp9_denoiser.c @@ -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; |