From bdfb5f986e3e890d5082fab058f866482f9ae1dc Mon Sep 17 00:00:00 2001 From: Yaowu Xu Date: Wed, 4 Feb 2015 10:37:57 -0800 Subject: 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 --- vp9/encoder/vp9_encodeframe.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'vp9') 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 -- cgit v1.2.3