diff --git a/vp10/common/blockd.h b/vp10/common/blockd.h index bb943970e..291a4b240 100644 --- a/vp10/common/blockd.h +++ b/vp10/common/blockd.h @@ -239,11 +239,12 @@ typedef struct macroblockd { TXFM_CONTEXT *left_txfm_context; TXFM_CONTEXT left_txfm_context_buffer[8]; - // dimension in the unit of 8x8 block of the current block - int16_t n8_w, n8_h; TX_SIZE max_tx_size; #endif + // dimension in the unit of 8x8 block of the current block + uint8_t n8_w, n8_h; + #if CONFIG_VP9_HIGHBITDEPTH /* Bit depth: 8, 10, 12 */ int bd; diff --git a/vp10/common/onyxc_int.h b/vp10/common/onyxc_int.h index e3fef907c..dce0658ed 100644 --- a/vp10/common/onyxc_int.h +++ b/vp10/common/onyxc_int.h @@ -452,10 +452,8 @@ static INLINE void set_mi_row_col(MACROBLOCKD *xd, const TileInfo *const tile, xd->left_mbmi = NULL; } -#if CONFIG_VAR_TX xd->n8_h = bh; xd->n8_w = bw; -#endif } static INLINE const vpx_prob *get_y_mode_probs(const VP10_COMMON *cm,