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
This commit is contained in:
Marco Paniconi 2014-07-22 11:06:00 -07:00
Родитель 97ccebac8f
Коммит daed770d99
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -411,8 +411,8 @@ void vp8_denoiser_denoise_mb(VP8_DENOISER *denoiser,
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)
{