FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Fields
ALSDecContext Struct Reference

Data Fields

AVCodecContextavctx
 
ALSSpecificConfig sconf
 
GetBitContext gb
 
DSPContext dsp
 
const AVCRCcrc_table
 
uint32_t crc_org
 CRC value of the original input data.
 
uint32_t crc
 CRC value calculated from decoded data.
 
unsigned int cur_frame_length
 length of the current frame to decode
 
unsigned int frame_id
 the frame ID / number of the current frame
 
unsigned int js_switch
 if true, joint-stereo decoding is enforced
 
unsigned int cs_switch
 if true, channel rearrangement is done
 
unsigned int num_blocks
 number of blocks used in the current frame
 
unsigned int s_max
 maximum Rice parameter allowed in entropy coding
 
uint8_tbgmc_lut
 pointer at lookup tables used for BGMC
 
int * bgmc_lut_status
 pointer at lookup table status flags used for BGMC
 
int ltp_lag_length
 number of bits used for ltp lag value
 
int * const_block
 contains const_block flags for all channels
 
unsigned int * shift_lsbs
 contains shift_lsbs flags for all channels
 
unsigned int * opt_order
 contains opt_order flags for all channels
 
int * store_prev_samples
 contains store_prev_samples flags for all channels
 
int * use_ltp
 contains use_ltp flags for all channels
 
int * ltp_lag
 contains ltp lag values for all channels
 
int ** ltp_gain
 gain values for ltp 5-tap filter for a channel
 
int * ltp_gain_buffer
 contains all gain values for ltp 5-tap filter
 
int32_t ** quant_cof
 quantized parcor coefficients for a channel
 
int32_tquant_cof_buffer
 contains all quantized parcor coefficients
 
int32_t ** lpc_cof
 coefficients of the direct form prediction filter for a channel
 
int32_tlpc_cof_buffer
 contains all coefficients of the direct form prediction filter
 
int32_tlpc_cof_reversed_buffer
 temporary buffer to set up a reversed versio of lpc_cof_buffer
 
ALSChannelData ** chan_data
 channel data for multi-channel correlation
 
ALSChannelDatachan_data_buffer
 contains channel data for all channels
 
int * reverted_channels
 stores a flag for each reverted channel
 
int32_tprev_raw_samples
 contains unshifted raw samples from the previous block
 
int32_t ** raw_samples
 decoded raw samples for each channel
 
int32_traw_buffer
 contains all decoded raw samples including carryover samples
 
uint8_tcrc_buffer
 buffer of byte order corrected samples used for CRC check
 

Detailed Description

Definition at line 189 of file alsdec.c.

Field Documentation

AVCodecContext* ALSDecContext::avctx
ALSSpecificConfig ALSDecContext::sconf
GetBitContext ALSDecContext::gb
DSPContext ALSDecContext::dsp

Definition at line 193 of file alsdec.c.

Referenced by decode_frame(), and decode_init().

const AVCRC* ALSDecContext::crc_table

Definition at line 194 of file alsdec.c.

Referenced by decode_frame(), and read_specific_config().

uint32_t ALSDecContext::crc_org

CRC value of the original input data.

Definition at line 195 of file alsdec.c.

Referenced by decode_frame(), and read_specific_config().

uint32_t ALSDecContext::crc

CRC value calculated from decoded data.

Definition at line 196 of file alsdec.c.

Referenced by decode_frame(), and read_specific_config().

unsigned int ALSDecContext::cur_frame_length

length of the current frame to decode

Definition at line 197 of file alsdec.c.

Referenced by decode_frame(), decode_init(), get_block_sizes(), and read_specific_config().

unsigned int ALSDecContext::frame_id

the frame ID / number of the current frame

Definition at line 198 of file alsdec.c.

Referenced by decode_frame(), and flush().

unsigned int ALSDecContext::js_switch

if true, joint-stereo decoding is enforced

Definition at line 199 of file alsdec.c.

Referenced by read_frame_data(), and read_var_block_data().

unsigned int ALSDecContext::cs_switch

if true, channel rearrangement is done

Definition at line 200 of file alsdec.c.

Referenced by read_specific_config().

unsigned int ALSDecContext::num_blocks

number of blocks used in the current frame

Definition at line 201 of file alsdec.c.

Referenced by decode_blocks(), decode_blocks_ind(), get_block_sizes(), and read_frame_data().

unsigned int ALSDecContext::s_max

maximum Rice parameter allowed in entropy coding

Definition at line 202 of file alsdec.c.

Referenced by decode_init(), and read_var_block_data().

uint8_t* ALSDecContext::bgmc_lut

pointer at lookup tables used for BGMC

Definition at line 203 of file alsdec.c.

Referenced by decode_end(), decode_init(), and read_var_block_data().

int* ALSDecContext::bgmc_lut_status

pointer at lookup table status flags used for BGMC

Definition at line 204 of file alsdec.c.

Referenced by decode_end(), decode_init(), and read_var_block_data().

