aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/vp8data.h
diff options
context:
space:
mode:
authorJason Garrett-Glaser <darkshikari@gmail.com>2010-08-03 11:10:58 +0000
committerJason Garrett-Glaser <darkshikari@gmail.com>2010-08-03 11:10:58 +0000
commit0908f1b945962f767a1b4963f9b62d8b00ffcfeb (patch)
tree4b9485de5d256b7309072db9e98514a8d9c3845a /libavcodec/vp8data.h
parentc5dec7f137280c7cdf770027e87630b9dcf6bd4e (diff)
downloadffmpeg-0908f1b945962f767a1b4963f9b62d8b00ffcfeb.tar.gz
VP8: unroll partition type decoding tree
~34% faster partition type decoding. Originally committed as revision 24681 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/vp8data.h')
-rw-r--r--libavcodec/vp8data.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/libavcodec/vp8data.h b/libavcodec/vp8data.h
index 43b74ca2b6..ce64262758 100644
--- a/libavcodec/vp8data.h
+++ b/libavcodec/vp8data.h
@@ -115,12 +115,6 @@ static const uint8_t vp8_mbfirstidx[4][16] = {
8, 9, 10, 11, 12, 13, 14, 15 }
};
-static const int8_t vp8_mbsplit_tree[3][2] = {
- { -VP8_SPLITMVMODE_4x4, 1 }, // '0' - 16 individual MVs
- { -VP8_SPLITMVMODE_8x8, 2 }, // '10' - quarter-based MVs
- { -VP8_SPLITMVMODE_16x8, // '110' - top/bottom MVs
- -VP8_SPLITMVMODE_8x16 } // '111' - left/right MVs
-};
static const uint8_t vp8_mbsplit_count[4] = { 2, 2, 4, 16 };
static const uint8_t vp8_mbsplit_prob[3] = { 110, 111, 150 };