summaryrefslogtreecommitdiff
path: root/libavcodec/vp8data.h
diff options
context:
space:
mode:
authorJason Garrett-Glaser <darkshikari@gmail.com>2010-08-03 10:24:28 +0000
committerJason Garrett-Glaser <darkshikari@gmail.com>2010-08-03 10:24:28 +0000
commit23117d69c19e3ce844f7fee805fc2f230322d92d (patch)
tree3847f77d4cf8b4f8da67e977db0540e1f0b08e00 /libavcodec/vp8data.h
parentbe665c7da6ab657b6b56c61aed02644c2c9edd83 (diff)
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
Diffstat (limited to 'libavcodec/vp8data.h')
-rw-r--r--libavcodec/vp8data.h7
1 files changed, 0 insertions, 7 deletions
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 },