WmallDecodeCtx Struct Reference

main decoder context More...


Data Fields

AVCodecContextavctx
 codec context for av_log
DSPContext dsp
 accelerated DSP functions
uint8_t frame_data [MAX_FRAMESIZE+FF_INPUT_BUFFER_PADDING_SIZE]
 compressed frame data
PutBitContext pb
 context for filling the frame_data buffer
FFTContext mdct_ctx [WMALL_BLOCK_SIZES]
 MDCT context per block size.
float tmp [WMALL_BLOCK_MAX_SIZE]
 IMDCT output buffer.
float * windows [WMALL_BLOCK_SIZES]
 windows for the different block sizes
uint32_t decode_flags
 used compression features
uint8_t len_prefix
 frame is prefixed with its length
uint8_t dynamic_range_compression
 frame contains DRC data
uint8_t bits_per_sample
 integer audio sample size for the unscaled IMDCT output (used to scale to [-1.0, 1.0])
uint16_t samples_per_frame
 number of samples to output
uint16_t log2_frame_size
int8_t num_channels
 number of channels in the stream (same as AVCodecContext.num_channels)
int8_t lfe_channel
 lfe channel index
uint8_t max_num_subframes
uint8_t subframe_len_bits
 number of bits used for the subframe length
uint8_t max_subframe_len_bit
 flag indicating that the subframe is of maximum size when the first subframe length bit is 1
uint16_t min_samples_per_subframe
int8_t num_sfb [WMALL_BLOCK_SIZES]
 scale factor bands per block size
int16_t sfb_offsets [WMALL_BLOCK_SIZES][MAX_BANDS]
 scale factor band offsets (multiples of 4)
int8_t sf_offsets [WMALL_BLOCK_SIZES][WMALL_BLOCK_SIZES][MAX_BANDS]
 scale factor resample matrix
int16_t subwoofer_cutoffs [WMALL_BLOCK_SIZES]
 subwoofer cutoff values
GetBitContext pgb
 bitstream reader context for the packet
int next_packet_start
 start offset of the next wma packet in the demuxer packet
uint8_t packet_offset
 frame offset in the packet
uint8_t packet_sequence_number
 current packet number
int num_saved_bits
 saved number of bits
int frame_offset
 frame offset in the bit reservoir
int subframe_offset
 subframe offset in the bit reservoir
uint8_t packet_loss
 set in case of bitstream error
uint8_t packet_done
 set when a packet is fully decoded
uint32_t frame_num
 current frame number (not used for decoding)
GetBitContext gb
 bitstream reader context
int buf_bit_size
 buffer size in bits
int16_tsamples_16
 current samplebuffer pointer (16-bit)
int16_tsamples_16_end
 maximum samplebuffer pointer
int16_tsamples_32
 current samplebuffer pointer (24-bit)
int16_tsamples_32_end
 maximum samplebuffer pointer
uint8_t drc_gain
 gain for the DRC tool
int8_t skip_frame
 skip output step
int8_t parsed_all_subframes
 all subframes decoded?
int16_t subframe_len
 current subframe length
int8_t channels_for_cur_subframe
 number of channels that contain the subframe
int8_t channel_indexes_for_cur_subframe [WMALL_MAX_CHANNELS]
int8_t num_bands
 number of scale factor bands
int8_t transmit_num_vec_coeffs
 number of vector coded coefficients is part of the bitstream
int16_tcur_sfb_offsets
 sfb offsets for the current block
uint8_t table_idx
 index for the num_sfb, sfb_offsets, sf_offsets and subwoofer_cutoffs tables
int8_t esc_len
 length of escaped coefficients
uint8_t num_chgroups
 number of channel groups
WmallChannelGrp chgroup [WMALL_MAX_CHANNELS]
 channel group information
WmallChannelCtx channel [WMALL_MAX_CHANNELS]
 per channel data
uint8_t do_arith_coding
uint8_t do_ac_filter
uint8_t do_inter_ch_decorr
uint8_t do_mclms
uint8_t do_lpc
int8_t acfilter_order
int8_t acfilter_scaling
int64_t acfilter_coeffs [16]
int acfilter_prevvalues [2][16]
int8_t mclms_order
int8_t mclms_scaling
int16_t mclms_coeffs [128]
int16_t mclms_coeffs_cur [4]
int16_t mclms_prevvalues [64]
int16_t mclms_updates [64]
int mclms_recent
int movave_scaling
int quant_stepsize
struct {
   int   order
   int   scaling
   int   coefsend
   int   bitsend
   int16_t   coefs [256]
   int16_t   lms_prevvalues [512]
   int16_t   lms_updates [512]
   int   recent
cdlms [2][9]
int cdlms_ttl [2]
int bV3RTM
int is_channel_coded [2]
int update_speed [2]
int transient [2]
int transient_pos [2]
int seekable_tile
int ave_sum [2]
int channel_residues [2][2048]
int lpc_coefs [2][40]
int lpc_order
int lpc_scaling
int lpc_intbits
int channel_coeffs [2][2048]


Detailed Description

main decoder context

Definition at line 159 of file wmalosslessdec.c.


Field Documentation

Definition at line 236 of file wmalosslessdec.c.

Referenced by clear_codec_buffers(), decode_ac_filter(), and revert_acfilter().

Definition at line 234 of file wmalosslessdec.c.

Referenced by decode_ac_filter(), and revert_acfilter().

Definition at line 237 of file wmalosslessdec.c.

Referenced by clear_codec_buffers(), and revert_acfilter().

Definition at line 235 of file wmalosslessdec.c.

Referenced by decode_ac_filter(), and revert_acfilter().

codec context for av_log

Definition at line 161 of file wmalosslessdec.c.

Referenced by decode_frame(), decode_init(), decode_subframe(), decode_subframe_length(), decode_tilehdr(), and save_bits().

Definition at line 275 of file wmalosslessdec.c.

Referenced by clear_codec_buffers(), and decode_channel_residues().

integer audio sample size for the unscaled IMDCT output (used to scale to [-1.0, 1.0])

Definition at line 174 of file wmalosslessdec.c.

Referenced by decode_channel_residues(), decode_frame(), decode_init(), decode_packet(), decode_subframe(), dump_context(), lms_update(), and mclms_update().

Definition at line 254 of file wmalosslessdec.c.

Referenced by decode_cdlms().

buffer size in bits

Definition at line 202 of file wmalosslessdec.c.

Referenced by decode_packet(), and remaining_bits().

struct { ... } WmallDecodeCtx::cdlms[2][9]

Definition at line 285 of file wmalosslessdec.c.

Referenced by decode_subframe().

Definition at line 214 of file wmalosslessdec.c.

Referenced by decode_subframe().

number of channels that contain the subframe

Definition at line 213 of file wmalosslessdec.c.

Referenced by decode_subframe().

channel group information

Definition at line 222 of file wmalosslessdec.c.

Definition at line 255 of file wmalosslessdec.c.

Referenced by clear_codec_buffers(), decode_cdlms(), lms_predict(), and lms_update().

Definition at line 253 of file wmalosslessdec.c.

Referenced by decode_cdlms().

sfb offsets for the current block

Definition at line 217 of file wmalosslessdec.c.

used compression features

Definition at line 171 of file wmalosslessdec.c.

Referenced by decode_init(), and dump_context().

Definition at line 229 of file wmalosslessdec.c.

Referenced by decode_subframe().

Definition at line 228 of file wmalosslessdec.c.

Referenced by decode_subframe().

Definition at line 230 of file wmalosslessdec.c.

Referenced by decode_channel_residues(), and decode_subframe().

Definition at line 232 of file wmalosslessdec.c.

Referenced by decode_subframe().

Definition at line 231 of file wmalosslessdec.c.

Referenced by decode_subframe().

gain for the DRC tool

Definition at line 207 of file wmalosslessdec.c.

Referenced by decode_frame().

accelerated DSP functions

Definition at line 162 of file wmalosslessdec.c.

Referenced by decode_init().

frame contains DRC data

Definition at line 173 of file wmalosslessdec.c.

Referenced by decode_frame(), and decode_init().

length of escaped coefficients

Definition at line 219 of file wmalosslessdec.c.

uint8_t WmallDecodeCtx::frame_data[MAX_FRAMESIZE+FF_INPUT_BUFFER_PADDING_SIZE]

compressed frame data

Definition at line 164 of file wmalosslessdec.c.

Referenced by decode_init(), and save_bits().

current frame number (not used for decoding)

Definition at line 200 of file wmalosslessdec.c.

Referenced by decode_frame().

frame offset in the bit reservoir

Definition at line 194 of file wmalosslessdec.c.

Referenced by decode_frame(), decode_packet(), and save_bits().

Definition at line 268 of file wmalosslessdec.c.

Referenced by decode_subframe(), and mclms_predict().

frame is prefixed with its length

Definition at line 172 of file wmalosslessdec.c.

Referenced by decode_frame(), decode_init(), decode_packet(), and dump_context().

lfe channel index

Definition at line 178 of file wmalosslessdec.c.

Referenced by decode_init().

Definition at line 256 of file wmalosslessdec.c.

Referenced by clear_codec_buffers(), lms_predict(), and lms_update().

Definition at line 176 of file wmalosslessdec.c.

Referenced by decode_frame(), decode_init(), decode_packet(), and dump_context().

Definition at line 280 of file wmalosslessdec.c.

Referenced by clear_codec_buffers(), and decode_lpc().

Definition at line 283 of file wmalosslessdec.c.

Referenced by decode_lpc().

Definition at line 281 of file wmalosslessdec.c.

Referenced by decode_lpc().

Definition at line 282 of file wmalosslessdec.c.

Referenced by decode_lpc().

flag indicating that the subframe is of maximum size when the first subframe length bit is 1

Definition at line 181 of file wmalosslessdec.c.

Referenced by decode_init().

Definition at line 241 of file wmalosslessdec.c.

Referenced by clear_codec_buffers(), decode_mclms(), mclms_predict(), and mclms_update().

Definition at line 242 of file wmalosslessdec.c.

Referenced by clear_codec_buffers(), decode_mclms(), mclms_predict(), and mclms_update().

Definition at line 239 of file wmalosslessdec.c.

Referenced by decode_mclms(), mclms_predict(), mclms_update(), and reset_codec().

Definition at line 243 of file wmalosslessdec.c.

Referenced by clear_codec_buffers(), mclms_predict(), and mclms_update().

Definition at line 245 of file wmalosslessdec.c.

Referenced by mclms_predict(), mclms_update(), and reset_codec().

Definition at line 240 of file wmalosslessdec.c.

Referenced by decode_mclms(), and mclms_predict().

Definition at line 244 of file wmalosslessdec.c.

Referenced by clear_codec_buffers(), and mclms_update().

MDCT context per block size.

Definition at line 166 of file wmalosslessdec.c.

Referenced by decode_end().

Definition at line 182 of file wmalosslessdec.c.

Referenced by decode_init(), decode_subframe_length(), and decode_tilehdr().

Definition at line 247 of file wmalosslessdec.c.

Referenced by decode_channel_residues(), and decode_subframe().

start offset of the next wma packet in the demuxer packet

Definition at line 190 of file wmalosslessdec.c.

Referenced by decode_packet().

number of scale factor bands

Definition at line 215 of file wmalosslessdec.c.

number of channel groups

Definition at line 221 of file wmalosslessdec.c.

saved number of bits

Definition at line 193 of file wmalosslessdec.c.

Referenced by decode_packet(), and save_bits().

int8_t WmallDecodeCtx::num_sfb[WMALL_BLOCK_SIZES]

scale factor bands per block size

Definition at line 183 of file wmalosslessdec.c.

set when a packet is fully decoded

Definition at line 197 of file wmalosslessdec.c.

Referenced by decode_packet().

set in case of bitstream error

Definition at line 196 of file wmalosslessdec.c.

Referenced by decode_frame(), decode_init(), decode_packet(), flush(), and save_bits().

frame offset in the packet

Definition at line 191 of file wmalosslessdec.c.

Referenced by decode_packet().

current packet number

Definition at line 192 of file wmalosslessdec.c.

Referenced by decode_packet().

all subframes decoded?

Definition at line 209 of file wmalosslessdec.c.

Referenced by decode_frame(), and decode_subframe().

context for filling the frame_data buffer

Definition at line 165 of file wmalosslessdec.c.

Referenced by decode_init(), and save_bits().

bitstream reader context for the packet

Definition at line 189 of file wmalosslessdec.c.

Referenced by decode_packet().

Definition at line 248 of file wmalosslessdec.c.

Referenced by decode_subframe().

current samplebuffer pointer (16-bit)

Definition at line 203 of file wmalosslessdec.c.

Referenced by decode_frame(), decode_packet(), and decode_subframe().

maximum samplebuffer pointer

Definition at line 204 of file wmalosslessdec.c.

Referenced by decode_frame(), and decode_packet().

current samplebuffer pointer (24-bit)

Definition at line 205 of file wmalosslessdec.c.

Referenced by decode_frame(), decode_packet(), and decode_subframe().

maximum samplebuffer pointer

Definition at line 206 of file wmalosslessdec.c.

Referenced by decode_frame(), and decode_packet().

Definition at line 252 of file wmalosslessdec.c.

Referenced by decode_cdlms(), and revert_cdlms().

Definition at line 273 of file wmalosslessdec.c.

Referenced by decode_channel_residues(), and decode_subframe().

int8_t WmallDecodeCtx::sf_offsets[WMALL_BLOCK_SIZES][WMALL_BLOCK_SIZES][MAX_BANDS]

scale factor resample matrix

Definition at line 185 of file wmalosslessdec.c.

int16_t WmallDecodeCtx::sfb_offsets[WMALL_BLOCK_SIZES][MAX_BANDS]

scale factor band offsets (multiples of 4)

Definition at line 184 of file wmalosslessdec.c.

skip output step

Definition at line 208 of file wmalosslessdec.c.

Referenced by decode_frame(), and decode_init().

current subframe length

Definition at line 212 of file wmalosslessdec.c.

number of bits used for the subframe length

Definition at line 180 of file wmalosslessdec.c.

Referenced by decode_init().

subframe offset in the bit reservoir

Definition at line 195 of file wmalosslessdec.c.

Referenced by decode_subframe().

subwoofer cutoff values

Definition at line 186 of file wmalosslessdec.c.

index for the num_sfb, sfb_offsets, sf_offsets and subwoofer_cutoffs tables

Definition at line 218 of file wmalosslessdec.c.

float WmallDecodeCtx::tmp[WMALL_BLOCK_MAX_SIZE]

IMDCT output buffer.

Definition at line 167 of file wmalosslessdec.c.

Definition at line 271 of file wmalosslessdec.c.

Referenced by decode_channel_residues(), and reset_codec().

Definition at line 272 of file wmalosslessdec.c.

Referenced by decode_channel_residues(), and reset_codec().

number of vector coded coefficients is part of the bitstream

Definition at line 216 of file wmalosslessdec.c.

Definition at line 269 of file wmalosslessdec.c.

Referenced by lms_update(), use_high_update_speed(), and use_normal_update_speed().

float* WmallDecodeCtx::windows[WMALL_BLOCK_SIZES]

windows for the different block sizes

Definition at line 168 of file wmalosslessdec.c.


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

Generated on Fri Oct 26 02:46:18 2012 for FFmpeg by  doxygen 1.5.8