FFmpeg
Public Member Functions | Public Attributes | List of all members
WMACodecContext Struct Reference

Public Member Functions

 DECLARE_ALIGNED (32, float, exponents)[MAX_CHANNELS][BLOCK_MAX_SIZE]
 
 DECLARE_ALIGNED (32, float, coefs)[MAX_CHANNELS][BLOCK_MAX_SIZE]
 
 DECLARE_ALIGNED (32, FFTSample, output)[BLOCK_MAX_SIZE *2]
 
 DECLARE_ALIGNED (32, float, frame_out)[MAX_CHANNELS][BLOCK_MAX_SIZE *2]
 

Public Attributes

AVCodecContextavctx
 
GetBitContext gb
 
PutBitContext pb
 
int version
 1 = 0x160 (WMAV1), 2 = 0x161 (WMAV2)
 
int use_bit_reservoir
 
int use_variable_block_len
 
int use_exp_vlc
 exponent coding: 0 = lsp, 1 = vlc + delta
 
int use_noise_coding
 true if perceptual noise is added
 
int byte_offset_bits
 
VLC exp_vlc
 
int exponent_sizes [BLOCK_NB_SIZES]
 
uint16_t exponent_bands [BLOCK_NB_SIZES][25]
 
int high_band_start [BLOCK_NB_SIZES]
 index of first coef in high band
 
int coefs_start
 first coded coef
 
int coefs_end [BLOCK_NB_SIZES]
 max number of coded coefficients
 
int exponent_high_sizes [BLOCK_NB_SIZES]
 
int exponent_high_bands [BLOCK_NB_SIZES][HIGH_BAND_MAX_SIZE]
 
VLC hgain_vlc
 
int high_band_coded [MAX_CHANNELS][HIGH_BAND_MAX_SIZE]
 
int high_band_values [MAX_CHANNELS][HIGH_BAND_MAX_SIZE]
 
VLC coef_vlc [2]
 
uint16_t * run_table [2]
 
float * level_table [2]
 
uint16_t * int_table [2]
 
const CoefVLCTablecoef_vlcs [2]
 
int frame_len
 frame length in samples
 
int frame_len_bits
 frame_len = 1 << frame_len_bits
 
int nb_block_sizes
 number of block sizes
 
int reset_block_lengths
 
int block_len_bits
 log2 of current block length
 
int next_block_len_bits
 log2 of next block length
 
int prev_block_len_bits
 log2 of prev block length
 
int block_len
 block length in samples
 
int block_num
 block number in current frame
 
int block_pos
 current position in frame
 
uint8_t ms_stereo
 true if mid/side stereo mode
 
uint8_t channel_coded [MAX_CHANNELS]
 true if channel is coded
 
int exponents_bsize [MAX_CHANNELS]
 log2 ratio frame/exp. length
 
float max_exponent [MAX_CHANNELS]
 
WMACoef coefs1 [MAX_CHANNELS][BLOCK_MAX_SIZE]
 
FFTContext mdct_ctx [BLOCK_NB_SIZES]
 
const float * windows [BLOCK_NB_SIZES]
 
uint8_t last_superframe [MAX_CODED_SUPERFRAME_SIZE+AV_INPUT_BUFFER_PADDING_SIZE]
 
int last_bitoffset
 
int last_superframe_len
 
float noise_table [NOISE_TAB_SIZE]
 
int noise_index
 
float noise_mult
 
float lsp_cos_table [BLOCK_MAX_SIZE]
 
float lsp_pow_e_table [256]
 
float lsp_pow_m_table1 [(1<< LSP_POW_BITS)]
 
float lsp_pow_m_table2 [(1<< LSP_POW_BITS)]
 
AVFloatDSPContextfdsp
 

The documentation for this struct was generated from the following file: