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 AVCODEC_MPEG12DATA_H 00029 #define AVCODEC_MPEG12DATA_H 00030 00031 #include <stdint.h> 00032 #include "libavutil/rational.h" 00033 #include "rl.h" 00034 00035 extern const uint16_t ff_mpeg1_default_intra_matrix[64]; 00036 extern const uint16_t ff_mpeg1_default_non_intra_matrix[64]; 00037 00038 extern const uint16_t ff_mpeg12_vlc_dc_lum_code[12]; 00039 extern const unsigned char ff_mpeg12_vlc_dc_lum_bits[12]; 00040 extern const uint16_t ff_mpeg12_vlc_dc_chroma_code[12]; 00041 extern const unsigned char ff_mpeg12_vlc_dc_chroma_bits[12]; 00042 00043 extern RLTable ff_rl_mpeg1; 00044 extern RLTable ff_rl_mpeg2; 00045 00046 extern const uint8_t ff_mpeg12_mbAddrIncrTable[36][2]; 00047 extern const uint8_t ff_mpeg12_mbPatTable[64][2]; 00048 00049 extern const uint8_t ff_mpeg12_mbMotionVectorTable[17][2]; 00050 00051 extern const AVRational avpriv_frame_rate_tab[]; 00052 00053 extern const float ff_mpeg1_aspect[16]; 00054 extern const AVRational ff_mpeg2_aspect[16]; 00055 00056 #endif /* AVCODEC_MPEG12DATA_H */