Data Fields | |
AVCodecContext * | avctx |
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_t * | samples_16 |
current samplebuffer pointer (16-bit) | |
int16_t * | samples_16_end |
maximum samplebuffer pointer | |
int16_t * | samples_32 |
current samplebuffer pointer (24-bit) | |
int16_t * | samples_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_t * | cur_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] |
Definition at line 159 of file wmalosslessdec.c.
int64_t WmallDecodeCtx::acfilter_coeffs[16] |
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().
int WmallDecodeCtx::acfilter_prevvalues[2][16] |
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().
int WmallDecodeCtx::ave_sum[2] |
Definition at line 275 of file wmalosslessdec.c.
Referenced by clear_codec_buffers(), and decode_channel_residues().
uint8_t WmallDecodeCtx::bits_per_sample |
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().
buffer size in bits
Definition at line 202 of file wmalosslessdec.c.
Referenced by decode_packet(), and remaining_bits().
Definition at line 266 of file wmalosslessdec.c.
Referenced by decode_init(), decode_subframe(), use_high_update_speed(), and use_normal_update_speed().
struct { ... } WmallDecodeCtx::cdlms[2][9] |
int WmallDecodeCtx::cdlms_ttl[2] |
Definition at line 264 of file wmalosslessdec.c.
Referenced by clear_codec_buffers(), decode_cdlms(), reset_codec(), revert_cdlms(), use_high_update_speed(), and use_normal_update_speed().
WmallChannelCtx WmallDecodeCtx::channel[WMALL_MAX_CHANNELS] |
per channel data
Definition at line 224 of file wmalosslessdec.c.
Referenced by decode_channel_residues(), decode_frame(), decode_init(), decode_subframe(), decode_tilehdr(), flush(), and reset_codec().
int WmallDecodeCtx::channel_coeffs[2][2048] |
int8_t WmallDecodeCtx::channel_indexes_for_cur_subframe[WMALL_MAX_CHANNELS] |
int WmallDecodeCtx::channel_residues[2][2048] |
Definition at line 277 of file wmalosslessdec.c.
Referenced by decode_channel_residues(), decode_subframe(), mclms_predict(), mclms_update(), revert_acfilter(), revert_cdlms(), and revert_inter_ch_decorr().
number of channels that contain the subframe
Definition at line 213 of file wmalosslessdec.c.
Referenced by decode_subframe().
WmallChannelGrp WmallDecodeCtx::chgroup[WMALL_MAX_CHANNELS] |
Definition at line 255 of file wmalosslessdec.c.
Referenced by clear_codec_buffers(), decode_cdlms(), lms_predict(), and lms_update().
uint32_t WmallDecodeCtx::decode_flags |
used compression features
Definition at line 171 of file wmalosslessdec.c.
Referenced by decode_init(), and dump_context().
uint8_t WmallDecodeCtx::do_ac_filter |
uint8_t WmallDecodeCtx::do_arith_coding |
Definition at line 230 of file wmalosslessdec.c.
Referenced by decode_channel_residues(), and decode_subframe().
uint8_t WmallDecodeCtx::do_lpc |
uint8_t WmallDecodeCtx::do_mclms |
uint8_t WmallDecodeCtx::drc_gain |
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().
int8_t WmallDecodeCtx::esc_len |
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().
uint32_t WmallDecodeCtx::frame_num |
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().
bitstream reader context
Definition at line 201 of file wmalosslessdec.c.
Referenced by decode_ac_filter(), decode_cdlms(), decode_channel_residues(), decode_frame(), decode_lpc(), decode_mclms(), decode_packet(), decode_subframe(), decode_subframe_length(), decode_tilehdr(), and save_bits().
Definition at line 268 of file wmalosslessdec.c.
Referenced by decode_subframe(), and mclms_predict().
uint8_t WmallDecodeCtx::len_prefix |
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().
int8_t WmallDecodeCtx::lfe_channel |
Definition at line 256 of file wmalosslessdec.c.
Referenced by clear_codec_buffers(), lms_predict(), and lms_update().
Definition at line 257 of file wmalosslessdec.c.
Referenced by clear_codec_buffers(), lms_update(), use_high_update_speed(), and use_normal_update_speed().
uint16_t WmallDecodeCtx::log2_frame_size |
Definition at line 176 of file wmalosslessdec.c.
Referenced by decode_frame(), decode_init(), decode_packet(), and dump_context().
int WmallDecodeCtx::lpc_coefs[2][40] |
Definition at line 280 of file wmalosslessdec.c.
Referenced by clear_codec_buffers(), and decode_lpc().
Definition at line 179 of file wmalosslessdec.c.
Referenced by decode_init(), decode_subframe_length(), decode_tilehdr(), and dump_context().
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().
int8_t WmallDecodeCtx::mclms_order |
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 244 of file wmalosslessdec.c.
Referenced by clear_codec_buffers(), and mclms_update().
FFTContext WmallDecodeCtx::mdct_ctx[WMALL_BLOCK_SIZES] |
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().
int8_t WmallDecodeCtx::num_bands |
int8_t WmallDecodeCtx::num_channels |
number of channels in the stream (same as AVCodecContext.num_channels)
Definition at line 177 of file wmalosslessdec.c.
Referenced by clear_codec_buffers(), decode_cdlms(), decode_frame(), decode_init(), decode_lpc(), decode_mclms(), decode_subframe(), decode_tilehdr(), dump_context(), flush(), mclms_predict(), mclms_update(), reset_codec(), revert_acfilter(), revert_inter_ch_decorr(), and revert_mclms().
uint8_t WmallDecodeCtx::num_chgroups |
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] |
Definition at line 251 of file wmalosslessdec.c.
Referenced by decode_cdlms(), lms_predict(), lms_update(), reset_codec(), use_high_update_speed(), and use_normal_update_speed().
uint8_t WmallDecodeCtx::packet_done |
set when a packet is fully decoded
Definition at line 197 of file wmalosslessdec.c.
Referenced by decode_packet().
uint8_t WmallDecodeCtx::packet_loss |
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().
uint8_t WmallDecodeCtx::packet_offset |
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 258 of file wmalosslessdec.c.
Referenced by lms_predict(), lms_update(), reset_codec(), use_high_update_speed(), and use_normal_update_speed().
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().
uint16_t WmallDecodeCtx::samples_per_frame |
number of samples to output
Definition at line 175 of file wmalosslessdec.c.
Referenced by decode_channel_residues(), decode_frame(), decode_init(), decode_subframe(), decode_subframe_length(), decode_tilehdr(), dump_context(), flush(), and reset_codec().
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] |
int16_t WmallDecodeCtx::sfb_offsets[WMALL_BLOCK_SIZES][MAX_BANDS] |
int8_t WmallDecodeCtx::skip_frame |
skip output step
Definition at line 208 of file wmalosslessdec.c.
Referenced by decode_frame(), and decode_init().
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().
int16_t WmallDecodeCtx::subwoofer_cutoffs[WMALL_BLOCK_SIZES] |
uint8_t WmallDecodeCtx::table_idx |
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] |
int WmallDecodeCtx::transient[2] |
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.
int WmallDecodeCtx::update_speed[2] |
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] |