Unverified Commit 8a721b62 authored by Yushin Cho's avatar Yushin Cho Committed by GitHub
Browse files

Enable full early-exit for bottomup partition search (#991)

In addition to PARTITION_SPLIT, fully enable early-exit for HORZ
and VERT partition types. This gives further reduction of encoding time
at speed 0, now x3 and x2 for Qindex 252 and 220, resp.

It turns out that the broken directional intra prediction has been
the curprit of bdrate change when enabling full early-exit with bottomup
partition search.
parent 613dc7fa
......@@ -2568,7 +2568,7 @@ fn encode_partition_bottomup(
if fi.enable_early_exit && (rd_cost >= best_rd || rd_cost >= ref_rd_cost) {
assert!(cost != std::f64::MAX);
early_exit = true;
if partition == PartitionType::PARTITION_SPLIT { break; }
break;
}
else {
if partition != PartitionType::PARTITION_SPLIT {
......
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