]> rtime.felk.cvut.cz Git - frescor/ffmpeg.git/blob - libavcodec/msmpeg4data.h
split msmpeg4 data to easily share some of it with vc1.c
[frescor/ffmpeg.git] / libavcodec / msmpeg4data.h
1 /*
2  * MSMPEG4 backend for ffmpeg encoder and decoder
3  * copyright (c) 2001 Fabrice Bellard
4  * copyright (c) 2002-2004 Michael Niedermayer <michaelni@gmx.at>
5  *
6  * This file is part of FFmpeg.
7  *
8  * FFmpeg is free software; you can redistribute it and/or
9  * modify it under the terms of the GNU Lesser General Public
10  * License as published by the Free Software Foundation; either
11  * version 2.1 of the License, or (at your option) any later version.
12  *
13  * FFmpeg is distributed in the hope that it will be useful,
14  * but WITHOUT ANY WARRANTY; without even the implied warranty of
15  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
16  * Lesser General Public License for more details.
17  *
18  * You should have received a copy of the GNU Lesser General Public
19  * License along with FFmpeg; if not, write to the Free Software
20  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
21  *
22  * msmpeg4v1 & v2 stuff by Michael Niedermayer <michaelni@gmx.at>
23  */
24
25 /**
26  * @file msmpeg4data.h
27  * MSMPEG4 data tables.
28  */
29
30 #ifndef MSMPEG4DATA_H
31 #define MSMPEG4DATA_H
32
33 #include "common.h"
34 #include "bitstream.h"
35
36 extern VLC ff_msmp4_mb_i_vlc;
37 extern VLC ff_msmp4_dc_luma_vlc[2];
38 extern VLC ff_msmp4_dc_chroma_vlc[2];
39
40 /* intra picture macro block coded block pattern */
41 extern const uint16_t ff_msmp4_mb_i_table[64][2];
42
43 #endif /* MSMPEG4DATA_H */