Commit d2bfbb6f authored by Jingning Han's avatar Jingning Han

Reduce rate-distortion optimizations complexity

Skip the transform type search in the dynamic motion vector
referencing mode. Always fall back to 2D-DCT setting.

Change-Id: Ia483172e13ce0da313855106a194fee48fcc0514
parent 06795c59
......@@ -674,6 +674,11 @@ static void choose_tx_size_from_rd(AV1_COMP *cpi, MACROBLOCK *x, int *rate,
*psse = INT64_MAX;
for (tx_type = DCT_DCT; tx_type < TX_TYPES; ++tx_type) {
#if CONFIG_REF_MV
if (mbmi->ref_mv_idx > 0 && tx_type != DCT_DCT)
continue;
#endif
last_rd = INT64_MAX;
for (n = start_tx; n >= end_tx; --n) {
int r_tx_size = 0;
......
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