summaryrefslogtreecommitdiff
path: root/vp9/encoder
diff options
context:
space:
mode:
authorMarco Paniconi <marpan@google.com>2019-03-27 14:19:04 -0700
committerMarco Paniconi <marpan@google.com>2019-03-27 14:21:35 -0700
commite031f49f897c27c94448159d4ce31a1c5810a84a (patch)
treea51a739291db2d232519fe5dc7fe9dd74f0fa084 /vp9/encoder
parentc09e95fc7da1c91db3cef34dc61010ab33443eea (diff)
downloadlibvpx-e031f49f897c27c94448159d4ce31a1c5810a84a.tar
libvpx-e031f49f897c27c94448159d4ce31a1c5810a84a.tar.gz
libvpx-e031f49f897c27c94448159d4ce31a1c5810a84a.tar.bz2
libvpx-e031f49f897c27c94448159d4ce31a1c5810a84a.zip
vp9-rtc: Fix noise estimation thresh for 1080p
Use the same thresholds as for 720p for now, leads to better noise estimation on test clips. Change-Id: I55e11346a747fe149f521315a38d75e28b3e774e
Diffstat (limited to 'vp9/encoder')
-rw-r--r--vp9/encoder/vp9_noise_estimate.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vp9/encoder/vp9_noise_estimate.c b/vp9/encoder/vp9_noise_estimate.c
index bd98d221a..b60500346 100644
--- a/vp9/encoder/vp9_noise_estimate.c
+++ b/vp9/encoder/vp9_noise_estimate.c
@@ -124,7 +124,7 @@ void vp9_update_noise_estimate(VP9_COMP *const cpi) {
last_source = &cpi->denoiser.last_source;
// Tune these thresholds for different resolutions when denoising is
// enabled.
- if (cm->width > 640 && cm->width < 1920) {
+ if (cm->width > 640 && cm->width <= 1920) {
thresh_consec_zeromv = 2;
thresh_sum_diff = 200;
thresh_sum_spatial = (120 * 120) << 8;