Commit 6bbd9321 authored by Hui Su's avatar Hui Su

Move the tx pruning flags into MACROBLOCK

So they can be generated at prediction block, and then easily
accessed by transform block.

Change-Id: I376042e8d57e00586d3cf90e237544e705b77e8b
parent c30c18f5
......@@ -365,6 +365,8 @@ struct macroblock {
int comp_idx_cost[COMP_INDEX_CONTEXTS][2];
int comp_group_idx_cost[COMP_GROUP_IDX_CONTEXTS][2];
#endif // CONFIG_JNT_COMP
// Bit flags for pruning tx type search, tx split, etc.
int tx_search_prune[EXT_TX_SET_TYPES];
};
static INLINE int is_rect_tx_allowed_bsize(BLOCK_SIZE bsize) {
......
This diff is collapsed.
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