Commit 16a9df75 authored by Jingning Han's avatar Jingning Han

Reduce best rdcost value in transform partition search

Adaptively reduce the best rate-distortion cost value in the
recursive transform block partition search. For bus CIF at 1000 kbps
this reduces the encoding time from 1864 seconds to 1756 seconds,
about 6% speed up.

Change-Id: I5433a1825c0f8b13fcc5ab7e19713a98969d53fc
parent d6bdd46b
......@@ -4705,6 +4705,8 @@ static void select_tx_block(const AV1_COMP *cpi, MACROBLOCK *x, int blk_row,
assert(tx_size < TX_SIZES_ALL);
ref_best_rd = AOMMIN(this_rd, ref_best_rd);
for (i = 0; i < 4 && this_cost_valid; ++i) {
int offsetr = blk_row + (i >> 1) * bsl;
int offsetc = blk_col + (i & 0x01) * bsl;
......
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