FFmpeg
Data Fields
WmallDecodeCtx Struct Reference

main decoder context More...

Data Fields

AVCodecContextavctx
 
AVFrameframe
 
LLAudDSPContext dsp
 accelerated DSP functions More...
 
uint8_t * frame_data
 compressed frame data More...
 
int max_frame_size
 max bitstream size More...
 
PutBitContext pb
 context for filling the frame_data buffer More...
 
uint32_t decode_flags
 used compression features More...
 
int len_prefix
 frame is prefixed with its length More...
 
int dynamic_range_compression
 frame contains DRC data More...
 
uint8_t bits_per_sample
 integer audio sample size for the unscaled IMDCT output (used to scale to [-1.0, 1.0]) More...
 
uint16_t samples_per_frame
 number of samples to output More...
 
uint16_t log2_frame_size
 
int8_t num_channels
 number of channels in the stream (same as AVCodecContext.num_channels) More...
 
int8_t lfe_channel
 lfe channel index More...
 
uint8_t max_num_subframes
 
uint8_t subframe_len_bits
 number of bits used for the subframe length More...
 
uint8_t max_subframe_len_bit
 flag indicating that the subframe is of maximum size when the first subframe length bit is 1 More...
 
uint16_t min_samples_per_subframe
 
GetBitContext pgb
 bitstream reader context for the packet More...
 
int next_packet_start
 start offset of the next WMA packet in the demuxer packet More...
 
uint8_t packet_offset
 offset to the frame in the packet More...
 
uint8_t packet_sequence_number
 current packet number More...
 
int num_saved_bits
 saved number of bits More...
 
int frame_offset
 frame offset in the bit reservoir More...
 
int subframe_offset
 subframe offset in the bit reservoir More...
 
uint8_t packet_loss
 set in case of bitstream error More...
 
uint8_t packet_done
 set when a packet is fully decoded More...
 
uint32_t frame_num
 current frame number (not used for decoding) More...
 
GetBitContext gb
 bitstream reader context More...
 
int buf_bit_size
 buffer size in bits More...
 
int16_t * samples_16 [WMALL_MAX_CHANNELS]
 current sample buffer pointer (16-bit) More...
 
int32_tsamples_32 [WMALL_MAX_CHANNELS]
 current sample buffer pointer (24-bit) More...
 
uint8_t drc_gain
 gain for the DRC tool More...
 
int8_t skip_frame
 skip output step More...
 
int8_t parsed_all_subframes
 all subframes decoded? More...
 
int16_t subframe_len
 current subframe length More...
 
int8_t channels_for_cur_subframe
 number of channels that contain the subframe More...
 
int8_t channel_indexes_for_cur_subframe [WMALL_MAX_CHANNELS]
 
WmallChannelCtx channel [WMALL_MAX_CHANNELS]
 per channel data More...
 
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
 
int16_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]
 
int32_t mclms_prevvalues [WMALL_MAX_CHANNELS *2 *32]
 
int32_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+WMALL_COEFF_PAD_SIZE/sizeof(int16_t)]
 
   int32_t   lms_prevvalues [MAX_ORDER
      *2+WMALL_COEFF_PAD_SIZE/sizeof(int16_t)]
 
   int16_t   lms_updates [MAX_ORDER
      *2+WMALL_COEFF_PAD_SIZE/sizeof(int16_t)]
 
   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
 
unsigned 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
 

Detailed Description

main decoder context

Definition at line 71 of file wmalosslessdec.c.

Field Documentation

◆ avctx

AVCodecContext* WmallDecodeCtx::avctx

Definition at line 73 of file wmalosslessdec.c.

◆ frame

AVFrame* WmallDecodeCtx::frame

Definition at line 74 of file wmalosslessdec.c.

◆ dsp

LLAudDSPContext WmallDecodeCtx::dsp

accelerated DSP functions

Definition at line 75 of file wmalosslessdec.c.

