Commit d340c114 authored by Yunqing Wang's avatar Yunqing Wang Committed by Gerrit Code Review

Merge "Add more checking to using_small_partition_info"

parents 5d86f388 215b010f
......@@ -1584,13 +1584,16 @@ static void rd_pick_partition(VP9_COMP *cpi, TOKENEXTRA **tp, int mi_row,
}
}
// Use 4 subblocks' motion estimation results to speed up current
// partition's checking.
x->fast_ms = 0;
x->pred_mv.as_int = 0;
x->subblock_ref = 0;
// Use 4 subblocks' motion estimation results to speed up current
// partition's checking.
if (cpi->sf.using_small_partition_info) {
if (cpi->sf.using_small_partition_info &&
(!cpi->sf.auto_min_max_partition_size ||
(bsize <= cpi->sf.max_partition_size &&
bsize >= cpi->sf.min_partition_size))) {
// Only use 8x8 result for non HD videos.
// int use_8x8 = (MIN(cpi->common.width, cpi->common.height) < 720) ? 1 : 0;
int use_8x8 = 1;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment