libavcodec/vc1data.h File Reference

VC-1 tables. More...

#include <stdint.h>
#include "libavutil/rational.h"
#include "get_bits.h"

Go to the source code of this file.

Defines

#define B_FRACTION_DEN   256

Variables

const int ff_vc1_ttblk_to_tt [3][8]
 Table for conversion between TTBLK and TTMB.
const int ff_vc1_ttfrm_to_tt [4]
const uint8_t ff_vc1_mv_pmode_table [2][5]
 MV P mode - the 5th element is only used for mode 1.
const uint8_t ff_vc1_mv_pmode_table2 [2][4]
const int ff_vc1_fps_nr [5]
const int ff_vc1_fps_dr [2]
const uint8_t ff_vc1_pquant_table [3][32]
const int16_t ff_vc1_bfraction_lut [23]
const uint8_t ff_vc1_bfraction_bits [23]
const uint8_t ff_vc1_bfraction_codes [23]
const AVRational ff_vc1_pixel_aspect [16]
const uint8_t ff_vc1_imode_codes [7]
const uint8_t ff_vc1_imode_bits [7]
const uint8_t ff_vc1_norm2_codes [4]
const uint8_t ff_vc1_norm2_bits [4]
const uint16_t ff_vc1_norm6_codes [64]
const uint8_t ff_vc1_norm6_bits [64]
const uint8_t ff_vc1_norm6_spec [64][5]
const uint8_t ff_vc1_4mv_block_pattern_codes [4][16]
const uint8_t ff_vc1_4mv_block_pattern_bits [4][16]
const uint8_t wmv3_dc_scale_table [32]
const uint16_t ff_vc1_cbpcy_p_codes [4][64]
const uint8_t ff_vc1_cbpcy_p_bits [4][64]
const uint16_t ff_vc1_ttmb_codes [3][16]
const uint8_t ff_vc1_ttmb_bits [3][16]
const uint8_t ff_vc1_ttblk_codes [3][8]
const uint8_t ff_vc1_ttblk_bits [3][8]
const uint8_t ff_vc1_subblkpat_codes [3][15]
const uint8_t ff_vc1_subblkpat_bits [3][15]
const uint16_t ff_vc1_mv_diff_codes [4][73]
const uint8_t ff_vc1_mv_diff_bits [4][73]
const int8_t ff_vc1_simple_progressive_4x4_zz [16]
const int8_t ff_vc1_adv_progressive_8x4_zz [32]
const int8_t ff_vc1_adv_progressive_4x8_zz [32]
const int8_t ff_vc1_adv_interlaced_8x8_zz [64]
const int8_t ff_vc1_adv_interlaced_8x4_zz [32]
const int8_t ff_vc1_adv_interlaced_4x8_zz [32]
const int8_t ff_vc1_adv_interlaced_4x4_zz [16]
const int32_t ff_vc1_dqscale [63]

VC-1 VLC tables and defines

Todo:
TODO move this into the context


#define VC1_BFRACTION_VLC_BITS   7
#define VC1_IMODE_VLC_BITS   4
#define VC1_NORM2_VLC_BITS   3
#define VC1_NORM6_VLC_BITS   9
#define VC1_TTMB_VLC_BITS   9
#define VC1_MV_DIFF_VLC_BITS   9
#define VC1_CBPCY_P_VLC_BITS   9
#define VC1_4MV_BLOCK_PATTERN_VLC_BITS   6
#define VC1_TTBLK_VLC_BITS   5
#define VC1_SUBBLKPAT_VLC_BITS   6
VLC ff_vc1_bfraction_vlc
VLC ff_vc1_imode_vlc
VLC ff_vc1_norm2_vlc
VLC ff_vc1_norm6_vlc
VLC ff_vc1_ttmb_vlc [3]
VLC ff_vc1_mv_diff_vlc [4]
VLC ff_vc1_cbpcy_p_vlc [4]
VLC ff_vc1_4mv_block_pattern_vlc [4]
VLC ff_vc1_ttblk_vlc [3]
VLC ff_vc1_subblkpat_vlc [3]
VLC ff_vc1_ac_coeff_table [8]


Detailed Description

VC-1 tables.

Definition in file vc1data.h.


Define Documentation

#define B_FRACTION_DEN   256

Definition at line 85 of file vc1data.h.

Referenced by scale_mv(), and vc1_decode_b_mb().

#define VC1_4MV_BLOCK_PATTERN_VLC_BITS   6

Definition at line 66 of file vc1data.h.

#define VC1_BFRACTION_VLC_BITS   7

Definition at line 51 of file vc1data.h.

#define VC1_CBPCY_P_VLC_BITS   9

Definition at line 64 of file vc1data.h.

#define VC1_IMODE_VLC_BITS   4

Definition at line 53 of file vc1data.h.

#define VC1_MV_DIFF_VLC_BITS   9

Definition at line 62 of file vc1data.h.

#define VC1_NORM2_VLC_BITS   3

Definition at line 55 of file vc1data.h.

#define VC1_NORM6_VLC_BITS   9

Definition at line 57 of file vc1data.h.

#define VC1_SUBBLKPAT_VLC_BITS   6

Definition at line 70 of file vc1data.h.

#define VC1_TTBLK_VLC_BITS   5

Definition at line 68 of file vc1data.h.

#define VC1_TTMB_VLC_BITS   9

Definition at line 60 of file vc1data.h.


Variable Documentation

const uint8_t ff_vc1_4mv_block_pattern_bits[4][16]

Definition at line 267 of file vc1data.c.

Referenced by vc1_init_common().

const uint8_t ff_vc1_4mv_block_pattern_codes[4][16]

Definition at line 261 of file vc1data.c.

Referenced by vc1_init_common().

Definition at line 88 of file vc1data.c.

Referenced by vc1_init_common().

Definition at line 94 of file vc1data.c.

Referenced by vc1_decode_ac_coeff(), and vc1_init_common().

const int8_t ff_vc1_adv_interlaced_4x4_zz[16]

Definition at line 626 of file vc1data.c.

const int8_t ff_vc1_adv_interlaced_4x8_zz[32]

Definition at line 614 of file vc1data.c.

const int8_t ff_vc1_adv_interlaced_8x4_zz[32]

Definition at line 606 of file vc1data.c.

const int8_t ff_vc1_adv_interlaced_8x8_zz[64]

Definition at line 594 of file vc1data.c.

Definition at line 582 of file vc1data.c.

Referenced by vc1_decode_sequence_header().

Definition at line 574 of file vc1data.c.

Referenced by vc1_decode_sequence_header().

const uint8_t ff_vc1_bfraction_bits[23]

Definition at line 122 of file vc1data.c.

Referenced by vc1_init_common().

const uint8_t ff_vc1_bfraction_codes[23]

Definition at line 131 of file vc1data.c.

Referenced by vc1_init_common().

const int16_t ff_vc1_bfraction_lut[23]

Definition at line 111 of file vc1data.c.

Referenced by vc1_parse_frame_header(), and vc1_parse_frame_header_adv().

Definition at line 73 of file vc1data.c.

Referenced by vc1_init_common(), vc1_parse_frame_header(), and vc1_parse_frame_header_adv().

const uint8_t ff_vc1_cbpcy_p_bits[4][64]

Definition at line 307 of file vc1data.c.

Referenced by vc1_init_common().

const uint16_t ff_vc1_cbpcy_p_codes[4][64]

Definition at line 280 of file vc1data.c.

Referenced by vc1_init_common().

const int32_t ff_vc1_dqscale[63]

Definition at line 636 of file vc1data.c.

Referenced by vc1_decode_i_block_adv(), vc1_decode_intra_block(), and vc1_pred_dc().

const int ff_vc1_fps_dr[2]

Definition at line 52 of file vc1data.c.

Referenced by decode_sequence_header_adv().

const int ff_vc1_fps_nr[5]

Definition at line 51 of file vc1data.c.

Referenced by decode_sequence_header_adv().

const uint8_t ff_vc1_imode_bits[7]

Definition at line 165 of file vc1data.c.

Referenced by vc1_init_common().

const uint8_t ff_vc1_imode_codes[7]

