Data Fields
WMACodecContext Struct Reference

#include <wma.h>

Data Fields

GetBitContext gb
PutBitContext pb
int version
 1 = 0x160 (WMAV1), 2 = 0x161 (WMAV2) More...
int use_bit_reservoir
int use_variable_block_len
int use_exp_vlc
 exponent coding: 0 = lsp, 1 = vlc + delta More...
int use_noise_coding
 true if perceptual noise is added More...
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 More...
int coefs_start
 first coded coef More...
int coefs_end [BLOCK_NB_SIZES]
 max number of coded coefficients More...
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]
floatlevel_table [2]
uint16_t * int_table [2]
const CoefVLCTablecoef_vlcs [2]
int frame_len
 frame length in samples More...
int frame_len_bits
 frame_len = 1 << frame_len_bits More...
int nb_block_sizes
 number of block sizes More...
int reset_block_lengths
int block_len_bits
 log2 of current block length More...
int next_block_len_bits
 log2 of next block length More...
int prev_block_len_bits
 log2 of prev block length More...
int block_len
 block length in samples More...
int block_num
 block number in current frame More...
int block_pos
 current position in frame More...
uint8_t ms_stereo
 true if mid/side stereo mode More...
uint8_t channel_coded [MAX_CHANNELS]
 true if channel is coded More...
int exponents_bsize [MAX_CHANNELS]
 log2 ratio frame/exp. length More...
float exponents [MAX_CHANNELS][BLOCK_MAX_SIZE]
float max_exponent [MAX_CHANNELS]
float output [BLOCK_MAX_SIZE *2]
AVTXContextmdct_ctx [BLOCK_NB_SIZES]
av_tx_fn mdct_fn [BLOCK_NB_SIZES]
const floatwindows [BLOCK_NB_SIZES]
float frame_out [MAX_CHANNELS][BLOCK_MAX_SIZE *2]
int last_bitoffset
int last_superframe_len
int exponents_initialized [MAX_CHANNELS]
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)]
int eof_done

Detailed Description

Definition at line 68 of file wma.h.

Field Documentation

◆ avctx

AVCodecContext* WMACodecContext::avctx

Definition at line 69 of file wma.h.

◆ gb

GetBitContext WMACodecContext::gb

Definition at line 70 of file wma.h.

◆ pb

PutBitContext WMACodecContext::pb

Definition at line 71 of file wma.h.

◆ version

int WMACodecContext::version

1 = 0x160 (WMAV1), 2 = 0x161 (WMAV2)

Definition at line 72 of file wma.h.

◆ use_bit_reservoir

int WMACodecContext::use_bit_reservoir

Definition at line 73 of file wma.h.

◆ use_variable_block_len

int WMACodecContext::use_variable_block_len

Definition at line 74 of file wma.h.

◆ use_exp_vlc

int WMACodecContext::use_exp_vlc

exponent coding: 0 = lsp, 1 = vlc + delta

Definition at line 75 of file wma.h.

◆ use_noise_coding

int WMACodecContext::use_noise_coding

true if perceptual noise is added

Definition at line 76 of file wma.h.

◆ byte_offset_bits

int WMACodecContext::byte_offset_bits

Definition at line 77 of file wma.h.

◆ exp_vlc

VLC WMACodecContext::exp_vlc

Definition at line 78 of file wma.h.

◆ exponent_sizes

int WMACodecContext::exponent_sizes[BLOCK_NB_SIZES]

Definition at line 79 of file wma.h.

◆ exponent_bands

uint16_t WMACodecContext::exponent_bands[BLOCK_NB_SIZES][25]

Definition at line 80 of file wma.h.

◆ high_band_start

int WMACodecContext::high_band_start[BLOCK_NB_SIZES]

index of first coef in high band

Definition at line 81 of file wma.h.

◆ coefs_start

int WMACodecContext::coefs_start

first coded coef

Definition at line 82 of file wma.h.

◆ coefs_end

int WMACodecContext::coefs_end[BLOCK_NB_SIZES]

max number of coded coefficients

Definition at line 83 of file wma.h.

◆ exponent_high_sizes

int WMACodecContext::exponent_high_sizes[BLOCK_NB_SIZES]

Definition at line 84 of file wma.h.

◆ exponent_high_bands

int WMACodecContext::exponent_high_bands[BLOCK_NB_SIZES][HIGH_BAND_MAX_SIZE]

Definition at line 85 of file wma.h.

◆ hgain_vlc

VLC WMACodecContext::hgain_vlc

Definition at line 86 of file wma.h.

◆ high_band_coded

int WMACodecContext::high_band_coded[MAX_CHANNELS][HIGH_BAND_MAX_SIZE]

Definition at line 89 of file wma.h.

◆ high_band_values

int WMACodecContext::high_band_values[MAX_CHANNELS][HIGH_BAND_MAX_SIZE]

Definition at line 90 of file wma.h.

◆ coef_vlc

VLC WMACodecContext::coef_vlc[2]

Definition at line 94 of file wma.h.

◆ run_table

