Removed unnecessary MB_MODE_INFO copies
These copies occurred for each macroblock in the encoder and decoder. Thetemp MB_MODE_INFO mbmi was removed from MACROBLOCKD. As a result, a large number compile errors had to be fixed. Change-Id: I4cf0ffae3ce244f6db04a4c217d52dd256382cf3
This commit is contained in:
@@ -95,7 +95,7 @@ void vp8_reset_mb_tokens_context(MACROBLOCKD *x)
|
||||
*(l+1) = 0;
|
||||
|
||||
/* Clear entropy contexts for Y2 blocks */
|
||||
if (x->mbmi.mode != B_PRED && x->mbmi.mode != SPLITMV)
|
||||
if (x->mode_info_context->mbmi.mode != B_PRED && x->mode_info_context->mbmi.mode != SPLITMV)
|
||||
{
|
||||
a = A[Y2CONTEXT];
|
||||
l = L[Y2CONTEXT];
|
||||
@@ -240,7 +240,7 @@ int vp8_decode_mb_tokens(VP8D_COMP *dx, MACROBLOCKD *x)
|
||||
i = 0;
|
||||
stop = 16;
|
||||
|
||||
if (x->mbmi.mode != B_PRED && x->mbmi.mode != SPLITMV)
|
||||
if (x->mode_info_context->mbmi.mode != B_PRED && x->mode_info_context->mbmi.mode != SPLITMV)
|
||||
{
|
||||
i = 24;
|
||||
stop = 24;
|
||||
|
||||
Reference in New Issue
Block a user