◆ frame_data

uint8_t* WmallDecodeCtx::frame_data

compressed frame data

Definition at line 76 of file wmalosslessdec.c.

◆ max_frame_size

int WmallDecodeCtx::max_frame_size

max bitstream size

Definition at line 77 of file wmalosslessdec.c.

◆ pb

PutBitContext WmallDecodeCtx::pb

context for filling the frame_data buffer

Definition at line 78 of file wmalosslessdec.c.

◆ decode_flags

uint32_t WmallDecodeCtx::decode_flags

used compression features

Definition at line 81 of file wmalosslessdec.c.

◆ len_prefix

int WmallDecodeCtx::len_prefix

frame is prefixed with its length

Definition at line 82 of file wmalosslessdec.c.

◆ dynamic_range_compression

int WmallDecodeCtx::dynamic_range_compression

frame contains DRC data

Definition at line 83 of file wmalosslessdec.c.

◆ bits_per_sample

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 84 of file wmalosslessdec.c.

◆ samples_per_frame

uint16_t WmallDecodeCtx::samples_per_frame

number of samples to output

Definition at line 85 of file wmalosslessdec.c.

◆ log2_frame_size

uint16_t WmallDecodeCtx::log2_frame_size

Definition at line 86 of file wmalosslessdec.c.

◆ num_channels

int8_t WmallDecodeCtx::num_channels

number of channels in the stream (same as AVCodecContext.num_channels)

Definition at line 87 of file wmalosslessdec.c.

◆ lfe_channel

int8_t WmallDecodeCtx::lfe_channel

lfe channel index

Definition at line 88 of file wmalosslessdec.c.

◆ max_num_subframes

uint8_t WmallDecodeCtx::max_num_subframes

Definition at line 89 of file wmalosslessdec.c.

◆ subframe_len_bits

uint8_t WmallDecodeCtx::subframe_len_bits

number of bits used for the subframe length

Definition at line 90 of file wmalosslessdec.c.

◆ max_subframe_len_bit

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 91 of file wmalosslessdec.c.

◆ min_samples_per_subframe

uint16_t WmallDecodeCtx::min_samples_per_subframe

Definition at line 92 of file wmalosslessdec.c.

◆ pgb

GetBitContext WmallDecodeCtx::pgb

bitstream reader context for the packet

Definition at line 95 of file wmalosslessdec.c.

◆ next_packet_start

int WmallDecodeCtx::next_packet_start

start offset of the next WMA packet in the demuxer packet

Definition at line 96 of file wmalosslessdec.c.

◆ packet_offset

uint8_t WmallDecodeCtx::packet_offset

offset to the frame in the packet

Definition at line 97 of file wmalosslessdec.c.

◆ packet_sequence_number

uint8_t WmallDecodeCtx::packet_sequence_number

current packet number

Definition at line 98 of file wmalosslessdec.c.

◆ num_saved_bits

int WmallDecodeCtx::num_saved_bits

saved number of bits

Definition at line 99 of file wmalosslessdec.c.

◆ frame_offset

int WmallDecodeCtx::frame_offset

frame offset in the bit reservoir

Definition at line 100 of file wmalosslessdec.c.

◆ subframe_offset

int WmallDecodeCtx::subframe_offset

subframe offset in the bit reservoir

Definition at line 101 of file wmalosslessdec.c.

◆ packet_loss

uint8_t WmallDecodeCtx::packet_loss

set in case of bitstream error

Definition at line 102 of file wmalosslessdec.c.

◆ packet_done

uint8_t WmallDecodeCtx::packet_done

set when a packet is fully decoded

Definition at line 103 of file wmalosslessdec.c.

◆ frame_num

uint32_t WmallDecodeCtx::frame_num

current frame number (not used for decoding)

Definition at line 106 of file wmalosslessdec.c.

◆ gb

GetBitContext WmallDecodeCtx::gb

