Refactoring tx-types to add more flexibility

Allows inter and intra tx_types to have different sets of
transforms for different tx_size/sb_type combinations.

Change-Id: Ic0ac1daef7a9fb15c4210271e4d04cd36e5cec8e
This commit is contained in:
Debargha Mukherjee
2015-10-12 12:30:55 -07:00
parent 71c156070c
commit 8a4292441f
14 changed files with 594 additions and 292 deletions

View File

@@ -467,8 +467,9 @@ typedef struct VP10_COMP {
int palette_uv_color_cost[PALETTE_MAX_SIZE - 1][PALETTE_COLOR_CONTEXTS]
[PALETTE_COLORS];
#if CONFIG_EXT_TX
int inter_tx_type_costs[EXT_TX_SIZES][TX_TYPES];
int intra_tx_type_costs[EXT_TX_SIZES][INTRA_MODES][TX_TYPES];
int inter_tx_type_costs[EXT_TX_SETS_INTER][EXT_TX_SIZES][TX_TYPES];
int intra_tx_type_costs[EXT_TX_SETS_INTRA][EXT_TX_SIZES][INTRA_MODES]
[TX_TYPES];
#endif // CONFIG_EXT_TX
int multi_arf_allowed;