diff options
author | Scott LaVarnway <slavarnway@google.com> | 2010-08-12 16:25:43 -0400 |
---|---|---|
committer | Scott LaVarnway <slavarnway@google.com> | 2010-08-12 16:25:43 -0400 |
commit | 9c7a0090e0c8e4dda45570d273b9cd228b58e9d6 (patch) | |
tree | 53ffc762ba908ace52f0ba20f86e16a80e5e9d7e /vp8/decoder/detokenize.c | |
parent | f5615b6149037aa1c18703d6272c7273c43b5c6a (diff) | |
download | libvpx-9c7a0090e0c8e4dda45570d273b9cd228b58e9d6.tar libvpx-9c7a0090e0c8e4dda45570d273b9cd228b58e9d6.tar.gz libvpx-9c7a0090e0c8e4dda45570d273b9cd228b58e9d6.tar.bz2 libvpx-9c7a0090e0c8e4dda45570d273b9cd228b58e9d6.zip |
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
Diffstat (limited to 'vp8/decoder/detokenize.c')
-rw-r--r-- | vp8/decoder/detokenize.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vp8/decoder/detokenize.c b/vp8/decoder/detokenize.c index 09547966d..740741745 100644 --- a/vp8/decoder/detokenize.c +++ b/vp8/decoder/detokenize.c @@ -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; |