From 23117d69c19e3ce844f7fee805fc2f230322d92d Mon Sep 17 00:00:00 2001 From: Jason Garrett-Glaser Date: Tue, 3 Aug 2010 10:24:28 +0000 Subject: VP8: unroll MB mode decoding tree ~50% faster MB mode decoding, plus eliminate a costly switch. Originally committed as revision 24679 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/vp8data.h | 7 ------- 1 file changed, 7 deletions(-) (limited to 'libavcodec/vp8data.h') diff --git a/libavcodec/vp8data.h b/libavcodec/vp8data.h index 28cc0b3403..d3a47fcc65 100644 --- a/libavcodec/vp8data.h +++ b/libavcodec/vp8data.h @@ -103,13 +103,6 @@ static const int vp8_mode_contexts[6][4] = { { 234, 188, 128, 28 }, }; -static const int8_t vp8_pred16x16_tree_mvinter[4][2] = { - { -VP8_MVMODE_ZERO, 1 }, // '0' - { -VP8_MVMODE_NEAREST, 2 }, // '10' - { -VP8_MVMODE_NEAR, 3 }, // '110' - { -VP8_MVMODE_NEW, -VP8_MVMODE_SPLIT } // '1110', '1111' -}; - static const uint8_t vp8_mbsplits[5][16] = { { 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1 }, -- cgit v1.2.3