diff vp8data.h @ 12350:db60aff8eeef libavcodec

VP8: unroll MB mode decoding tree ~50% faster MB mode decoding, plus eliminate a costly switch.
author darkshikari
date Tue, 03 Aug 2010 10:24:28 +0000
parents a18ab740d2db
children 3e02e2306209
line wrap: on
line diff
--- a/vp8data.h	Tue Aug 03 08:06:08 2010 +0000
+++ b/vp8data.h	Tue Aug 03 10:24:28 2010 +0000
@@ -103,13 +103,6 @@
     { 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  },