FFmpeg
mpeg12data.h
Go to the documentation of this file.
1 /*
2  * MPEG-1/2 tables
3  * copyright (c) 2000,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 
23 /**
24  * @file
25  * MPEG-1/2 tables.
26  */
27 
28 #ifndef AVCODEC_MPEG12DATA_H
29 #define AVCODEC_MPEG12DATA_H
30 
31 #include <stdint.h>
32 #include "libavutil/rational.h"
33 #include "rl.h"
34 
35 extern const uint16_t ff_mpeg1_default_intra_matrix[];
36 extern const uint16_t ff_mpeg1_default_non_intra_matrix[64];
37 
38 extern const uint16_t ff_mpeg12_vlc_dc_lum_code[12];
39 extern const unsigned char ff_mpeg12_vlc_dc_lum_bits[12];
40 extern const uint16_t ff_mpeg12_vlc_dc_chroma_code[12];
41 extern const unsigned char ff_mpeg12_vlc_dc_chroma_bits[12];
42 
43 extern RLTable ff_rl_mpeg1;
44 extern RLTable ff_rl_mpeg2;
45 
46 extern const uint8_t ff_mpeg12_mbAddrIncrTable[36][2];
47 extern const uint8_t ff_mpeg12_mbPatTable[64][2];
48 
49 extern const uint8_t ff_mpeg12_mbMotionVectorTable[17][2];
50 
52 extern const AVRational ff_mpeg2_frame_rate_tab[];
53 
54 extern const float ff_mpeg1_aspect[16];
55 extern const AVRational ff_mpeg2_aspect[16];
56 
57 #endif /* AVCODEC_MPEG12DATA_H */
ff_mpeg12_mbMotionVectorTable
const uint8_t ff_mpeg12_mbMotionVectorTable[17][2]
Definition: mpeg12data.c:288
rational.h
ff_rl_mpeg1
RLTable ff_rl_mpeg1
Definition: mpeg12data.c:166
ff_mpeg12_vlc_dc_lum_code
const uint16_t ff_mpeg12_vlc_dc_lum_code[12]
Definition: mpeg12data.c:52
ff_mpeg12_mbPatTable
const uint8_t ff_mpeg12_mbPatTable[64][2]
Definition: mpeg12data.c:221
RLTable
RLTable.
Definition: rl.h:39
ff_mpeg12_vlc_dc_chroma_code
const uint16_t ff_mpeg12_vlc_dc_chroma_code[12]
Definition: mpeg12data.c:59
ff_mpeg12_vlc_dc_chroma_bits
const unsigned char ff_mpeg12_vlc_dc_chroma_bits[12]
Definition: mpeg12data.c:62
AVRational
Rational number (pair of numerator and denominator).
Definition: rational.h:58
ff_mpeg1_default_non_intra_matrix
const uint16_t ff_mpeg1_default_non_intra_matrix[64]
Definition: mpeg12data.c:41
ff_mpeg1_default_intra_matrix
const uint16_t ff_mpeg1_default_intra_matrix[]
Definition: mpeg12data.c:30
ff_mpeg12_vlc_dc_lum_bits
const unsigned char ff_mpeg12_vlc_dc_lum_bits[12]
Definition: mpeg12data.c:55
ff_mpeg2_aspect
const AVRational ff_mpeg2_aspect[16]
Definition: mpeg12data.c:395
ff_mpeg2_frame_rate_tab
const AVRational ff_mpeg2_frame_rate_tab[]
Definition: mpeg12data.c:308
uint8_t
uint8_t
Definition: audio_convert.c:194
ff_mpeg12_frame_rate_tab
const AVRational ff_mpeg12_frame_rate_tab[]
Definition: mpeg12framerate.c:24
ff_mpeg1_aspect
const float ff_mpeg1_aspect[16]
Definition: mpeg12data.c:374
ff_rl_mpeg2
RLTable ff_rl_mpeg2
Definition: mpeg12data.c:174
rl.h
ff_mpeg12_mbAddrIncrTable
const uint8_t ff_mpeg12_mbAddrIncrTable[36][2]
Definition: mpeg12data.c:182