summaryrefslogtreecommitdiff
path: root/vp9/encoder/vp9_encodeframe.c
diff options
context:
space:
mode:
authorjackychen <jackychen@google.com>2015-12-14 14:45:28 -0800
committerjackychen <jackychen@google.com>2015-12-14 15:38:20 -0800
commite15fedb9258251bbb07def57e49e2bd1e0c4c538 (patch)
treecc105f1ab682cbd6d6c997562d0946a714bc9b5f /vp9/encoder/vp9_encodeframe.c
parent2404e3290e51b776dc16c5c082bbd39e45a15b10 (diff)
downloadlibvpx-e15fedb9258251bbb07def57e49e2bd1e0c4c538.tar
libvpx-e15fedb9258251bbb07def57e49e2bd1e0c4c538.tar.gz
libvpx-e15fedb9258251bbb07def57e49e2bd1e0c4c538.tar.bz2
libvpx-e15fedb9258251bbb07def57e49e2bd1e0c4c538.zip
Add "unknown" status for noise estimation.
Change-Id: I0fe95332ccfa2e1ad2a01a8e7ddd631289e0f8eb
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 1606b16a2..89f2bd9b8 100644
--- a/vp9/encoder/vp9_encodeframe.c
+++ b/vp9/encoder/vp9_encodeframe.c
@@ -496,7 +496,7 @@ static void set_vbp_thresholds(VP9_COMP *cpi, int64_t thresholds[], int q) {
threshold_base = 3 * threshold_base;
else if (noise_level == kMedium)
threshold_base = threshold_base << 1;
- else if (noise_level < kLow)
+ else if (noise_level == kLowLow)
threshold_base = (7 * threshold_base) >> 3;
}
if (cm->width <= 352 && cm->height <= 288) {