ref: 4260a7f2b39c81ff4f39411d6ffe80504900b6da
parent: 318a1ff5ecddd6d60fcf87147f1ff741d39b3dc4
author: Marco <marpan@google.com>
date: Fri Dec 16 06:15:57 EST 2016
vp9: Change condition to enable recheck_zeromv_after_denoising. For when denoising enabled: change condition to enable the recheck_zeromv_after_denoising for only very high noise level. This is causing an issue, so enabling it for very high noise to effectively shut it off. Change-Id: Ic40d6025f3f398338cedd270d17c0ccd9a3daa84
--- a/vp9/encoder/vp9_pickmode.c
+++ b/vp9/encoder/vp9_pickmode.c
@@ -1235,7 +1235,7 @@
// denoised result. Only do this under noise conditions, and if rdcost of
// ZEROMV onoriginal source is not significantly higher than rdcost of best
// mode.
- if (cpi->noise_estimate.enabled && cpi->noise_estimate.level > kLow &&
+ if (cpi->noise_estimate.enabled && cpi->noise_estimate.level > kHigh &&
ctx_den->zero_last_cost_orig < (best_rdc->rdcost << 3) &&
((ctx_den->best_ref_frame == INTRA_FRAME && decision >= FILTER_BLOCK) ||
(ctx_den->best_ref_frame == GOLDEN_FRAME &&