summaryrefslogtreecommitdiff
path: root/vp8/encoder/rdopt.c
diff options
context:
space:
mode:
authorMarco Paniconi <marpan@google.com>2014-07-29 15:06:57 -0700
committerMarco Paniconi <marpan@google.com>2014-08-08 16:15:28 -0700
commit354a2e612d2f54a96d57d32110f35b4fdc664945 (patch)
tree69b8606d3af35ebab02557532bdfaf8cd3634a2c /vp8/encoder/rdopt.c
parent9a4cd41793e5c63ae0d20acf76075261de7046f1 (diff)
downloadlibvpx-354a2e612d2f54a96d57d32110f35b4fdc664945.tar
libvpx-354a2e612d2f54a96d57d32110f35b4fdc664945.tar.gz
libvpx-354a2e612d2f54a96d57d32110f35b4fdc664945.tar.bz2
libvpx-354a2e612d2f54a96d57d32110f35b4fdc664945.zip
vp8: Code cleanup for control of denoiser mode.
Change-Id: Icb9918dd38d15061d62852e6a2d905e8ceb2c1ac
Diffstat (limited to 'vp8/encoder/rdopt.c')
-rw-r--r--vp8/encoder/rdopt.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/vp8/encoder/rdopt.c b/vp8/encoder/rdopt.c
index 98d60160c..2f6f5d07c 100644
--- a/vp8/encoder/rdopt.c
+++ b/vp8/encoder/rdopt.c
@@ -2511,7 +2511,6 @@ void vp8_rd_pick_inter_mode(VP8_COMP *cpi, MACROBLOCK *x, int recon_yoffset,
#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)
{
@@ -2525,8 +2524,7 @@ void vp8_rd_pick_inter_mode(VP8_COMP *cpi, MACROBLOCK *x, int recon_yoffset,
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, uv_denoise);
-
+ block_index);
/* Reevaluate ZEROMV after denoising. */
if (best_mode.mbmode.ref_frame == INTRA_FRAME &&