summaryrefslogtreecommitdiff
path: root/vp9/encoder/vp9_onyx_if.c
diff options
context:
space:
mode:
authorYaowu Xu <yaowu@google.com>2014-01-29 10:03:07 -0800
committerYaowu Xu <yaowu@google.com>2014-01-29 14:51:51 -0800
commit1ca118652901b8ea8beccc71bc7079c77cc5554d (patch)
treef8cd1739c64af9244ef61ef24645c2b37a05c6fd /vp9/encoder/vp9_onyx_if.c
parentc382136122ce7bb96e207e9f7ae646c656f7ff73 (diff)
downloadlibvpx-1ca118652901b8ea8beccc71bc7079c77cc5554d.tar
libvpx-1ca118652901b8ea8beccc71bc7079c77cc5554d.tar.gz
libvpx-1ca118652901b8ea8beccc71bc7079c77cc5554d.tar.bz2
libvpx-1ca118652901b8ea8beccc71bc7079c77cc5554d.zip
Add a strict mode for auto_min_max_partition_size feature
In this new mode, the size range is strictly determined by the min and max partition size in neighborhood blocks. Niklas720 encoding time at cpu-used -5 goes from 56250ms to 50676ms, a 10% reduction. Change-Id: I316b0e2ac967ff3fad57b28d69c0ec80b7d8b34e
Diffstat (limited to 'vp9/encoder/vp9_onyx_if.c')
-rw-r--r--vp9/encoder/vp9_onyx_if.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/vp9/encoder/vp9_onyx_if.c b/vp9/encoder/vp9_onyx_if.c
index 8f06af14b..4a0138eb2 100644
--- a/vp9/encoder/vp9_onyx_if.c
+++ b/vp9/encoder/vp9_onyx_if.c
@@ -839,6 +839,7 @@ static void set_rt_speed_feature(VP9_COMMON *cm,
if (speed >= 5) {
int i;
sf->disable_split_mask = DISABLE_ALL_SPLIT;
+ sf->auto_min_max_partition_size = 2;
sf->subpel_force_stop = 1;
for (i = 0; i < TX_SIZES; i++) {
sf->intra_y_mode_mask[i] = INTRA_DC_H_V;