int ALSDecContext::ltp_lag_length

number of bits used for ltp lag value

Definition at line 205 of file alsdec.c.

Referenced by decode_init(), read_channel_data(), and read_var_block_data().

int* ALSDecContext::const_block

contains const_block flags for all channels

Definition at line 206 of file alsdec.c.

Referenced by decode_blocks(), decode_blocks_ind(), decode_end(), decode_init(), read_frame_data(), and revert_channel_correlation().

unsigned int* ALSDecContext::shift_lsbs

contains shift_lsbs flags for all channels

Definition at line 207 of file alsdec.c.

Referenced by decode_blocks(), decode_blocks_ind(), decode_end(), decode_init(), read_frame_data(), and revert_channel_correlation().

unsigned int* ALSDecContext::opt_order

contains opt_order flags for all channels

Definition at line 208 of file alsdec.c.

Referenced by decode_blocks(), decode_blocks_ind(), decode_end(), decode_init(), read_frame_data(), and revert_channel_correlation().

int* ALSDecContext::store_prev_samples

contains store_prev_samples flags for all channels

Definition at line 209 of file alsdec.c.

Referenced by decode_blocks(), decode_blocks_ind(), decode_end(), decode_init(), read_frame_data(), and revert_channel_correlation().

int* ALSDecContext::use_ltp

contains use_ltp flags for all channels

Definition at line 210 of file alsdec.c.

Referenced by decode_blocks(), decode_blocks_ind(), decode_end(), decode_init(), read_frame_data(), and revert_channel_correlation().

int* ALSDecContext::ltp_lag

contains ltp lag values for all channels

Definition at line 211 of file alsdec.c.

Referenced by decode_blocks(), decode_blocks_ind(), decode_end(), decode_init(), read_frame_data(), and revert_channel_correlation().

int** ALSDecContext::ltp_gain

gain values for ltp 5-tap filter for a channel

Definition at line 212 of file alsdec.c.

Referenced by decode_blocks(), decode_blocks_ind(), decode_end(), decode_init(), read_frame_data(), and revert_channel_correlation().

int* ALSDecContext::ltp_gain_buffer

contains all gain values for ltp 5-tap filter

Definition at line 213 of file alsdec.c.

Referenced by decode_end(), and decode_init().

int32_t** ALSDecContext::quant_cof

quantized parcor coefficients for a channel

Definition at line 214 of file alsdec.c.

Referenced by decode_blocks(), decode_blocks_ind(), decode_end(), decode_init(), read_frame_data(), and revert_channel_correlation().

int32_t* ALSDecContext::quant_cof_buffer

contains all quantized parcor coefficients

Definition at line 215 of file alsdec.c.

Referenced by decode_end(), and decode_init().

int32_t** ALSDecContext::lpc_cof

coefficients of the direct form prediction filter for a channel

Definition at line 216 of file alsdec.c.

Referenced by decode_blocks(), decode_blocks_ind(), decode_end(), decode_init(), read_frame_data(), and revert_channel_correlation().

int32_t* ALSDecContext::lpc_cof_buffer

contains all coefficients of the direct form prediction filter

Definition at line 217 of file alsdec.c.

Referenced by decode_end(), and decode_init().

int32_t* ALSDecContext::lpc_cof_reversed_buffer

temporary buffer to set up a reversed versio of lpc_cof_buffer

Definition at line 218 of file alsdec.c.

Referenced by decode_end(), decode_init(), and decode_var_block_data().

ALSChannelData** ALSDecContext::chan_data

channel data for multi-channel correlation

Definition at line 219 of file alsdec.c.

Referenced by decode_end(), decode_init(), and read_frame_data().

ALSChannelData* ALSDecContext::chan_data_buffer

contains channel data for all channels

Definition at line 220 of file alsdec.c.

Referenced by decode_end(), decode_init(), and read_frame_data().

int* ALSDecContext::reverted_channels

stores a flag for each reverted channel

Definition at line 221 of file alsdec.c.

Referenced by decode_end(), decode_init(), and read_frame_data().

int32_t* ALSDecContext::prev_raw_samples

contains unshifted raw samples from the previous block

Definition at line 222 of file alsdec.c.

Referenced by decode_blocks(), decode_blocks_ind(), decode_end(), decode_init(), and read_frame_data().

int32_t** ALSDecContext::raw_samples

decoded raw samples for each channel

Definition at line 223 of file alsdec.c.

Referenced by decode_blocks(), decode_blocks_ind(), decode_end(), decode_init(), read_frame_data(), and revert_channel_correlation().

int32_t* ALSDecContext::raw_buffer

contains all decoded raw samples including carryover samples

Definition at line 224 of file alsdec.c.

Referenced by decode_end(), and decode_init().

uint8_t* ALSDecContext::crc_buffer

buffer of byte order corrected samples used for CRC check

Definition at line 225 of file alsdec.c.

Referenced by decode_end(), decode_frame(), and decode_init().


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