ref: daed770d99d4d2bdb091681e5be5a1835759b169
parent: 97ccebac8f0052053a3832295f7a5f67c58c3773
author: Marco Paniconi <[email protected]>
date: Tue Jul 22 07:06:00 EDT 2014
vp8: Set default denoiser_decision to copy for UV channel. Since the UV decision to denoise is based on Y, we need to set the default/initial denoiser decision_u/v to COPY_BLOCK, to make sure if no uv_denoiser is applied we still update (uv)running_avg with source. Change-Id: I5af1c2afbd40c498cd3de208bea88c837099b24d
--- a/vp8/encoder/denoising.c
+++ b/vp8/encoder/denoising.c
@@ -411,8 +411,8 @@
MV_REFERENCE_FRAME zero_frame = x->best_zeromv_reference_frame;
enum vp8_denoiser_decision decision = FILTER_BLOCK;
- enum vp8_denoiser_decision decision_u = FILTER_BLOCK;
- enum vp8_denoiser_decision decision_v = FILTER_BLOCK;
+ enum vp8_denoiser_decision decision_u = COPY_BLOCK;
+ enum vp8_denoiser_decision decision_v = COPY_BLOCK;
if (zero_frame)
{