FFmpeg
mpeg4videodata.h
Go to the documentation of this file.
1 /*
2  * MPEG-4 encoder/decoder data.
3  * Copyright (c) 2000,2001 Fabrice Bellard
4  * Copyright (c) 2002-2010 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 #ifndef AVCODEC_MPEG4VIDEODATA_H
24 #define AVCODEC_MPEG4VIDEODATA_H
25 
26 #include <stdint.h>
27 #include "rl.h"
28 
29 /* dc encoding for MPEG-4 */
30 extern const uint8_t ff_mpeg4_DCtab_lum[13][2];
31 extern const uint8_t ff_mpeg4_DCtab_chrom[13][2];
32 
33 extern const uint16_t ff_mpeg4_intra_vlc[103][2];
34 extern const int8_t ff_mpeg4_intra_level[102];
35 extern const int8_t ff_mpeg4_intra_run[102];
36 
38 void ff_mpeg4_init_rl_intra(void);
39 
40 /* Note this is identical to the intra rvlc except that it is reordered. */
43 
44 extern const uint8_t ff_sprite_trajectory_lens[15];
45 extern const uint8_t ff_mb_type_b_tab[4][2];
46 
47 /* these matrixes will be permuted for the idct */
48 extern const int16_t ff_mpeg4_default_intra_matrix[64];
49 extern const int16_t ff_mpeg4_default_non_intra_matrix[64];
50 
51 extern const uint8_t ff_mpeg4_y_dc_scale_table[32];
52 extern const uint8_t ff_mpeg4_c_dc_scale_table[32];
53 
54 extern const uint8_t ff_mpeg4_dc_threshold[8];
55 
56 extern const uint8_t ff_mpeg4_studio_dc_luma[19][2];
57 extern const uint8_t ff_mpeg4_studio_dc_chroma[19][2];
58 extern const uint8_t ff_mpeg4_studio_intra[12][24][2];
59 
60 #endif /* AVCODEC_MPEG4VIDEO_H */
ff_rvlc_rl_inter
RLTable ff_rvlc_rl_inter
Definition: mpeg4data.h:213
ff_rvlc_rl_intra
RLTable ff_rvlc_rl_intra
Definition: mpeg4data.h:317
ff_mpeg4_studio_dc_luma
const uint8_t ff_mpeg4_studio_dc_luma[19][2]
Definition: mpeg4data.h:370
RLTable
RLTable.
Definition: rl.h:39
ff_mb_type_b_tab
const uint8_t ff_mb_type_b_tab[4][2]
Definition: mpeg4data.h:329
ff_mpeg4_intra_level
const int8_t ff_mpeg4_intra_level[102]
Definition: mpeg4data.h:76
ff_mpeg4_default_non_intra_matrix
const int16_t ff_mpeg4_default_non_intra_matrix[64]
Definition: mpeg4data.h:345
ff_mpeg4_studio_intra
const uint8_t ff_mpeg4_studio_intra[12][24][2]
Definition: mpeg4data.h:384
ff_mpeg4_rl_intra
RLTable ff_mpeg4_rl_intra
Definition: mpeg4data.h:108
ff_mpeg4_default_intra_matrix
const int16_t ff_mpeg4_default_intra_matrix[64]
Definition: mpeg4data.h:334
ff_mpeg4_y_dc_scale_table
const uint8_t ff_mpeg4_y_dc_scale_table[32]
Definition: mpeg4data.h:356
ff_mpeg4_DCtab_chrom
const uint8_t ff_mpeg4_DCtab_chrom[13][2]
Definition: mpeg4data.h:40
ff_mpeg4_dc_threshold
const uint8_t ff_mpeg4_dc_threshold[8]
Definition: mpeg4data.h:365
ff_mpeg4_intra_vlc
const uint16_t ff_mpeg4_intra_vlc[103][2]
Definition: mpeg4data.h:46
ff_mpeg4_init_rl_intra
void ff_mpeg4_init_rl_intra(void)
Definition: mpeg4video.c:36
ff_sprite_trajectory_lens
const uint8_t ff_sprite_trajectory_lens[15]
Definition: mpeg4data.h:325
ff_mpeg4_c_dc_scale_table
const uint8_t ff_mpeg4_c_dc_scale_table[32]
Definition: mpeg4data.h:360
rl.h
ff_mpeg4_DCtab_lum
const uint8_t ff_mpeg4_DCtab_lum[13][2]
Definition: mpeg4data.h:34
ff_mpeg4_studio_dc_chroma
const uint8_t ff_mpeg4_studio_dc_chroma[19][2]
Definition: mpeg4data.h:377
ff_mpeg4_intra_run
const int8_t ff_mpeg4_intra_run[102]
Definition: mpeg4data.h:92