ref: b9723c4be927940857f99f99245ef840e6bb064a
parent: bca1a350c9fbeb55e42ed57c3ef31a8b65e90228
parent: c9e984a8589f26d76b5b7fe24dffa35b69d029cb
author: Marco Paniconi <[email protected]>
date: Fri Jan 29 13:43:27 EST 2016
Merge "vp9-denoiser: Force increase_denoising = 0 for skin block."
--- a/vp9/encoder/vp9_denoiser.c
+++ b/vp9/encoder/vp9_denoiser.c
@@ -344,7 +344,9 @@
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;