Commit f78b7dae authored by Marco's avatar Marco

Condition use of minmax in variance partition on speed setting.

For non-rd variance partition: only allow minmax computation
(which currently has no arm-neon optimization) for speeds < 8.

Performance loss is small: On RTC set with speed 8, few clips lose ~2/3%,
average loss is < 1%.

Change-Id: Ia9414f4d0b77dc83c3e73ca8de5d903f64b425ce
parent 2669e059
...@@ -843,7 +843,8 @@ static int choose_partitioning(VP9_COMP *cpi, ...@@ -843,7 +843,8 @@ static int choose_partitioning(VP9_COMP *cpi,
force_split[split_index] = 1; force_split[split_index] = 1;
force_split[i + 1] = 1; force_split[i + 1] = 1;
force_split[0] = 1; force_split[0] = 1;
} else if (vt.split[i].split[j].part_variances.none.variance > } else if (cpi->oxcf.speed < 8 &&
vt.split[i].split[j].part_variances.none.variance >
thresholds[1] && thresholds[1] &&
!cyclic_refresh_segment_id_boosted(segment_id)) { !cyclic_refresh_segment_id_boosted(segment_id)) {
// We have some nominal amount of 16x16 variance (based on average), // We have some nominal amount of 16x16 variance (based on average),
......
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