diff options
author | Yaowu Xu <yaowu@google.com> | 2015-02-04 10:37:57 -0800 |
---|---|---|
committer | Yaowu Xu <yaowu@google.com> | 2015-02-04 11:28:39 -0800 |
commit | bdfb5f986e3e890d5082fab058f866482f9ae1dc (patch) | |
tree | 76020bf60e53f6c51791b2679a580e6c420cad99 /vp9 | |
parent | 3a5d40608ef5603764f45ec33448f5c013b875b4 (diff) | |
download | libvpx-bdfb5f986e3e890d5082fab058f866482f9ae1dc.tar libvpx-bdfb5f986e3e890d5082fab058f866482f9ae1dc.tar.gz libvpx-bdfb5f986e3e890d5082fab058f866482f9ae1dc.tar.bz2 libvpx-bdfb5f986e3e890d5082fab058f866482f9ae1dc.zip |
Adjust partitioning threshold based rtc speed
On rtc set:
speed 7 quality improves about 0.5%
speed 8 quality improves about 1.0%
Encoding time for speed 7 changes from 67804ms to 65889ms
Encoding time for speed 8 changes from 58659ms to 56808ms
Change-Id: Iabcfb53012fc1b9f3326cdbc167e5758b8c7ad30
Diffstat (limited to 'vp9')
-rw-r--r-- | vp9/encoder/vp9_encodeframe.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vp9/encoder/vp9_encodeframe.c b/vp9/encoder/vp9_encodeframe.c index 091013060..241ef9fe3 100644 --- a/vp9/encoder/vp9_encodeframe.c +++ b/vp9/encoder/vp9_encodeframe.c @@ -504,7 +504,7 @@ static void choose_partitioning(VP9_COMP *cpi, threshold_base = (int64_t)(threshold_multiplier * vp9_convert_qindex_to_q(cm->base_qindex, cm->bit_depth)); threshold = threshold_base; - threshold_bsize_min = threshold_base << 6; + threshold_bsize_min = threshold_base << cpi->oxcf.speed; threshold_bsize_max = threshold_base; // Modify thresholds for key frame and for low-resolutions (set lower |