fixed inconsistency of transform size decision
for MBs using i8x8 prediciton mode when hybridtransform8x8 is not enabled in configure. Change-Id: I3e3c8bb1c0261108c1c71213ca9557b0ce558036
This commit is contained in:
@@ -243,6 +243,9 @@ static void decode_macroblock(VP8D_COMP *pbi, MACROBLOCKD *xd,
|
||||
else
|
||||
#endif
|
||||
if (pbi->common.txfm_mode == ALLOW_8X8 &&
|
||||
#if !CONFIG_HYBRIDTRANSFORM8X8
|
||||
xd->mode_info_context->mbmi.mode != I8X8_PRED &&
|
||||
#endif
|
||||
xd->mode_info_context->mbmi.mode != B_PRED)
|
||||
xd->mode_info_context->mbmi.txfm_size = TX_8X8;
|
||||
else
|
||||
@@ -258,6 +261,9 @@ static void decode_macroblock(VP8D_COMP *pbi, MACROBLOCKD *xd,
|
||||
else
|
||||
#endif
|
||||
if (pbi->common.txfm_mode == ALLOW_8X8 &&
|
||||
#if !CONFIG_HYBRIDTRANSFORM8X8
|
||||
xd->mode_info_context->mbmi.mode != I8X8_PRED &&
|
||||
#endif
|
||||
xd->mode_info_context->mbmi.mode != B_PRED &&
|
||||
xd->mode_info_context->mbmi.mode != SPLITMV)
|
||||
xd->mode_info_context->mbmi.txfm_size = TX_8X8;
|
||||
@@ -616,8 +622,11 @@ static void decode_macroblock(VP8D_COMP *pbi, MACROBLOCKD *xd,
|
||||
#if CONFIG_SUPERBLOCKS
|
||||
if (!xd->mode_info_context->mbmi.encoded_as_sb) {
|
||||
#endif
|
||||
if ((tx_type == TX_8X8 &&
|
||||
xd->mode_info_context->mbmi.mode != I8X8_PRED)
|
||||
if ((tx_type == TX_8X8
|
||||
#if CONFIG_HYBRIDTRANSFORM8X8
|
||||
&& xd->mode_info_context->mbmi.mode != I8X8_PRED
|
||||
#endif
|
||||
)
|
||||
#if CONFIG_TX16X16 || CONFIG_HYBRIDTRANSFORM16X16
|
||||
|| tx_type == TX_16X16
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user