Mercurial > libavcodec.hg
diff vp8data.h @ 12352:f0ea08f4599b libavcodec
VP8: unroll partition type decoding tree
~34% faster partition type decoding.
author | darkshikari |
---|---|
date | Tue, 03 Aug 2010 11:10:58 +0000 |
parents | 3e02e2306209 |
children | d596749eb0bc |
line wrap: on
line diff
--- a/vp8data.h Tue Aug 03 10:37:14 2010 +0000 +++ b/vp8data.h Tue Aug 03 11:10:58 2010 +0000 @@ -115,12 +115,6 @@ 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 };