annotate ffmpeg/libavcodec/mpeg12data.h @ 13:844d341cf643 tip

Back up before ISMIR
author Yading Song <yading.song@eecs.qmul.ac.uk>
date Thu, 31 Oct 2013 13:17:06 +0000
parents 6840f77b83aa
children
rev   line source
yading@10 1 /*
yading@10 2 * MPEG1/2 tables
yading@10 3 * copyright (c) 2000,2001 Fabrice Bellard
yading@10 4 * copyright (c) 2002-2004 Michael Niedermayer <michaelni@gmx.at>
yading@10 5 *
yading@10 6 * This file is part of FFmpeg.
yading@10 7 *
yading@10 8 * FFmpeg is free software; you can redistribute it and/or
yading@10 9 * modify it under the terms of the GNU Lesser General Public
yading@10 10 * License as published by the Free Software Foundation; either
yading@10 11 * version 2.1 of the License, or (at your option) any later version.
yading@10 12 *
yading@10 13 * FFmpeg is distributed in the hope that it will be useful,
yading@10 14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
yading@10 15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
yading@10 16 * Lesser General Public License for more details.
yading@10 17 *
yading@10 18 * You should have received a copy of the GNU Lesser General Public
yading@10 19 * License along with FFmpeg; if not, write to the Free Software
yading@10 20 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
yading@10 21 */
yading@10 22
yading@10 23 /**
yading@10 24 * @file
yading@10 25 * MPEG1/2 tables.
yading@10 26 */
yading@10 27
yading@10 28 #ifndef AVCODEC_MPEG12DATA_H
yading@10 29 #define AVCODEC_MPEG12DATA_H
yading@10 30
yading@10 31 #include <stdint.h>
yading@10 32 #include "libavutil/rational.h"
yading@10 33 #include "rl.h"
yading@10 34
yading@10 35 extern const uint16_t ff_mpeg1_default_intra_matrix[];
yading@10 36 extern const uint16_t ff_mpeg1_default_non_intra_matrix[64];
yading@10 37
yading@10 38 extern const uint16_t ff_mpeg12_vlc_dc_lum_code[12];
yading@10 39 extern const unsigned char ff_mpeg12_vlc_dc_lum_bits[12];
yading@10 40 extern const uint16_t ff_mpeg12_vlc_dc_chroma_code[12];
yading@10 41 extern const unsigned char ff_mpeg12_vlc_dc_chroma_bits[12];
yading@10 42
yading@10 43 extern RLTable ff_rl_mpeg1;
yading@10 44 extern RLTable ff_rl_mpeg2;
yading@10 45
yading@10 46 extern const uint8_t ff_mpeg12_mbAddrIncrTable[36][2];
yading@10 47 extern const uint8_t ff_mpeg12_mbPatTable[64][2];
yading@10 48
yading@10 49 extern const uint8_t ff_mpeg12_mbMotionVectorTable[17][2];
yading@10 50
yading@10 51 extern const AVRational ff_mpeg12_frame_rate_tab[];
yading@10 52 extern const AVRational ff_mpeg2_frame_rate_tab[];
yading@10 53
yading@10 54 extern const float ff_mpeg1_aspect[16];
yading@10 55 extern const AVRational ff_mpeg2_aspect[16];
yading@10 56
yading@10 57 #endif /* AVCODEC_MPEG12DATA_H */