Commit fe533ec6 authored by Angie Chiang's avatar Angie Chiang Committed by Debargha Mukherjee
Browse files

Refine do_adapt_scan's logic

Change-Id: I6d68f03e3f9b1e40b05503f6bb4055e2fd870893
parent 7eb7679d
......@@ -93,7 +93,7 @@ static INLINE const SCAN_ORDER *get_default_scan(TX_SIZE tx_size,
static INLINE int do_adapt_scan(TX_SIZE tx_size, TX_TYPE tx_type) {
if (tx_size == TX_32X32 && tx_type != DCT_DCT) return 0;
if (tx_size_2d[tx_size] >= 1024 && tx_type != DCT_DCT) return 0;
return tx_type < IDTX;
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