Index: source/libvpx/vp8/encoder/pickinter.c |
=================================================================== |
--- source/libvpx/vp8/encoder/pickinter.c (revision 284462) |
+++ source/libvpx/vp8/encoder/pickinter.c (working copy) |
@@ -1168,6 +1168,7 @@ |
#if CONFIG_TEMPORAL_DENOISING |
if (cpi->oxcf.noise_sensitivity) |
{ |
+ int uv_denoise = (cpi->oxcf.noise_sensitivity == 2) ? 1 : 0; |
int block_index = mb_row * cpi->common.mb_cols + mb_col; |
if (x->best_sse_inter_mode == DC_PRED) |
{ |
@@ -1182,7 +1183,7 @@ |
vp8_denoiser_denoise_mb(&cpi->denoiser, x, best_sse, zero_mv_sse, |
recon_yoffset, recon_uvoffset, |
&cpi->common.lf_info, mb_row, mb_col, |
- block_index); |
+ block_index, uv_denoise); |
/* Reevaluate ZEROMV after denoising. */ |