bitstream reader context

Definition at line 107 of file wmalosslessdec.c.

◆ buf_bit_size

int WmallDecodeCtx::buf_bit_size

buffer size in bits

Definition at line 108 of file wmalosslessdec.c.

◆ samples_16

int16_t* WmallDecodeCtx::samples_16[WMALL_MAX_CHANNELS]

current sample buffer pointer (16-bit)

Definition at line 109 of file wmalosslessdec.c.

◆ samples_32

int32_t* WmallDecodeCtx::samples_32[WMALL_MAX_CHANNELS]

current sample buffer pointer (24-bit)

Definition at line 110 of file wmalosslessdec.c.

◆ drc_gain

uint8_t WmallDecodeCtx::drc_gain

gain for the DRC tool

Definition at line 111 of file wmalosslessdec.c.

◆ skip_frame

int8_t WmallDecodeCtx::skip_frame

skip output step

Definition at line 112 of file wmalosslessdec.c.

◆ parsed_all_subframes

int8_t WmallDecodeCtx::parsed_all_subframes

all subframes decoded?

Definition at line 113 of file wmalosslessdec.c.

◆ subframe_len

int16_t WmallDecodeCtx::subframe_len

current subframe length

Definition at line 116 of file wmalosslessdec.c.

◆ channels_for_cur_subframe

int8_t WmallDecodeCtx::channels_for_cur_subframe

number of channels that contain the subframe

Definition at line 117 of file wmalosslessdec.c.

◆ channel_indexes_for_cur_subframe

int8_t WmallDecodeCtx::channel_indexes_for_cur_subframe[WMALL_MAX_CHANNELS]

Definition at line 118 of file wmalosslessdec.c.

◆ channel

WmallChannelCtx WmallDecodeCtx::channel[WMALL_MAX_CHANNELS]

per channel data

Definition at line 120 of file wmalosslessdec.c.

◆ do_arith_coding

uint8_t WmallDecodeCtx::do_arith_coding

Definition at line 124 of file wmalosslessdec.c.

◆ do_ac_filter

uint8_t WmallDecodeCtx::do_ac_filter

Definition at line 125 of file wmalosslessdec.c.

◆ do_inter_ch_decorr

uint8_t WmallDecodeCtx::do_inter_ch_decorr

Definition at line 126 of file wmalosslessdec.c.

◆ do_mclms

uint8_t WmallDecodeCtx::do_mclms

Definition at line 127 of file wmalosslessdec.c.

◆ do_lpc

uint8_t WmallDecodeCtx::do_lpc

Definition at line 128 of file wmalosslessdec.c.

◆ acfilter_order

int8_t WmallDecodeCtx::acfilter_order

Definition at line 130 of file wmalosslessdec.c.

◆ acfilter_scaling

int8_t WmallDecodeCtx::acfilter_scaling

Definition at line 131 of file wmalosslessdec.c.

◆ acfilter_coeffs

int16_t WmallDecodeCtx::acfilter_coeffs[16]

Definition at line 132 of file wmalosslessdec.c.

◆ acfilter_prevvalues

int WmallDecodeCtx::acfilter_prevvalues[WMALL_MAX_CHANNELS][16]

Definition at line 133 of file wmalosslessdec.c.

◆ mclms_order

int8_t WmallDecodeCtx::mclms_order

Definition at line 135 of file wmalosslessdec.c.

◆ mclms_scaling

int8_t WmallDecodeCtx::mclms_scaling

Definition at line 136 of file wmalosslessdec.c.

◆ mclms_coeffs

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

Definition at line 137 of file wmalosslessdec.c.

◆ mclms_coeffs_cur

int16_t WmallDecodeCtx::mclms_coeffs_cur[WMALL_MAX_CHANNELS *WMALL_MAX_CHANNELS]

Definition at line 138 of file wmalosslessdec.c.

◆ mclms_prevvalues

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

