FFmpeg  1.2.12
Data Fields
WmallDecodeCtx Struct Reference

main decoder context More...

Data Fields

AVCodecContextavctx
AVFrame frame
uint8_t frame_data [MAX_FRAMESIZE+FF_INPUT_BUFFER_PADDING_SIZE]
 compressed frame data
PutBitContext pb
 context for filling the frame_data buffer
uint32_t decode_flags
 used compression features
int len_prefix
 frame is prefixed with its length
int 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
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
 offset to the frame 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 [WMALL_MAX_CHANNELS]
 current samplebuffer pointer (16-bit)
int32_tsamples_32 [WMALL_MAX_CHANNELS]
 current samplebuffer pointer (24-bit)
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]
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 [WMALL_MAX_CHANNELS][16]
int8_t mclms_order
int8_t mclms_scaling
int16_t mclms_coeffs [WMALL_MAX_CHANNELS *WMALL_MAX_CHANNELS *32]
int16_t mclms_coeffs_cur [WMALL_MAX_CHANNELS *WMALL_MAX_CHANNELS]
int16_t mclms_prevvalues [WMALL_MAX_CHANNELS *2 *32]
int16_t mclms_updates [WMALL_MAX_CHANNELS *2 *32]
int mclms_recent
int movave_scaling
int quant_stepsize
struct {
   int   order
   int   scaling
   int   coefsend
   int   bitsend
   int16_t   coefs [MAX_ORDER]
   int16_t   lms_prevvalues [MAX_ORDER *2]
   int16_t   lms_updates [MAX_ORDER *2]
   int   recent
cdlms [WMALL_MAX_CHANNELS][9]
int cdlms_ttl [WMALL_MAX_CHANNELS]
int bV3RTM
int is_channel_coded [WMALL_MAX_CHANNELS]
int update_speed [WMALL_MAX_CHANNELS]
int transient [WMALL_MAX_CHANNELS]
int transient_pos [WMALL_MAX_CHANNELS]
int seekable_tile
int ave_sum [WMALL_MAX_CHANNELS]
int channel_residues [WMALL_MAX_CHANNELS][WMALL_BLOCK_MAX_SIZE]
int lpc_coefs [WMALL_MAX_CHANNELS][40]
int lpc_order
int lpc_scaling
int lpc_intbits
int channel_coeffs [WMALL_MAX_CHANNELS][WMALL_BLOCK_MAX_SIZE]

Detailed Description

main decoder context

Definition at line 66 of file wmalosslessdec.c.

Field Documentation

int64_t WmallDecodeCtx::acfilter_coeffs[16]

Definition at line 125 of file wmalosslessdec.c.

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

int8_t WmallDecodeCtx::acfilter_order

Definition at line 123 of file wmalosslessdec.c.

Referenced by decode_ac_filter(), and revert_acfilter().

int WmallDecodeCtx::acfilter_prevvalues[WMALL_MAX_CHANNELS][16]

Definition at line 126 of file wmalosslessdec.c.

Referenced by clear_codec_buffers(), and revert_acfilter().

int8_t WmallDecodeCtx::acfilter_scaling

Definition at line 124 of file wmalosslessdec.c.

Referenced by decode_ac_filter(), and revert_acfilter().

AVCodecContext* WmallDecodeCtx::avctx
int WmallDecodeCtx::ave_sum[WMALL_MAX_CHANNELS]

Definition at line 161 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 77 of file wmalosslessdec.c.

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

int WmallDecodeCtx::bitsend

Definition at line 143 of file wmalosslessdec.c.

Referenced by decode_cdlms().

int WmallDecodeCtx::buf_bit_size

buffer size in bits

Definition at line 101 of file wmalosslessdec.c.

Referenced by decode_packet(), and remaining_bits().

int WmallDecodeCtx::bV3RTM
struct { ... } WmallDecodeCtx::cdlms[WMALL_MAX_CHANNELS][9]
int WmallDecodeCtx::cdlms_ttl[WMALL_MAX_CHANNELS]
WmallChannelCtx WmallDecodeCtx::channel[WMALL_MAX_CHANNELS]

per channel data

Definition at line 113 of file wmalosslessdec.c.

Referenced by decode_channel_residues(), decode_frame(), decode_init(), decode_subframe(), decode_tilehdr(), and reset_codec().

int WmallDecodeCtx::channel_coeffs[WMALL_MAX_CHANNELS][WMALL_BLOCK_MAX_SIZE]

Definition at line 170 of file wmalosslessdec.c.

Referenced by decode_subframe().

int8_t WmallDecodeCtx::channel_indexes_for_cur_subframe[WMALL_MAX_CHANNELS]

Definition at line 111 of file wmalosslessdec.c.

Referenced by decode_subframe().

int WmallDecodeCtx::channel_residues[WMALL_MAX_CHANNELS][WMALL_BLOCK_MAX_SIZE]
int8_t WmallDecodeCtx::channels_for_cur_subframe

number of channels that contain the subframe

Definition at line 110 of file wmalosslessdec.c.

Referenced by decode_subframe().

int16_t WmallDecodeCtx::coefs[MAX_ORDER]

Definition at line 144 of file wmalosslessdec.c.

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

int WmallDecodeCtx::coefsend

Definition at line 142 of file wmalosslessdec.c.

Referenced by decode_cdlms().

uint32_t WmallDecodeCtx::decode_flags

used compression features

Definition at line 74 of file wmalosslessdec.c.

Referenced by decode_init().

uint8_t WmallDecodeCtx::do_ac_filter

Definition at line 118 of file wmalosslessdec.c.

Referenced by decode_subframe().

uint8_t WmallDecodeCtx::do_arith_coding

Definition at line 117 of file wmalosslessdec.c.

Referenced by decode_subframe().

uint8_t WmallDecodeCtx::do_inter_ch_decorr

Definition at line 119 of file wmalosslessdec.c.

Referenced by decode_channel_residues(), and decode_subframe().

uint8_t WmallDecodeCtx::do_lpc

Definition at line 121 of file wmalosslessdec.c.

Referenced by decode_subframe().

uint8_t WmallDecodeCtx::do_mclms

Definition at line 120 of file wmalosslessdec.c.

Referenced by decode_subframe().

uint8_t WmallDecodeCtx::drc_gain

gain for the DRC tool

Definition at line 104 of file wmalosslessdec.c.

Referenced by decode_frame().

int WmallDecodeCtx::dynamic_range_compression

frame contains DRC data

Definition at line 76 of file wmalosslessdec.c.

Referenced by decode_frame(), and decode_init().

AVFrame WmallDecodeCtx::frame

Definition at line 69 of file wmalosslessdec.c.

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

uint8_t WmallDecodeCtx::frame_data[MAX_FRAMESIZE+FF_INPUT_BUFFER_PADDING_SIZE]

compressed frame data

Definition at line 70 of file wmalosslessdec.c.

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

uint32_t WmallDecodeCtx::frame_num

current frame number (not used for decoding)

Definition at line 99 of file wmalosslessdec.c.

Referenced by decode_frame().

int WmallDecodeCtx::frame_offset

frame offset in the bit reservoir

Definition at line 93 of file wmalosslessdec.c.

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

GetBitContext WmallDecodeCtx::gb
int WmallDecodeCtx::is_channel_coded[WMALL_MAX_CHANNELS]

Definition at line 154 of file wmalosslessdec.c.

Referenced by decode_subframe(), mclms_predict(), and revert_inter_ch_decorr().

int WmallDecodeCtx::len_prefix

frame is prefixed with its length

Definition at line 75 of file wmalosslessdec.c.

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

int8_t WmallDecodeCtx::lfe_channel

lfe channel index

Definition at line 81 of file wmalosslessdec.c.

Referenced by decode_init().

int16_t WmallDecodeCtx::lms_prevvalues[MAX_ORDER *2]

Definition at line 145 of file wmalosslessdec.c.

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

int16_t WmallDecodeCtx::lms_updates[MAX_ORDER *2]
uint16_t WmallDecodeCtx::log2_frame_size

Definition at line 79 of file wmalosslessdec.c.

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

int WmallDecodeCtx::lpc_coefs[WMALL_MAX_CHANNELS][40]

Definition at line 165 of file wmalosslessdec.c.

Referenced by clear_codec_buffers(), and decode_lpc().

int WmallDecodeCtx::lpc_intbits

Definition at line 168 of file wmalosslessdec.c.

Referenced by decode_lpc().

int WmallDecodeCtx::lpc_order

Definition at line 166 of file wmalosslessdec.c.

Referenced by decode_lpc().

int WmallDecodeCtx::lpc_scaling

Definition at line 167 of file wmalosslessdec.c.

Referenced by decode_lpc().

uint8_t WmallDecodeCtx::max_num_subframes

Definition at line 82 of file wmalosslessdec.c.

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

uint8_t WmallDecodeCtx::max_subframe_len_bit

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

Definition at line 84 of file wmalosslessdec.c.

Referenced by decode_init().

int16_t WmallDecodeCtx::mclms_coeffs[WMALL_MAX_CHANNELS *WMALL_MAX_CHANNELS *32]

Definition at line 130 of file wmalosslessdec.c.

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

int16_t WmallDecodeCtx::mclms_coeffs_cur[WMALL_MAX_CHANNELS *WMALL_MAX_CHANNELS]

Definition at line 131 of file wmalosslessdec.c.

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

int8_t WmallDecodeCtx::mclms_order

Definition at line 128 of file wmalosslessdec.c.

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

int16_t WmallDecodeCtx::mclms_prevvalues[WMALL_MAX_CHANNELS *2 *32]

Definition at line 132 of file wmalosslessdec.c.

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

int WmallDecodeCtx::mclms_recent

Definition at line 134 of file wmalosslessdec.c.

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

int8_t WmallDecodeCtx::mclms_scaling

Definition at line 129 of file wmalosslessdec.c.

Referenced by decode_mclms(), and mclms_predict().

int16_t WmallDecodeCtx::mclms_updates[WMALL_MAX_CHANNELS *2 *32]

Definition at line 133 of file wmalosslessdec.c.

Referenced by clear_codec_buffers(), and mclms_update().

uint16_t WmallDecodeCtx::min_samples_per_subframe

Definition at line 85 of file wmalosslessdec.c.

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

int WmallDecodeCtx::movave_scaling

Definition at line 136 of file wmalosslessdec.c.

Referenced by decode_channel_residues(), and decode_subframe().

int WmallDecodeCtx::next_packet_start

start offset of the next WMA packet in the demuxer packet

Definition at line 89 of file wmalosslessdec.c.

Referenced by decode_packet(), and flush().

int8_t WmallDecodeCtx::num_channels
int WmallDecodeCtx::num_saved_bits

saved number of bits

Definition at line 92 of file wmalosslessdec.c.

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

int WmallDecodeCtx::order
uint8_t WmallDecodeCtx::packet_done

set when a packet is fully decoded

Definition at line 96 of file wmalosslessdec.c.

Referenced by decode_packet(), and flush().

uint8_t WmallDecodeCtx::packet_loss

set in case of bitstream error

Definition at line 95 of file wmalosslessdec.c.

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

uint8_t WmallDecodeCtx::packet_offset

offset to the frame in the packet

Definition at line 90 of file wmalosslessdec.c.

Referenced by decode_packet().

uint8_t WmallDecodeCtx::packet_sequence_number

current packet number

Definition at line 91 of file wmalosslessdec.c.

Referenced by decode_packet().

int8_t WmallDecodeCtx::parsed_all_subframes

all subframes decoded?

Definition at line 106 of file wmalosslessdec.c.

Referenced by decode_frame(), and decode_subframe().

PutBitContext WmallDecodeCtx::pb

context for filling the frame_data buffer

Definition at line 71 of file wmalosslessdec.c.

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

GetBitContext WmallDecodeCtx::pgb

bitstream reader context for the packet

Definition at line 88 of file wmalosslessdec.c.

Referenced by decode_packet().

int WmallDecodeCtx::quant_stepsize

Definition at line 137 of file wmalosslessdec.c.

Referenced by decode_subframe().

int WmallDecodeCtx::recent
int16_t* WmallDecodeCtx::samples_16[WMALL_MAX_CHANNELS]

current samplebuffer pointer (16-bit)

Definition at line 102 of file wmalosslessdec.c.

Referenced by decode_frame(), and decode_subframe().

int32_t* WmallDecodeCtx::samples_32[WMALL_MAX_CHANNELS]

current samplebuffer pointer (24-bit)

Definition at line 103 of file wmalosslessdec.c.

Referenced by decode_frame(), and decode_subframe().

uint16_t WmallDecodeCtx::samples_per_frame
int WmallDecodeCtx::scaling

Definition at line 141 of file wmalosslessdec.c.

Referenced by decode_cdlms(), and revert_cdlms().

int WmallDecodeCtx::seekable_tile

Definition at line 159 of file wmalosslessdec.c.

Referenced by decode_channel_residues(), and decode_subframe().

int8_t WmallDecodeCtx::skip_frame

skip output step

Definition at line 105 of file wmalosslessdec.c.

Referenced by decode_frame(), and decode_init().

int16_t WmallDecodeCtx::subframe_len

current subframe length

Definition at line 109 of file wmalosslessdec.c.

uint8_t WmallDecodeCtx::subframe_len_bits

number of bits used for the subframe length

Definition at line 83 of file wmalosslessdec.c.

Referenced by decode_init().

int WmallDecodeCtx::subframe_offset

subframe offset in the bit reservoir

Definition at line 94 of file wmalosslessdec.c.

Referenced by decode_subframe().

int WmallDecodeCtx::transient[WMALL_MAX_CHANNELS]

Definition at line 157 of file wmalosslessdec.c.

Referenced by decode_channel_residues(), and reset_codec().

int WmallDecodeCtx::transient_pos[WMALL_MAX_CHANNELS]

Definition at line 158 of file wmalosslessdec.c.

Referenced by decode_channel_residues(), and reset_codec().

int WmallDecodeCtx::update_speed[WMALL_MAX_CHANNELS]

Definition at line 155 of file wmalosslessdec.c.

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


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