diff options
author | Marco <marpan@chromium.org> | 2014-09-02 09:45:37 -0700 |
---|---|---|
committer | Marco <marpan@chromium.org> | 2014-09-02 09:47:55 -0700 |
commit | 54575d654ced22d89a28e7e2ba6a7d2b24e15850 (patch) | |
tree | af7bef8548b47f5fe8762d9edeaf5aa14c297dde /vp8/encoder/denoising.c | |
parent | dbe21705952f366c5456bf9b8995d5a77ff0a47d (diff) | |
download | libvpx-54575d654ced22d89a28e7e2ba6a7d2b24e15850.tar libvpx-54575d654ced22d89a28e7e2ba6a7d2b24e15850.tar.gz libvpx-54575d654ced22d89a28e7e2ba6a7d2b24e15850.tar.bz2 libvpx-54575d654ced22d89a28e7e2ba6a7d2b24e15850.zip |
Updates to adaptive/aggressive denoiser mode.
Parameter changes and modification to zero_last bias.
Change-Id: I50a408d47fde049c562bbe95075194cb0f17c31b
Diffstat (limited to 'vp8/encoder/denoising.c')
-rw-r--r-- | vp8/encoder/denoising.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/vp8/encoder/denoising.c b/vp8/encoder/denoising.c index 2da0d8c0e..0c98eb1a5 100644 --- a/vp8/encoder/denoising.c +++ b/vp8/encoder/denoising.c @@ -413,9 +413,11 @@ int vp8_denoiser_allocate(VP8_DENOISER *denoiser, int width, int height, denoiser->nmse_source_diff = 0; denoiser->nmse_source_diff_count = 0; // TODO(marpan): Adjust thresholds, including effect on resolution. - denoiser->threshold_aggressive_mode = 40; + denoiser->threshold_aggressive_mode = 35; if (width * height > 640 * 480) - denoiser->threshold_aggressive_mode = 180; + denoiser->threshold_aggressive_mode = 150; + else if (width * height > 1280 * 720) + denoiser->threshold_aggressive_mode = 1400; return 0; } |