FFmpeg
msmpeg4_vc1_data.h
Go to the documentation of this file.
1 /*
2  * Common MSMPEG-4 and VC-1 tables
3  * Copyright (c) 2001 Fabrice Bellard
4  * Copyright (c) 2002-2004 Michael Niedermayer <michaelni@gmx.at>
5  *
6  * msmpeg4v1 & v2 stuff by Michael Niedermayer <michaelni@gmx.at>
7  *
8  * This file is part of FFmpeg.
9  *
10  * FFmpeg is free software; you can redistribute it and/or
11  * modify it under the terms of the GNU Lesser General Public
12  * License as published by the Free Software Foundation; either
13  * version 2.1 of the License, or (at your option) any later version.
14  *
15  * FFmpeg is distributed in the hope that it will be useful,
16  * but WITHOUT ANY WARRANTY; without even the implied warranty of
17  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
18  * Lesser General Public License for more details.
19  *
20  * You should have received a copy of the GNU Lesser General Public
21  * License along with FFmpeg; if not, write to the Free Software
22  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
23  */
24 
25 #ifndef AVCODEC_MSMPEG4_VC1_DATA_H
26 #define AVCODEC_MSMPEG4_VC1_DATA_H
27 
28 #include <stdint.h>
29 
30 #include "vlc.h"
32 
35 
36 #define MSMP4_MB_INTRA_VLC_BITS 9
37 extern VLC ff_msmp4_mb_i_vlc;
38 #define MSMP4_DC_VLC_BITS 9
39 extern VLC ff_msmp4_dc_luma_vlc[2];
40 extern VLC ff_msmp4_dc_chroma_vlc[2];
41 
42 /* intra picture macroblock coded block pattern */
43 extern const uint16_t ff_msmp4_mb_i_table[64][2];
44 
45 #define WMV1_SCANTABLE_COUNT 4
46 
47 extern const uint8_t ff_wmv1_scantable[WMV1_SCANTABLE_COUNT][64];
48 
49 extern const uint32_t ff_table0_dc_lum[120][2];
50 extern const uint32_t ff_table1_dc_lum[120][2];
51 extern const uint32_t ff_table0_dc_chroma[120][2];
52 extern const uint32_t ff_table1_dc_chroma[120][2];
54 
55 #endif /* AVCODEC_MSMPEG4_VC1_DATA_H */
ff_table0_dc_lum
const uint32_t ff_table0_dc_lum[120][2]
Definition: msmpeg4_vc1_data.c:87
FF_VISIBILITY_PUSH_HIDDEN
#define FF_VISIBILITY_PUSH_HIDDEN
Definition: attributes_internal.h:30
ff_msmp4_dc_luma_vlc
VLC ff_msmp4_dc_luma_vlc[2]
Definition: msmpeg4_vc1_data.c:36
ff_msmp4_mb_i_vlc
VLC ff_msmp4_mb_i_vlc
Definition: msmpeg4_vc1_data.c:35
ff_msmp4_dc_chroma_vlc
VLC ff_msmp4_dc_chroma_vlc[2]
Definition: msmpeg4_vc1_data.c:37
attributes_internal.h
ff_wmv1_scantable
const uint8_t ff_wmv1_scantable[WMV1_SCANTABLE_COUNT][64]
Definition: msmpeg4_vc1_data.c:221
ff_msmp4_mb_i_table
const uint16_t ff_msmp4_mb_i_table[64][2]
Definition: msmpeg4_vc1_data.c:66
FF_VISIBILITY_POP_HIDDEN
#define FF_VISIBILITY_POP_HIDDEN
Definition: attributes_internal.h:31
ff_msmp4_vc1_vlcs_init_once
FF_VISIBILITY_PUSH_HIDDEN void ff_msmp4_vc1_vlcs_init_once(void)
Definition: msmpeg4_vc1_data.c:59
WMV1_SCANTABLE_COUNT
#define WMV1_SCANTABLE_COUNT
Definition: msmpeg4_vc1_data.h:45
VLC
Definition: vlc.h:33
ff_table1_dc_lum
const uint32_t ff_table1_dc_lum[120][2]
Definition: msmpeg4_vc1_data.c:155
ff_table1_dc_chroma
const uint32_t ff_table1_dc_chroma[120][2]
Definition: msmpeg4_vc1_data.c:188
ff_table0_dc_chroma
const uint32_t ff_table0_dc_chroma[120][2]
Definition: msmpeg4_vc1_data.c:120
vlc.h