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:
@@ -53,7 +53,7 @@ void vp8_encode_intra4x4block(const VP8_ENCODER_RTCD *rtcd, MACROBLOCK *x, BLOCK
|
||||
|
||||
x->quantize_b(be, b);
|
||||
|
||||
x->e_mbd.mbmi.mb_skip_coeff &= (!b->eob);
|
||||
x->e_mbd.mode_info_context->mbmi.mb_skip_coeff &= (!b->eob);
|
||||
|
||||
vp8_inverse_transform_b(IF_RTCD(&rtcd->common->idct), b, 32);
|
||||
|
||||
@@ -70,7 +70,7 @@ void vp8_encode_intra4x4block_rd(const VP8_ENCODER_RTCD *rtcd, MACROBLOCK *x, BL
|
||||
|
||||
x->quantize_b(be, b);
|
||||
|
||||
x->e_mbd.mbmi.mb_skip_coeff &= (!b->eob);
|
||||
x->e_mbd.mode_info_context->mbmi.mb_skip_coeff &= (!b->eob);
|
||||
|
||||
IDCT_INVOKE(&rtcd->common->idct, idct16)(b->dqcoeff, b->diff, 32);
|
||||
|
||||
@@ -124,7 +124,7 @@ void vp8_encode_intra16x16mby(const VP8_ENCODER_RTCD *rtcd, MACROBLOCK *x)
|
||||
{
|
||||
BLOCKD *d = &x->e_mbd.block[b];
|
||||
|
||||
switch (x->e_mbd.mbmi.mode)
|
||||
switch (x->e_mbd.mode_info_context->mbmi.mode)
|
||||
{
|
||||
|
||||
case DC_PRED:
|
||||
@@ -157,7 +157,7 @@ void vp8_encode_intra16x16mbyrd(const VP8_ENCODER_RTCD *rtcd, MACROBLOCK *x)
|
||||
|
||||
vp8_transform_intra_mby(x);
|
||||
|
||||
x->e_mbd.mbmi.mb_skip_coeff = 1;
|
||||
x->e_mbd.mode_info_context->mbmi.mb_skip_coeff = 1;
|
||||
|
||||
vp8_quantize_mby(x);
|
||||
|
||||
@@ -170,7 +170,7 @@ void vp8_encode_intra16x16mbyrd(const VP8_ENCODER_RTCD *rtcd, MACROBLOCK *x)
|
||||
{
|
||||
BLOCKD *d = &x->e_mbd.block[b];
|
||||
|
||||
switch (x->e_mbd.mbmi.mode)
|
||||
switch (x->e_mbd.mode_info_context->mbmi.mode)
|
||||
{
|
||||
|
||||
case DC_PRED:
|
||||
|
||||
Reference in New Issue
Block a user