Definition at line 162 of file vc1data.c.

Referenced by vc1_init_common().

Definition at line 75 of file vc1data.c.

Referenced by bitplane_decoding(), and vc1_init_common().

const uint8_t ff_vc1_mv_diff_bits[4][73]

Definition at line 531 of file vc1data.c.

Referenced by vc1_init_common().

const uint16_t ff_vc1_mv_diff_codes[4][73]

Definition at line 481 of file vc1data.c.

Referenced by vc1_init_common().

Definition at line 84 of file vc1data.c.

Referenced by vc1_init_common().

const uint8_t ff_vc1_mv_pmode_table[2][5]

MV P mode - the 5th element is only used for mode 1.

Definition at line 42 of file vc1data.c.

Referenced by vc1_parse_frame_header(), and vc1_parse_frame_header_adv().

const uint8_t ff_vc1_mv_pmode_table2[2][4]

Definition at line 46 of file vc1data.c.

Referenced by vc1_parse_frame_header(), and vc1_parse_frame_header_adv().

const uint8_t ff_vc1_norm2_bits[4]

Definition at line 173 of file vc1data.c.

Referenced by vc1_init_common().

const uint8_t ff_vc1_norm2_codes[4]

Definition at line 170 of file vc1data.c.

Referenced by vc1_init_common().

Definition at line 77 of file vc1data.c.

Referenced by bitplane_decoding(), and vc1_init_common().

const uint8_t ff_vc1_norm6_bits[64]

Definition at line 184 of file vc1data.c.

Referenced by vc1_init_common().

const uint16_t ff_vc1_norm6_codes[64]

Definition at line 177 of file vc1data.c.

Referenced by vc1_init_common().

const uint8_t ff_vc1_norm6_spec[64][5]

Definition at line 79 of file vc1data.c.

Referenced by bitplane_decoding(), and vc1_init_common().

Definition at line 142 of file vc1data.c.

Referenced by decode_sequence_header_adv().

const uint8_t ff_vc1_pquant_table[3][32]

Definition at line 53 of file vc1data.c.

Referenced by vc1_parse_frame_header(), and vc1_parse_frame_header_adv().

Definition at line 566 of file vc1data.c.

Referenced by vc1_decode_p_block().

const uint8_t ff_vc1_subblkpat_bits[3][15]

Definition at line 474 of file vc1data.c.

Referenced by vc1_init_common().

const uint8_t ff_vc1_subblkpat_codes[3][15]

Definition at line 469 of file vc1data.c.

Referenced by vc1_init_common().

Definition at line 92 of file vc1data.c.

Referenced by vc1_decode_p_block(), and vc1_init_common().

const uint8_t ff_vc1_ttblk_bits[3][8]

Definition at line 462 of file vc1data.c.

Referenced by vc1_init_common().

const uint8_t ff_vc1_ttblk_codes[3][8]

Definition at line 457 of file vc1data.c.

Referenced by vc1_init_common().

const int ff_vc1_ttblk_to_tt[3][8]

Table for conversion between TTBLK and TTMB.

Definition at line 33 of file vc1data.c.

Referenced by vc1_decode_p_block().

Definition at line 90 of file vc1data.c.

Referenced by vc1_decode_p_block(), and vc1_init_common().

const int ff_vc1_ttfrm_to_tt[4]

Definition at line 39 of file vc1data.c.

Referenced by vc1_parse_frame_header(), and vc1_parse_frame_header_adv().

const uint8_t ff_vc1_ttmb_bits[3][16]

Definition at line 426 of file vc1data.c.

Referenced by vc1_init_common().

const uint16_t ff_vc1_ttmb_codes[3][16]

Definition at line 396 of file vc1data.c.

Referenced by vc1_init_common().

Definition at line 82 of file vc1data.c.

Referenced by vc1_decode_b_mb(), vc1_decode_p_mb(), and vc1_init_common().

const uint8_t wmv3_dc_scale_table[32]

Definition at line 274 of file vc1data.c.


Generated on Fri Oct 26 02:39:47 2012 for FFmpeg by  doxygen 1.5.8