Definition at line 139 of file wmalosslessdec.c.

◆ mclms_updates

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

Definition at line 140 of file wmalosslessdec.c.

◆ mclms_recent

int WmallDecodeCtx::mclms_recent

Definition at line 141 of file wmalosslessdec.c.

◆ movave_scaling

int WmallDecodeCtx::movave_scaling

Definition at line 143 of file wmalosslessdec.c.

◆ quant_stepsize

int WmallDecodeCtx::quant_stepsize

Definition at line 144 of file wmalosslessdec.c.

◆ order

int WmallDecodeCtx::order

Definition at line 147 of file wmalosslessdec.c.

◆ scaling

int WmallDecodeCtx::scaling

Definition at line 148 of file wmalosslessdec.c.

◆ coefsend

int WmallDecodeCtx::coefsend

Definition at line 149 of file wmalosslessdec.c.

◆ bitsend

int WmallDecodeCtx::bitsend

Definition at line 150 of file wmalosslessdec.c.

◆ coefs

int16_t WmallDecodeCtx::coefs[MAX_ORDER+WMALL_COEFF_PAD_SIZE/sizeof(int16_t)]

Definition at line 151 of file wmalosslessdec.c.

◆ lms_prevvalues

int32_t WmallDecodeCtx::lms_prevvalues[MAX_ORDER *2+WMALL_COEFF_PAD_SIZE/sizeof(int16_t)]

Definition at line 152 of file wmalosslessdec.c.

◆ lms_updates

int16_t WmallDecodeCtx::lms_updates[MAX_ORDER *2+WMALL_COEFF_PAD_SIZE/sizeof(int16_t)]

Definition at line 153 of file wmalosslessdec.c.

◆ recent

int WmallDecodeCtx::recent

Definition at line 154 of file wmalosslessdec.c.

◆ cdlms

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

◆ cdlms_ttl

int WmallDecodeCtx::cdlms_ttl[WMALL_MAX_CHANNELS]

Definition at line 157 of file wmalosslessdec.c.

◆ bV3RTM

int WmallDecodeCtx::bV3RTM

Definition at line 159 of file wmalosslessdec.c.

◆ is_channel_coded

int WmallDecodeCtx::is_channel_coded[WMALL_MAX_CHANNELS]

Definition at line 161 of file wmalosslessdec.c.

◆ update_speed

int WmallDecodeCtx::update_speed[WMALL_MAX_CHANNELS]

Definition at line 162 of file wmalosslessdec.c.

◆ transient

int WmallDecodeCtx::transient[WMALL_MAX_CHANNELS]

Definition at line 164 of file wmalosslessdec.c.

◆ transient_pos

int WmallDecodeCtx::transient_pos[WMALL_MAX_CHANNELS]

Definition at line 165 of file wmalosslessdec.c.

◆ seekable_tile

int WmallDecodeCtx::seekable_tile

Definition at line 166 of file wmalosslessdec.c.

◆ ave_sum

unsigned WmallDecodeCtx::ave_sum[WMALL_MAX_CHANNELS]

Definition at line 168 of file wmalosslessdec.c.

◆ channel_residues

int WmallDecodeCtx::channel_residues[WMALL_MAX_CHANNELS][WMALL_BLOCK_MAX_SIZE]

Definition at line 170 of file wmalosslessdec.c.

◆ lpc_coefs

int WmallDecodeCtx::lpc_coefs[WMALL_MAX_CHANNELS][40]

Definition at line 172 of file wmalosslessdec.c.

◆ lpc_order

int WmallDecodeCtx::lpc_order

Definition at line 173 of file wmalosslessdec.c.

◆ lpc_scaling

int WmallDecodeCtx::lpc_scaling

Definition at line 174 of file wmalosslessdec.c.

◆ lpc_intbits

int WmallDecodeCtx::lpc_intbits

Definition at line 175 of file wmalosslessdec.c.


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