From 0908f1b945962f767a1b4963f9b62d8b00ffcfeb Mon Sep 17 00:00:00 2001 From: Jason Garrett-Glaser Date: Tue, 3 Aug 2010 11:10:58 +0000 Subject: VP8: unroll partition type decoding tree ~34% faster partition type decoding. Originally committed as revision 24681 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/vp8data.h | 6 ------ 1 file changed, 6 deletions(-) (limited to 'libavcodec/vp8data.h') 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 }; -- cgit v1.2.3