]> granicus.if.org Git - libvpx/commit
Remove redundant mode update in sub8x8 decoding
authorJingning Han <jingning@google.com>
Tue, 24 Sep 2013 00:06:27 +0000 (17:06 -0700)
committerJingning Han <jingning@google.com>
Tue, 24 Sep 2013 00:21:40 +0000 (17:21 -0700)
commite85eaf6acd9c446cbfa25b90d2f1b115a0d85843
tree61d0e845738756326f96e0862ad528a6d8e08ae3
parent54c87058bfa5124408f0725deb8373ef94c4b98e
Remove redundant mode update in sub8x8 decoding

The probability model used to code prediction mode is conditioned
on the immediate above and left 8x8 blocks' prediction modes. When
the above/left block is coded in sub8x8 mode, we use the prediction
mode of the bottom-right sub8x8 block as the reference to generate
the context.

This commit moves the update of mbmi.mode out of the sub8x8 decoding
loop, hence removing redundant update steps and keeping the bottom-
right block's mode for the decoding process of next blocks.

Change-Id: I1e8d749684d201c1a1151697621efa5d569218b6
vp9/decoder/vp9_decodemv.c