Split the RTP muxer out of rtp.c, to simplify the RTSP demuxer's dependencies
[ffmpeg-lucabe.git] / libavcodec / mpeg12data.h
blob190817f648e3cc423af521f4895600f0085d17bd
1 /*
2 * MPEG1/2 tables
3 * copyright (c) 2000,2001 Fabrice Bellard
4 * copyright (c) 2002-2004 Michael Niedermayer <michaelni@gmx.at>
6 * This file is part of FFmpeg.
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.
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.
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
23 /**
24 * @file mpeg12data.h
25 * MPEG1/2 tables.
28 #ifndef FFMPEG_MPEG12DATA_H
29 #define FFMPEG_MPEG12DATA_H
31 #include <stdint.h>
32 #include "mpegvideo.h"
34 extern const uint16_t ff_mpeg12_vlc_dc_lum_code[12];
35 extern const unsigned char ff_mpeg12_vlc_dc_lum_bits[12];
36 extern const uint16_t ff_mpeg12_vlc_dc_chroma_code[12];
37 extern const unsigned char ff_mpeg12_vlc_dc_chroma_bits[12];
39 extern RLTable ff_rl_mpeg1;
40 extern RLTable ff_rl_mpeg2;
42 extern const uint8_t ff_mpeg12_mbAddrIncrTable[36][2];
43 extern const uint8_t ff_mpeg12_mbPatTable[64][2];
45 extern const uint8_t ff_mpeg12_mbMotionVectorTable[17][2];
47 extern const float ff_mpeg1_aspect[16];
48 extern const AVRational ff_mpeg2_aspect[16];
50 #endif /* FFMPEG_MPEG12DATA_H */