diff msmpeg4data.h @ 307:764aeec1320e libavcodec

msmpeg4v2 decoding (no encoding yet)
author michaelni
date Fri, 05 Apr 2002 04:09:04 +0000
parents 986e461dc072
children 583dcee270d2
line wrap: on
line diff
--- a/msmpeg4data.h	Thu Apr 04 20:04:10 2002 +0000
+++ b/msmpeg4data.h	Fri Apr 05 04:09:04 2002 +0000
@@ -569,6 +569,13 @@
 extern const INT8 intra_level[102];
 extern const INT8 intra_run[102];
 
+extern const UINT8 DCtab_lum[13][2];
+extern const UINT8 DCtab_chrom[13][2];
+
+extern const UINT8 cbpy_tab[16][2];
+extern const UINT8 mvtab[33][2];
+
+
 #define NB_RL_TABLES  6
 
 static RLTable rl_table[NB_RL_TABLES] = {
@@ -1765,3 +1772,12 @@
         table1_mvy,
     }
 };
+
+static const UINT8 v2_mb_type[8][2] = {
+ {1, 1}, {0   , 2}, {3   , 3}, {9   , 5},
+ {5, 4}, {0x21, 7}, {0x20, 7}, {0x11, 6},
+};
+
+static const UINT8 v2_intra_cbpc[4][2] = {
+ {1, 1}, {0, 3}, {1, 3}, {1, 2},
+};