summaryrefslogtreecommitdiff
path: root/vp9
diff options
context:
space:
mode:
authorYaowu Xu <yaowu@google.com>2015-02-04 12:52:03 -0800
committerGerrit Code Review <gerrit@gerrit.golo.chromium.org>2015-02-04 12:52:03 -0800
commita844a778c71919822ee472214738c13bd97cb41c (patch)
treecfa34481a4e550fffea8d3de4fc68e46c19fcd3c /vp9
parent3bc0c6576f161a1cb0d5924bd9cac850306982a0 (diff)
parentbdfb5f986e3e890d5082fab058f866482f9ae1dc (diff)
downloadlibvpx-a844a778c71919822ee472214738c13bd97cb41c.tar
libvpx-a844a778c71919822ee472214738c13bd97cb41c.tar.gz
libvpx-a844a778c71919822ee472214738c13bd97cb41c.tar.bz2
libvpx-a844a778c71919822ee472214738c13bd97cb41c.zip
Merge "Adjust partitioning threshold based rtc speed"
Diffstat (limited to 'vp9')
-rw-r--r--vp9/encoder/vp9_encodeframe.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vp9/encoder/vp9_encodeframe.c b/vp9/encoder/vp9_encodeframe.c
index 5ddb6ca0a..1e669f4a5 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