projects
/
platform
/
upstream
/
libvpx.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7e272e8
)
Non-rd variance partition: Adjust thresholds for 1080p.
author
Marco
<marpan@google.com>
Wed, 27 May 2015 19:30:35 +0000
(12:30 -0700)
committer
Marco
<marpan@google.com>
Wed, 27 May 2015 19:30:35 +0000
(12:30 -0700)
Increase the 32x32 split threshold, to allow for more 32x32
at expense of 16x16. Visually looks somewhat better.
Change-Id: Ia1439c3a0dc2d7933468b88bd59266fcd9f03505
vp9/encoder/vp9_encodeframe.c
patch
|
blob
|
history
diff --git
a/vp9/encoder/vp9_encodeframe.c
b/vp9/encoder/vp9_encodeframe.c
index
0c8bab9
..
a8adca9
100644
(file)
--- a/
vp9/encoder/vp9_encodeframe.c
+++ b/
vp9/encoder/vp9_encodeframe.c
@@
-487,6
+487,8
@@
static void set_vbp_thresholds(VP9_COMP *cpi, int64_t thresholds[], int q) {
} else {
thresholds[0] = threshold_base;
thresholds[1] = (5 * threshold_base) >> 2;
+ if (cm->width >= 1920 && cm->height >= 1080)
+ thresholds[1] = (7 * threshold_base) >> 2;
thresholds[2] = threshold_base << cpi->oxcf.speed;
}
}