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 VLCElem ff_msmp4_mb_i_vlc[];
38 #define MSMP4_DC_VLC_BITS 9
39 extern const VLCElem *ff_msmp4_dc_vlc[2 /* dc_table_index */][2 /* 0: luma, 1: chroma */];
40 
41 /* intra picture macroblock coded block pattern */
42 extern const uint16_t ff_msmp4_mb_i_table[64][2];
43 
44 #define WMV1_SCANTABLE_COUNT 4
45 
46 extern const uint8_t ff_wmv1_scantable[WMV1_SCANTABLE_COUNT][64];
47 
48 extern const uint32_t ff_msmp4_dc_tables[2 /* dc_table_index */][2 /* 0: luma, 1: chroma */][120][2];
50 
51 #endif /* AVCODEC_MSMPEG4_VC1_DATA_H */
FF_VISIBILITY_PUSH_HIDDEN
#define FF_VISIBILITY_PUSH_HIDDEN
Definition: attributes_internal.h:30
attributes_internal.h
ff_wmv1_scantable
const uint8_t ff_wmv1_scantable[WMV1_SCANTABLE_COUNT][64]
Definition: msmpeg4_vc1_data.c:220
ff_msmp4_mb_i_vlc
VLCElem ff_msmp4_mb_i_vlc[]
Definition: msmpeg4_vc1_data.c:35
VLCElem
Definition: vlc.h:32
ff_msmp4_mb_i_table
const uint16_t ff_msmp4_mb_i_table[64][2]
Definition: msmpeg4_vc1_data.c:63
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:56
WMV1_SCANTABLE_COUNT
#define WMV1_SCANTABLE_COUNT
Definition: msmpeg4_vc1_data.h:44
ff_msmp4_dc_vlc
const VLCElem * ff_msmp4_dc_vlc[2][2]
Definition: msmpeg4_vc1_data.c:36
ff_msmp4_dc_tables
const uint32_t ff_msmp4_dc_tables[2][2][120][2]
Definition: msmpeg4_vc1_data.c:83
vlc.h