00001 /* 00002 * MPEG1/2 tables 00003 * copyright (c) 2000,2001 Fabrice Bellard 00004 * copyright (c) 2002-2004 Michael Niedermayer <michaelni@gmx.at> 00005 * 00006 * This file is part of FFmpeg. 00007 * 00008 * FFmpeg is free software; you can redistribute it and/or 00009 * modify it under the terms of the GNU Lesser General Public 00010 * License as published by the Free Software Foundation; either 00011 * version 2.1 of the License, or (at your option) any later version. 00012 * 00013 * FFmpeg is distributed in the hope that it will be useful, 00014 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00015 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00016 * Lesser General Public License for more details. 00017 * 00018 * You should have received a copy of the GNU Lesser General Public 00019 * License along with FFmpeg; if not, write to the Free Software 00020 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 00021 */ 00022 00028 #ifndef FFMPEG_MPEG12DATA_H 00029 #define FFMPEG_MPEG12DATA_H 00030 00031 #include <stdint.h> 00032 #include "mpegvideo.h" 00033 00034 extern const uint16_t ff_mpeg12_vlc_dc_lum_code[12]; 00035 extern const unsigned char ff_mpeg12_vlc_dc_lum_bits[12]; 00036 extern const uint16_t ff_mpeg12_vlc_dc_chroma_code[12]; 00037 extern const unsigned char ff_mpeg12_vlc_dc_chroma_bits[12]; 00038 00039 extern RLTable ff_rl_mpeg1; 00040 extern RLTable ff_rl_mpeg2; 00041 00042 extern const uint8_t ff_mpeg12_mbAddrIncrTable[36][2]; 00043 extern const uint8_t ff_mpeg12_mbPatTable[64][2]; 00044 00045 extern const uint8_t ff_mpeg12_mbMotionVectorTable[17][2]; 00046 00047 extern const float ff_mpeg1_aspect[16]; 00048 extern const AVRational ff_mpeg2_aspect[16]; 00049 00050 #endif /* FFMPEG_MPEG12DATA_H */