diff options
author | Marco Paniconi <marpan@google.com> | 2017-05-11 21:58:40 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2017-05-11 21:58:40 +0000 |
commit | 37cdd3bfc27ef2e73da8d07e6f0fc571f52f62f5 (patch) | |
tree | 147ecd778a7b91da71c39a6600d036f53ada53ea | |
parent | c5a4376aed2ef26665343853a8f8a1a94bea1b77 (diff) | |
parent | 2f11a65c99dd83bc7b7b055b226924d5bb8d7fb2 (diff) | |
download | libvpx-37cdd3bfc27ef2e73da8d07e6f0fc571f52f62f5.tar libvpx-37cdd3bfc27ef2e73da8d07e6f0fc571f52f62f5.tar.gz libvpx-37cdd3bfc27ef2e73da8d07e6f0fc571f52f62f5.tar.bz2 libvpx-37cdd3bfc27ef2e73da8d07e6f0fc571f52f62f5.zip |
Merge "vp9; Adjust noise estimation thresholds."
-rw-r--r-- | vp9/encoder/vp9_noise_estimate.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vp9/encoder/vp9_noise_estimate.c b/vp9/encoder/vp9_noise_estimate.c index c769407df..e2239b44b 100644 --- a/vp9/encoder/vp9_noise_estimate.c +++ b/vp9/encoder/vp9_noise_estimate.c @@ -32,7 +32,7 @@ void vp9_noise_estimate_init(NOISE_ESTIMATE *const ne, int width, int height) { if (width * height >= 1920 * 1080) { ne->thresh = 200; } else if (width * height >= 1280 * 720) { - ne->thresh = 150; + ne->thresh = 140; } else if (width * height >= 640 * 360) { ne->thresh = 100; } @@ -116,7 +116,7 @@ void vp9_update_noise_estimate(VP9_COMP *const cpi) { // Tune these thresholds for different resolutions when denoising is // enabled. if (cm->width > 640 && cm->width < 1920) { - thresh_consec_zeromv = 5; + thresh_consec_zeromv = 4; thresh_sum_diff = 200; thresh_sum_spatial = (120 * 120) << 8; thresh_spatial_var = (48 * 48) << 8; |