Index: source/libvpx/vp9/common/vp9_blockd.h |
diff --git a/source/libvpx/vp9/common/vp9_blockd.h b/source/libvpx/vp9/common/vp9_blockd.h |
index 124057634c797cc2ef7b3fae852c6a56b82e9041..018a9c2b975550456c2ceaae5d56e00aeabb0986 100644 |
--- a/source/libvpx/vp9/common/vp9_blockd.h |
+++ b/source/libvpx/vp9/common/vp9_blockd.h |
@@ -130,7 +130,6 @@ typedef struct { |
} MB_MODE_INFO; |
typedef struct MODE_INFO { |
- struct MODE_INFO *src_mi; |
MB_MODE_INFO mbmi; |
b_mode_info bmi[4]; |
} MODE_INFO; |
@@ -191,7 +190,7 @@ typedef struct macroblockd { |
int mi_stride; |
- MODE_INFO *mi; |
+ MODE_INFO **mi; |
MODE_INFO *left_mi; |
MODE_INFO *above_mi; |
MB_MODE_INFO *left_mbmi; |
@@ -245,7 +244,7 @@ extern const TX_TYPE intra_mode_to_tx_type_lookup[INTRA_MODES]; |
static INLINE TX_TYPE get_tx_type(PLANE_TYPE plane_type, |
const MACROBLOCKD *xd) { |
- const MB_MODE_INFO *const mbmi = &xd->mi[0].src_mi->mbmi; |
+ const MB_MODE_INFO *const mbmi = &xd->mi[0]->mbmi; |
if (plane_type != PLANE_TYPE_Y || xd->lossless || is_inter_block(mbmi)) |
return DCT_DCT; |
@@ -255,7 +254,7 @@ static INLINE TX_TYPE get_tx_type(PLANE_TYPE plane_type, |
static INLINE TX_TYPE get_tx_type_4x4(PLANE_TYPE plane_type, |
const MACROBLOCKD *xd, int ib) { |
- const MODE_INFO *const mi = xd->mi[0].src_mi; |
+ const MODE_INFO *const mi = xd->mi[0]; |
if (plane_type != PLANE_TYPE_Y || xd->lossless || is_inter_block(&mi->mbmi)) |
return DCT_DCT; |