summaryrefslogtreecommitdiff
path: root/vp9/encoder/vp9_encodeframe.c
diff options
context:
space:
mode:
authorMarco <marpan@google.com>2015-11-11 18:05:11 -0800
committerMarco <marpan@google.com>2015-11-11 18:06:21 -0800
commit1827764450def2970b1866f10d0c359e6d118069 (patch)
tree09639c1e952574cfc9a08f359134fb6a706a5ab7 /vp9/encoder/vp9_encodeframe.c
parent4d38dbdfb597902528dc72cbe6d87ffe30574dd9 (diff)
downloadlibvpx-1827764450def2970b1866f10d0c359e6d118069.tar
libvpx-1827764450def2970b1866f10d0c359e6d118069.tar.gz
libvpx-1827764450def2970b1866f10d0c359e6d118069.tar.bz2
libvpx-1827764450def2970b1866f10d0c359e6d118069.zip
Adjust varianace threshold for high noise condition.
Change-Id: I91c722e480328ff95b8c57614d8176ccaceb2539
Diffstat (limited to 'vp9/encoder/vp9_encodeframe.c')
-rw-r--r--vp9/encoder/vp9_encodeframe.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vp9/encoder/vp9_encodeframe.c b/vp9/encoder/vp9_encodeframe.c
index 9d66839f9..93cf25c02 100644
--- a/vp9/encoder/vp9_encodeframe.c
+++ b/vp9/encoder/vp9_encodeframe.c
@@ -492,7 +492,7 @@ static void set_vbp_thresholds(VP9_COMP *cpi, int64_t thresholds[], int q) {
// Increase base variance threshold if estimated noise level is high.
if (cpi->noise_estimate.enabled) {
if (cpi->noise_estimate.level == kHigh)
- threshold_base = threshold_base << 2;
+ threshold_base = 3 * threshold_base;
else
if (cpi->noise_estimate.level == kMedium)
threshold_base = threshold_base << 1;