Commit 4ca8b1c2 authored by Jingning Han's avatar Jingning Han
Browse files

Use tx_size_from_tx_mode() to set tx_size for skip blocks

Unify the use case of largest transform block size fetch for skip

Change-Id: I5dd60eb74b266fa7cd7944d8f823dbdae75e90af
parent 1e4e29f7
......@@ -5487,8 +5487,7 @@ static void encode_superblock(const AV1_COMP *const cpi, ThreadData *td,
if (xd->lossless[mbmi->segment_id]) tx_size = TX_4X4;
tx_size = AOMMIN(tx_mode_to_biggest_tx_size[cm->tx_mode],
tx_size = tx_size_from_tx_mode(bsize, cm->tx_mode, is_inter);
tx_size = (bsize >= BLOCK_8X8) ? tx_size : TX_4X4;
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