Commit a4808100 authored by Hui Su's avatar Hui Su
Browse files

Remove max_tx_size in MACROBLOCKD

This variable is unused.

Change-Id: I8ee9c588898417e956e7cd7993ff54cbb885285e
parent 80093042
......@@ -753,8 +753,6 @@ typedef struct macroblockd {
TXFM_CONTEXT *above_txfm_context;
TXFM_CONTEXT *left_txfm_context;
TXFM_CONTEXT left_txfm_context_buffer[2 * MAX_MIB_SIZE];
TX_SIZE max_tx_size;
#endif
#if CONFIG_LOOP_RESTORATION
......
......@@ -674,10 +674,6 @@ static void set_offsets(AV1_COMMON *const cm, MACROBLOCKD *const xd,
set_plane_n4(xd, bw, bh);
set_skip_context(xd, mi_row, mi_col);
#if CONFIG_VAR_TX
xd->max_tx_size = max_txsize_lookup[bsize];
#endif
// Distance of Mb to the various image edges. These are specified to 8th pel
// as they are always compared to values that are in 1/8th pel units
set_mi_row_col(xd, tile, mi_row, bh, mi_col, bw,
......
......@@ -247,7 +247,6 @@ static void set_offsets_without_segment_id(const AV1_COMP *const cpi,
cm->above_txfm_context + (mi_col << TX_UNIT_WIDE_LOG2);
xd->left_txfm_context = xd->left_txfm_context_buffer +
((mi_row & MAX_MIB_MASK) << TX_UNIT_HIGH_LOG2);
xd->max_tx_size = max_txsize_lookup[bsize];
#endif
// Set up destination pointers.
......
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