Commit d39f6b33 authored by Angie Chiang's avatar Angie Chiang

Turn off adapt_scan for IDTX/1D txfms

The performance stay the same compared to turn on adpat_scan for
all txfms

The  performance of adapt_scan on top of ext_tx are
lowres: 0.517%
midres: 0.484%
hdres:  0.639%

Change-Id: Ic148dbe9c0af4554bbbe3f7012625f389f997289
parent 57127c52
......@@ -84,12 +84,18 @@ static INLINE const SCAN_ORDER *get_scan(const AV1_COMMON *cm, TX_SIZE tx_size,
// use the DCT_DCT scan order for MRC_DCT for now
if (tx_type == MRC_DCT) tx_type = DCT_DCT;
#endif // CONFIG_MRC_TX
const int is_inter = is_inter_block(mbmi);
#if CONFIG_ADAPT_SCAN
(void)mbmi;
return &cm->fc->sc[tx_size][tx_type];
(void)is_inter;
#if CONFIG_EXT_TX
if (tx_type >= IDTX)
return get_default_scan(tx_size, tx_type, is_inter);
else
#endif // CONFIG_EXT_TX
return &cm->fc->sc[tx_size][tx_type];
#else // CONFIG_ADAPT_SCAN
(void)cm;
const int is_inter = is_inter_block(mbmi);
return get_default_scan(tx_size, tx_type, is_inter);
#endif // CONFIG_ADAPT_SCAN
}
......
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