libavcodec/h263data.h
04d7f601
 /*
  * copyright (c) 2000,2001 Fabrice Bellard
  * H263+ support
406792e7
  * copyright (c) 2001 Juan J. Sierralta P
04d7f601
  * copyright (c) 2002-2004 Michael Niedermayer <michaelni@gmx.at>
  *
b78e7197
  * This file is part of FFmpeg.
  *
  * FFmpeg is free software; you can redistribute it and/or
04d7f601
  * modify it under the terms of the GNU Lesser General Public
  * License as published by the Free Software Foundation; either
b78e7197
  * version 2.1 of the License, or (at your option) any later version.
04d7f601
  *
b78e7197
  * FFmpeg is distributed in the hope that it will be useful,
04d7f601
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
  * Lesser General Public License for more details.
  *
  * You should have received a copy of the GNU Lesser General Public
b78e7197
  * License along with FFmpeg; if not, write to the Free Software
04d7f601
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
983e3246
 /**
ba87f080
  * @file
983e3246
  * H.263 tables.
  */
 
98790382
 #ifndef AVCODEC_H263DATA_H
 #define AVCODEC_H263DATA_H
699b3f99
 
99545457
 #include <stdint.h>
e3d0f49a
 
 #include "libavutil/rational.h"
 
 #include "rl.h"
 
 extern const AVRational ff_h263_pixel_aspect[16];
de6d9b64
 
 /* intra MCBPC, mb_type = (intra), then (intraq) */
e3d0f49a
 extern const uint8_t ff_h263_intra_MCBPC_code[9];
 extern const uint8_t ff_h263_intra_MCBPC_bits[9];
de6d9b64
 
 /* inter MCBPC, mb_type = (inter), (intra), (interq), (intraq), (inter4v) */
96815ce9
 /* Changed the tables for interq and inter4v+q, following the standard ** Juanjo ** */
e3d0f49a
 extern const uint8_t ff_h263_inter_MCBPC_code[28];
 extern const uint8_t ff_h263_inter_MCBPC_bits[28];
4949028f
 
e3d0f49a
 extern const uint8_t ff_h263_mbtype_b_tab[15][2];
b40cd4e0
 
e3d0f49a
 extern const uint8_t ff_cbpc_b_tab[4][2];
 extern const uint8_t ff_h263_cbpy_tab[16][2];
b40cd4e0
 
e3d0f49a
 extern const uint8_t ff_mvtab[33][2];
de6d9b64
 
 /* third non intra table */
e3d0f49a
 extern const uint16_t ff_inter_vlc[103][2];
d140623f
 
e3d0f49a
 extern const int8_t ff_inter_level[102];
 extern const int8_t ff_inter_run[102];
8f8402e4
 
e3d0f49a
 extern RLTable ff_h263_rl_inter;
 extern RLTable ff_rl_intra_aic;
 extern uint8_t ff_h263_static_rl_table_store[2][2][2 * MAX_RUN + MAX_LEVEL + 3];
8f8402e4
 
e3d0f49a
 extern const uint16_t ff_h263_format[8][2];
68b94c35
 
e3d0f49a
 extern const uint8_t ff_aic_dc_scale_table[32];
68b94c35
 
e3d0f49a
 extern const uint8_t ff_modified_quant_tab[2][32];
68b94c35
 
e3d0f49a
 extern const uint8_t ff_h263_chroma_qscale_table[32];
332f9ac4
 
218f58a1
 extern const uint16_t ff_mba_max[6];
 extern const uint8_t ff_mba_length[7];
ca334dd1
 
98790382
 #endif /* AVCODEC_H263DATA_H */