uint16_t* WMACodecContext::run_table[2]

Definition at line 95 of file wma.h.

◆ level_table

float* WMACodecContext::level_table[2]

Definition at line 96 of file wma.h.

◆ int_table

uint16_t* WMACodecContext::int_table[2]

Definition at line 97 of file wma.h.

◆ coef_vlcs

const CoefVLCTable* WMACodecContext::coef_vlcs[2]

Definition at line 98 of file wma.h.

◆ frame_len

int WMACodecContext::frame_len

frame length in samples

Definition at line 100 of file wma.h.

◆ frame_len_bits

int WMACodecContext::frame_len_bits

frame_len = 1 << frame_len_bits

Definition at line 101 of file wma.h.

◆ nb_block_sizes

int WMACodecContext::nb_block_sizes

number of block sizes

Definition at line 102 of file wma.h.

◆ reset_block_lengths

int WMACodecContext::reset_block_lengths

Definition at line 104 of file wma.h.

◆ block_len_bits

int WMACodecContext::block_len_bits

log2 of current block length

Definition at line 105 of file wma.h.

◆ next_block_len_bits

int WMACodecContext::next_block_len_bits

log2 of next block length

Definition at line 106 of file wma.h.

◆ prev_block_len_bits

int WMACodecContext::prev_block_len_bits

log2 of prev block length

Definition at line 107 of file wma.h.

◆ block_len

int WMACodecContext::block_len

block length in samples

Definition at line 108 of file wma.h.

◆ block_num

int WMACodecContext::block_num

block number in current frame

Definition at line 109 of file wma.h.

◆ block_pos

int WMACodecContext::block_pos

current position in frame

Definition at line 110 of file wma.h.

◆ ms_stereo

uint8_t WMACodecContext::ms_stereo

true if mid/side stereo mode

Definition at line 111 of file wma.h.

◆ channel_coded

uint8_t WMACodecContext::channel_coded[MAX_CHANNELS]

true if channel is coded

Definition at line 112 of file wma.h.

◆ exponents_bsize

int WMACodecContext::exponents_bsize[MAX_CHANNELS]

log2 ratio frame/exp. length

Definition at line 113 of file wma.h.

◆ exponents

float WMACodecContext::exponents[MAX_CHANNELS][BLOCK_MAX_SIZE]

Definition at line 114 of file wma.h.

◆ max_exponent

float WMACodecContext::max_exponent[MAX_CHANNELS]

Definition at line 115 of file wma.h.

◆ coefs1


Definition at line 116 of file wma.h.

◆ coefs

float WMACodecContext::coefs[MAX_CHANNELS][BLOCK_MAX_SIZE]

Definition at line 117 of file wma.h.

◆ output

float WMACodecContext::output[BLOCK_MAX_SIZE *2]

Definition at line 118 of file wma.h.

◆ mdct_ctx

AVTXContext* WMACodecContext::mdct_ctx[BLOCK_NB_SIZES]

Definition at line 119 of file wma.h.

◆ mdct_fn

av_tx_fn WMACodecContext::mdct_fn[BLOCK_NB_SIZES]

Definition at line 120 of file wma.h.

◆ windows

const float* WMACodecContext::windows[BLOCK_NB_SIZES]

Definition at line 121 of file wma.h.

◆ frame_out

float WMACodecContext::frame_out[MAX_CHANNELS][BLOCK_MAX_SIZE *2]

Definition at line 123 of file wma.h.

◆ last_superframe


Definition at line 125 of file wma.h.

◆ last_bitoffset

int WMACodecContext::last_bitoffset

Definition at line 126 of file wma.h.

◆ last_superframe_len

int WMACodecContext::last_superframe_len

Definition at line 127 of file wma.h.

◆ exponents_initialized

int WMACodecContext::exponents_initialized[MAX_CHANNELS]

Definition at line 128 of file wma.h.

◆ noise_table

float WMACodecContext::noise_table[NOISE_TAB_SIZE]

Definition at line 129 of file wma.h.

◆ noise_index

int WMACodecContext::noise_index

Definition at line 130 of file wma.h.

◆ noise_mult

float WMACodecContext::noise_mult

Definition at line 131 of file wma.h.

◆ lsp_cos_table

float WMACodecContext::lsp_cos_table[BLOCK_MAX_SIZE]

Definition at line 133 of file wma.h.

◆ lsp_pow_e_table

float WMACodecContext::lsp_pow_e_table[256]

Definition at line 134 of file wma.h.

◆ lsp_pow_m_table1

float WMACodecContext::lsp_pow_m_table1[(1<< LSP_POW_BITS)]

Definition at line 135 of file wma.h.

◆ lsp_pow_m_table2

float WMACodecContext::lsp_pow_m_table2[(1<< LSP_POW_BITS)]

Definition at line 136 of file wma.h.

◆ fdsp

AVFloatDSPContext* WMACodecContext::fdsp

Definition at line 137 of file wma.h.

◆ eof_done

int WMACodecContext::eof_done

Definition at line 139 of file wma.h.

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