diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2002-04-05 04:09:04 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2002-04-05 04:09:04 +0000 |
commit | 84afee348f7342f60cf803d398be0013a5fcddc5 (patch) | |
tree | 05d00a0dc176d75d65031bd4a86f2bfdea5a56ed /libavcodec/msmpeg4data.h | |
parent | fcb609f4324549b29849487716557cb3a321af17 (diff) | |
download | ffmpeg-84afee348f7342f60cf803d398be0013a5fcddc5.tar.gz |
msmpeg4v2 decoding (no encoding yet)
Originally committed as revision 376 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/msmpeg4data.h')
-rw-r--r-- | libavcodec/msmpeg4data.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/libavcodec/msmpeg4data.h b/libavcodec/msmpeg4data.h index 03a2612114..9dcb8276fc 100644 --- a/libavcodec/msmpeg4data.h +++ b/libavcodec/msmpeg4data.h @@ -569,6 +569,13 @@ extern const UINT16 intra_vlc[103][2]; 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 @@ static MVTable mv_tables[2] = { 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}, +}; |