FFmpeg  4.0
Data Fields
ALSDecContext Struct Reference

Data Fields

AVCodecContextavctx
 
ALSSpecificConfig sconf
 
GetBitContext gb
 
BswapDSPContext bdsp
 
const AVCRCcrc_table
 
uint32_t crc_org
 CRC value of the original input data. More...
 
uint32_t crc
 CRC value calculated from decoded data. More...
 
unsigned int cur_frame_length
 length of the current frame to decode More...
 
unsigned int frame_id
 the frame ID / number of the current frame More...
 
unsigned int js_switch
 if true, joint-stereo decoding is enforced More...
 
unsigned int cs_switch
 if true, channel rearrangement is done More...
 
unsigned int num_blocks
 number of blocks used in the current frame More...
 
unsigned int s_max
 maximum Rice parameter allowed in entropy coding More...
 
uint8_tbgmc_lut
 pointer at lookup tables used for BGMC More...
 
intbgmc_lut_status
 pointer at lookup table status flags used for BGMC More...
 
int ltp_lag_length
 number of bits used for ltp lag value More...
 
intconst_block
 contains const_block flags for all channels More...
 
unsigned intshift_lsbs
 contains shift_lsbs flags for all channels More...
 
unsigned intopt_order
 contains opt_order flags for all channels More...
 
intstore_prev_samples
 contains store_prev_samples flags for all channels More...
 
intuse_ltp
 contains use_ltp flags for all channels More...
 
intltp_lag
 contains ltp lag values for all channels More...
 
int ** ltp_gain
 gain values for ltp 5-tap filter for a channel More...
 
intltp_gain_buffer
 contains all gain values for ltp 5-tap filter More...
 
int32_t ** quant_cof
 quantized parcor coefficients for a channel More...
 
int32_tquant_cof_buffer
 contains all quantized parcor coefficients More...
 
int32_t ** lpc_cof
 coefficients of the direct form prediction filter for a channel More...
 
int32_tlpc_cof_buffer
 contains all coefficients of the direct form prediction filter More...
 
int32_tlpc_cof_reversed_buffer
 temporary buffer to set up a reversed versio of lpc_cof_buffer More...
 
ALSChannelData ** chan_data
 channel data for multi-channel correlation More...
 
ALSChannelDatachan_data_buffer
 contains channel data for all channels More...
 
intreverted_channels
 stores a flag for each reverted channel More...
 
int32_tprev_raw_samples
 contains unshifted raw samples from the previous block More...
 
int32_t ** raw_samples
 decoded raw samples for each channel More...
 
int32_traw_buffer
 contains all decoded raw samples including carryover samples More...
 
uint8_tcrc_buffer
 buffer of byte order corrected samples used for CRC check More...
 
MLZmlz
 masked lz decompression structure More...
 
SoftFloat_IEEE754acf
 contains common multiplier for all channels More...
 
intlast_acf_mantissa
 contains the last acf mantissa data of common multiplier for all channels More...
 
intshift_value
 value by which the binary point is to be shifted for all channels More...
 
intlast_shift_value
 contains last shift value for all channels More...
 
int ** raw_mantissa
 decoded mantissa bits of the difference signal More...
 
unsigned char * larray
 buffer to store the output of masked lz decompression More...
 
intnbits
 contains the number of bits to read for masked lz decompression for all samples More...
 

Detailed Description

Definition at line 194 of file alsdec.c.

Field Documentation

◆ avctx

AVCodecContext* ALSDecContext::avctx

◆ sconf

ALSSpecificConfig ALSDecContext::sconf

◆ gb

GetBitContext ALSDecContext::gb

◆ bdsp

BswapDSPContext ALSDecContext::bdsp

Definition at line 198 of file alsdec.c.

Referenced by decode_frame(), and decode_init().

◆ crc_table

const AVCRC* ALSDecContext::crc_table

Definition at line 199 of file alsdec.c.

Referenced by decode_frame(), and read_specific_config().

◆ crc_org

uint32_t ALSDecContext::crc_org

CRC value of the original input data.

Definition at line 200 of file alsdec.c.

Referenced by decode_frame(), and read_specific_config().

◆ crc

uint32_t ALSDecContext::crc

CRC value calculated from decoded data.

Definition at line 201 of file alsdec.c.

Referenced by decode_frame(), and read_specific_config().

◆ cur_frame_length

unsigned int ALSDecContext::cur_frame_length

length of the current frame to decode

Definition at line 202 of file alsdec.c.

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

◆ frame_id

unsigned int ALSDecContext::frame_id

the frame ID / number of the current frame

Definition at line 203 of file alsdec.c.

Referenced by decode_frame(), and flush().

◆ js_switch

unsigned int ALSDecContext::js_switch

if true, joint-stereo decoding is enforced

Definition at line 204 of file alsdec.c.

Referenced by read_block(), and read_frame_data().

◆ cs_switch

unsigned int ALSDecContext::cs_switch

if true, channel rearrangement is done

Definition at line 205 of file alsdec.c.

Referenced by read_specific_config().

◆ num_blocks

unsigned int ALSDecContext::num_blocks

number of blocks used in the current frame

Definition at line 206 of file alsdec.c.

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

◆ s_max

