Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 190
- 191 typedef struct ALSDecContext {
- 192 AVCodecContext *avctx;
- 193 ALSSpecificConfig sconf;
- 194 GetBitContext gb;
- 195 BswapDSPContext bdsp;
- 196 const AVCRC *crc_table;
- 197 uint32_t crc_org; ///< CRC value of the original input data
- 198 uint32_t crc; ///< CRC value calculated from decoded data
- 199 unsigned int cur_frame_length; ///< length of the current frame to decode
- 200 unsigned int frame_id; ///< the frame ID / number of the current frame
- 201 unsigned int js_switch; ///< if true, joint-stereo decoding is enforced
- 202 unsigned int cs_switch; ///< if true, channel rearrangement is done
- 203 unsigned int num_blocks; ///< number of blocks used in the current frame
- 204 unsigned int s_max; ///< maximum Rice parameter allowed in entropy coding
- 205 uint8_t *bgmc_lut; ///< pointer at lookup tables used for BGMC
- 206 int *bgmc_lut_status; ///< pointer at lookup table status flags used for BGMC
- 207 int ltp_lag_length; ///< number of bits used for ltp lag value
- 208 int *const_block; ///< contains const_block flags for all channels
- 209 unsigned int *shift_lsbs; ///< contains shift_lsbs flags for all channels
- 210 unsigned int *opt_order; ///< contains opt_order flags for all channels
- 211 int *store_prev_samples; ///< contains store_prev_samples flags for all channels
- 212 int *use_ltp; ///< contains use_ltp flags for all channels
- 213 int *ltp_lag; ///< contains ltp lag values for all channels
- 214 int **ltp_gain; ///< gain values for ltp 5-tap filter for a channel
- 215 int *ltp_gain_buffer; ///< contains all gain values for ltp 5-tap filter
- 216 int32_t **quant_cof; ///< quantized parcor coefficients for a channel
- 217 int32_t *quant_cof_buffer; ///< contains all quantized parcor coefficients
- 218 int32_t **lpc_cof; ///< coefficients of the direct form prediction filter for a channel
- 219 int32_t *lpc_cof_buffer; ///< contains all coefficients of the direct form prediction filter
- 220 int32_t *lpc_cof_reversed_buffer; ///< temporary buffer to set up a reversed versio of lpc_co f_buffer
- 221 ALSChannelData **chan_data; ///< channel data for multi-channel correlation
- 222 ALSChannelData *chan_data_buffer; ///< contains channel data for all channels
- 223 int *reverted_channels; ///< stores a flag for each reverted channel
- 224 int32_t *prev_raw_samples; ///< contains unshifted raw samples from the previous block
- 225 int32_t **raw_samples; ///< decoded raw samples for each channel
- 226 int32_t *raw_buffer; ///< contains all decoded raw samples including carryover sam ples
- 227 uint8_t *crc_buffer; ///< buffer of byte order corrected samples used for CRC chec k
- 228 } ALSDecContext;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement