Commit c0c0edd9 authored by Marco Paniconi's avatar Marco Paniconi Committed by Gerrit Code Review

Merge "Non-rd variance partition: Adjust logic for 32->16 force split."

parents 2404e329 6f17954f
......@@ -923,7 +923,8 @@ static int choose_partitioning(VP9_COMP *cpi,
get_variance(&vt.split[i].part_variances.none);
if (vt.split[i].part_variances.none.variance > thresholds[1] ||
(!is_key_frame &&
vt.split[i].part_variances.none.variance > (3 * avg_16x16[i]) >> 2)) {
vt.split[i].part_variances.none.variance > (thresholds[1] >> 1) &&
vt.split[i].part_variances.none.variance > (avg_16x16[i] >> 1))) {
force_split[i + 1] = 1;
force_split[0] = 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