unsigned int ALSDecContext::s_max

maximum Rice parameter allowed in entropy coding

Definition at line 207 of file alsdec.c.

Referenced by decode_init(), and read_var_block_data().

◆ bgmc_lut

uint8_t* ALSDecContext::bgmc_lut

pointer at lookup tables used for BGMC

Definition at line 208 of file alsdec.c.

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

◆ bgmc_lut_status

int* ALSDecContext::bgmc_lut_status

pointer at lookup table status flags used for BGMC

Definition at line 209 of file alsdec.c.

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

◆ ltp_lag_length

int ALSDecContext::ltp_lag_length

number of bits used for ltp lag value

Definition at line 210 of file alsdec.c.

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

◆ const_block

int* ALSDecContext::const_block

contains const_block flags 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().

◆ shift_lsbs

unsigned int* ALSDecContext::shift_lsbs

contains shift_lsbs flags for all channels

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().

◆ opt_order

unsigned int* ALSDecContext::opt_order

contains opt_order flags for all channels

Definition at line 213 of file alsdec.c.

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

◆ store_prev_samples

int* ALSDecContext::store_prev_samples

contains store_prev_samples flags for all channels

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().

◆ use_ltp

int* ALSDecContext::use_ltp

contains use_ltp flags for all channels

Definition at line 215 of file alsdec.c.

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

◆ ltp_lag

int* ALSDecContext::ltp_lag

contains ltp lag values for all channels

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().

◆ ltp_gain

int** ALSDecContext::ltp_gain

gain values for ltp 5-tap filter for a channel

Definition at line 217 of file alsdec.c.

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

◆ ltp_gain_buffer

int* ALSDecContext::ltp_gain_buffer

contains all gain values for ltp 5-tap filter

Definition at line 218 of file alsdec.c.

Referenced by decode_end(), and decode_init().

◆ quant_cof

int32_t** ALSDecContext::quant_cof

quantized parcor coefficients for a channel

Definition at line 219 of file alsdec.c.

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

◆ quant_cof_buffer

int32_t* ALSDecContext::quant_cof_buffer

contains all quantized parcor coefficients

Definition at line 220 of file alsdec.c.

Referenced by decode_end(), and decode_init().

◆ lpc_cof

int32_t** ALSDecContext::lpc_cof

coefficients of the direct form prediction filter for a channel

Definition at line 221 of file alsdec.c.

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

◆ lpc_cof_buffer

int32_t* ALSDecContext::lpc_cof_buffer

contains all coefficients of the direct form prediction filter

Definition at line 222 of file alsdec.c.

Referenced by decode_end(), and decode_init().

◆ lpc_cof_reversed_buffer

int32_t* ALSDecContext::lpc_cof_reversed_buffer

temporary buffer to set up a reversed versio of lpc_cof_buffer

Definition at line 223 of file alsdec.c.

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

◆ chan_data

ALSChannelData** ALSDecContext::chan_data

channel data for multi-channel correlation

Definition at line 224 of file alsdec.c.

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

◆ chan_data_buffer

ALSChannelData* ALSDecContext::chan_data_buffer

contains channel data for all channels

Definition at line 225 of file alsdec.c.

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

◆ reverted_channels

int* ALSDecContext::reverted_channels

stores a flag for each reverted channel

Definition at line 226 of file alsdec.c.

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

◆ prev_raw_samples

int32_t* ALSDecContext::prev_raw_samples

contains unshifted raw samples from the previous block

Definition at line 227 of file alsdec.c.

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

◆ raw_samples

int32_t** ALSDecContext::raw_samples

decoded raw samples for each channel

Definition at line 228 of file alsdec.c.

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

◆ raw_buffer

int32_t* ALSDecContext::raw_buffer

contains all decoded raw samples including carryover samples

Definition at line 229 of file alsdec.c.

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

◆ crc_buffer

uint8_t* ALSDecContext::crc_buffer

buffer of byte order corrected samples used for CRC check

Definition at line 230 of file alsdec.c.

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

◆ mlz

MLZ* ALSDecContext::mlz

masked lz decompression structure

Definition at line 231 of file alsdec.c.

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

◆ acf

SoftFloat_IEEE754* ALSDecContext::acf

contains common multiplier for all channels

Definition at line 232 of file alsdec.c.

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

◆ last_acf_mantissa

int* ALSDecContext::last_acf_mantissa

contains the last acf mantissa data of common multiplier for all channels

Definition at line 233 of file alsdec.c.

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

◆ shift_value

int* ALSDecContext::shift_value

value by which the binary point is to be shifted for all channels

Definition at line 234 of file alsdec.c.

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

◆ last_shift_value

int* ALSDecContext::last_shift_value

contains last shift value for all channels

Definition at line 235 of file alsdec.c.

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

◆ raw_mantissa

int** ALSDecContext::raw_mantissa

decoded mantissa bits of the difference signal

Definition at line 236 of file alsdec.c.

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

◆ larray

unsigned char* ALSDecContext::larray

buffer to store the output of masked lz decompression

Definition at line 237 of file alsdec.c.

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

◆ nbits

int* ALSDecContext::nbits

contains the number of bits to read for masked lz decompression for all samples

Definition at line 238 of file alsdec.c.

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


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