VP8: Inline traversing vp8_small_mvtree

Much faster read_mv_component, slightly faster overall

Originally committed as revision 24470 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
David Conrad
2010-07-23 21:46:25 +00:00
parent 7697cdcf95
commit ca18a478e3
2 changed files with 12 additions and 13 deletions

View File

@@ -110,16 +110,6 @@ static const int8_t vp8_pred16x16_tree_mvinter[4][2] = {
{ -VP8_MVMODE_NEW, -VP8_MVMODE_SPLIT } // '1110', '1111'
};
static const int8_t vp8_small_mvtree[7][2] = {
{ 1, 4 },
{ 2, 3 },
{ -0, -1 }, // '000', '001'
{ -2, -3 }, // '010', '011'
{ 5, 6 },
{ -4, -5 }, // '100', '101'
{ -6, -7 } // '110', '111'
};
static const uint8_t vp8_mbsplits[5][16] = {
{ 0, 0, 0, 0, 0, 0, 0, 0,
1, 1, 1, 1, 1, 1, 1, 1 },