projects
/
libvpx
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b4fa2bd
)
vp9-rtc: Set init noise level based on resoln
author
Marco Paniconi
<marpan@google.com>
Fri, 1 Mar 2019 03:58:08 +0000
(19:58 -0800)
committer
Marco Paniconi
<marpan@google.com>
Fri, 1 Mar 2019 03:59:13 +0000
(19:59 -0800)
Avoid the kLow init level for lower resolns.
Change-Id: I1c9968a6891668b5887e35695f2a44158a4b3a18
vp9/encoder/vp9_noise_estimate.c
patch
|
blob
|
history
diff --git
a/vp9/encoder/vp9_noise_estimate.c
b/vp9/encoder/vp9_noise_estimate.c
index d661a66aae5b7b528d0233ff72c35514b95b9baf..bd98d221a0b07e17a9a73b8d741dd8364e1e9309 100644
(file)
--- a/
vp9/encoder/vp9_noise_estimate.c
+++ b/
vp9/encoder/vp9_noise_estimate.c
@@
-32,7
+32,7
@@
static INLINE int noise_est_svc(const struct VP9_COMP *const cpi) {
void vp9_noise_estimate_init(NOISE_ESTIMATE *const ne, int width, int height) {
ne->enabled = 0;
- ne->level = kLow;
+ ne->level =
(width * height < 1280 * 720) ? kLowLow :
kLow;
ne->value = 0;
ne->count = 0;
ne->thresh = 90;