Fix a bug in VP9 denoiser.
authorJackyChen <jackychen@google.com>
Thu, 4 Sep 2014 18:16:56 +0000 (11:16 -0700)
committerJackyChen <jackychen@google.com>
Thu, 4 Sep 2014 18:46:36 +0000 (11:46 -0700)
commite30f7698f5c500f3a1db992126a03d23cbccc533
treef9eb34b838ca48b1ac417a6bdda664e01dad47ed
parentf61e00c79df38129e33397d9391eb084ad3b6c26
Fix a bug in VP9 denoiser.

When the first try of denoising turns out to be too much,
we will use a softer filter by adopting an adjustment to
make the result closer to original pixel (as in VP8 denoiser).
The old code made the adjustment in the wrong direction.

Change-Id: I84e28fa9e01eef47c5a37d5a2e6d3d378a06786b
vp9/encoder/vp9_denoiser.c