From c5dec7f137280c7cdf770027e87630b9dcf6bd4e Mon Sep 17 00:00:00 2001 From: Jason Garrett-Glaser Date: Tue, 3 Aug 2010 10:37:14 +0000 Subject: VP8: unroll splitmv decoding tree Much faster splitmv mode decoding. Originally committed as revision 24680 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/vp8data.h | 13 ------------- 1 file changed, 13 deletions(-) (limited to 'libavcodec/vp8data.h') diff --git a/libavcodec/vp8data.h b/libavcodec/vp8data.h index d3a47fcc65..43b74ca2b6 100644 --- a/libavcodec/vp8data.h +++ b/libavcodec/vp8data.h @@ -55,13 +55,6 @@ enum inter_mvmode { VP8_MVMODE_SPLIT }; -enum inter_submvmode { - VP8_SUBMVMODE_LEFT4X4, - VP8_SUBMVMODE_TOP4X4, - VP8_SUBMVMODE_ZERO4X4, - VP8_SUBMVMODE_NEW4X4 -}; - enum inter_splitmvmode { VP8_SPLITMVMODE_16x8 = 0, ///< 2 16x8 blocks (vertical) VP8_SPLITMVMODE_8x16, ///< 2 8x16 blocks (horizontal) @@ -139,12 +132,6 @@ static const uint8_t vp8_submv_prob[5][3] = { { 208, 1, 1 } }; -static const int8_t vp8_submv_ref_tree[3][2] = { - { -VP8_SUBMVMODE_LEFT4X4, 1 }, // '0' - { -VP8_SUBMVMODE_TOP4X4, 2 }, // '10' - { -VP8_SUBMVMODE_ZERO4X4, -VP8_SUBMVMODE_NEW4X4 } // '110', '111' -}; - static const uint8_t vp8_pred16x16_prob_intra[4] = { 145, 156, 163, 128 }; static const uint8_t vp8_pred16x16_prob_inter[4] = { 112, 86, 140, 37 }; -- cgit v1.2.3