FFmpeg
Data Fields
WMAProDecodeCtx Struct Reference

main decoder context More...

Data Fields

AVCodecContextavctx
 codec context for av_log More...
 
AVFloatDSPContextfdsp
 
uint8_t frame_data [MAX_FRAMESIZE+AV_INPUT_BUFFER_PADDING_SIZE]
 compressed frame data More...
 
PutBitContext pb
 context for filling the frame_data buffer More...
 
AVTXContexttx [WMAPRO_BLOCK_SIZES]
 MDCT context per block size. More...
 
av_tx_fn tx_fn [WMAPRO_BLOCK_SIZES]
 
float tmp [WMAPRO_BLOCK_MAX_SIZE]
 IMDCT output buffer. More...
 
const floatwindows [WMAPRO_BLOCK_SIZES]
 windows for the different block sizes More...
 
uint32_t decode_flags
 used compression features More...
 
uint8_t len_prefix
 frame is prefixed with its length More...
 
uint8_t 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 trim_start
 number of samples to skip at start More...
 
uint16_t trim_end
 number of samples to skip at end More...
 
uint16_t log2_frame_size
 
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
 
int8_t num_sfb [WMAPRO_BLOCK_SIZES]
 scale factor bands per block size More...
 
int16_t sfb_offsets [WMAPRO_BLOCK_SIZES][MAX_BANDS]
 scale factor band offsets (multiples of 4) More...
 
int8_t sf_offsets [WMAPRO_BLOCK_SIZES][WMAPRO_BLOCK_SIZES][MAX_BANDS]
 scale factor resample matrix More...
 
int16_t subwoofer_cutoffs [WMAPRO_BLOCK_SIZES]
 subwoofer cutoff values More...
 
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
 frame offset 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...
 
uint8_t eof_done
 set when EOF reached and extra subframe is written (XMA1/2) 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...
 
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...
 
uint8_t skip_packets
 packets to skip to find next packet in a stream (XMA1/2) More...
 
int16_t subframe_len
 current subframe length More...
 
int8_t nb_channels
 number of channels in stream (XMA1/2) More...
 
int8_t channels_for_cur_subframe
 number of channels that contain the subframe More...
 
int8_t channel_indexes_for_cur_subframe [WMAPRO_MAX_CHANNELS]
 
int8_t num_bands
 number of scale factor bands More...
 
int8_t transmit_num_vec_coeffs
 number of vector coded coefficients is part of the bitstream More...
 
int16_t * cur_sfb_offsets
 sfb offsets for the current block More...
 
uint8_t table_idx
 index for the num_sfb, sfb_offsets, sf_offsets and subwoofer_cutoffs tables More...
 
int8_t esc_len
 length of escaped coefficients More...
 
uint8_t num_chgroups
 number of channel groups More...
 
WMAProChannelGrp chgroup [WMAPRO_MAX_CHANNELS]
 channel group information More...
 
WMAProChannelCtx channel [WMAPRO_MAX_CHANNELS]
 per channel data More...
 

Detailed Description

main decoder context

Definition at line 183 of file wmaprodec.c.

Field Documentation

◆ avctx

AVCodecContext* WMAProDecodeCtx::avctx

codec context for av_log

Definition at line 185 of file wmaprodec.c.

◆ fdsp

AVFloatDSPContext* WMAProDecodeCtx::fdsp

Definition at line 186 of file wmaprodec.c.

◆ frame_data

uint8_t WMAProDecodeCtx::frame_data[MAX_FRAMESIZE+ AV_INPUT_BUFFER_PADDING_SIZE]

compressed frame data

Definition at line 188 of file wmaprodec.c.

◆ pb

PutBitContext WMAProDecodeCtx::pb

context for filling the frame_data buffer

Definition at line 189 of file wmaprodec.c.

◆ tx

AVTXContext* WMAProDecodeCtx::tx[WMAPRO_BLOCK_SIZES]

MDCT context per block size.

Definition at line 190 of file wmaprodec.c.

◆ tx_fn

av_tx_fn WMAProDecodeCtx::tx_fn[WMAPRO_BLOCK_SIZES]

Definition at line 191 of file wmaprodec.c.

◆ tmp

float WMAProDecodeCtx::tmp[WMAPRO_BLOCK_MAX_SIZE]

IMDCT output buffer.

Definition at line 192 of file wmaprodec.c.

◆ windows

const float* WMAProDecodeCtx::windows[WMAPRO_BLOCK_SIZES]

windows for the different block sizes

Definition at line 193 of file wmaprodec.c.

◆ decode_flags

uint32_t WMAProDecodeCtx::decode_flags

used compression features

Definition at line 196 of file wmaprodec.c.

◆ len_prefix

uint8_t WMAProDecodeCtx::len_prefix

frame is prefixed with its length

Definition at line 197 of file wmaprodec.c.

◆ dynamic_range_compression

uint8_t WMAProDecodeCtx::dynamic_range_compression

frame contains DRC data

Definition at line 198 of file wmaprodec.c.

◆ bits_per_sample

uint8_t WMAProDecodeCtx::bits_per_sample

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

Definition at line 199 of file wmaprodec.c.

◆ samples_per_frame

uint16_t WMAProDecodeCtx::samples_per_frame

number of samples to output

Definition at line 200 of file wmaprodec.c.

◆ trim_start

uint16_t WMAProDecodeCtx::trim_start

number of samples to skip at start

Definition at line 201 of file wmaprodec.c.

◆ trim_end

uint16_t WMAProDecodeCtx::trim_end

number of samples to skip at end

Definition at line 202 of file wmaprodec.c.

◆ log2_frame_size

uint16_t WMAProDecodeCtx::log2_frame_size

Definition at line 203 of file wmaprodec.c.

◆ lfe_channel

int8_t WMAProDecodeCtx::lfe_channel

lfe channel index

Definition at line 204 of file wmaprodec.c.

◆ max_num_subframes

uint8_t WMAProDecodeCtx::max_num_subframes

Definition at line 205 of file wmaprodec.c.

◆ subframe_len_bits

uint8_t WMAProDecodeCtx::subframe_len_bits

number of bits used for the subframe length

Definition at line 206 of file wmaprodec.c.

◆ max_subframe_len_bit

uint8_t WMAProDecodeCtx::max_subframe_len_bit

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

Definition at line 207 of file wmaprodec.c.

◆ min_samples_per_subframe

uint16_t WMAProDecodeCtx::min_samples_per_subframe

Definition at line 208 of file wmaprodec.c.

◆ num_sfb

int8_t WMAProDecodeCtx::num_sfb[WMAPRO_BLOCK_SIZES]

scale factor bands per block size

Definition at line 209 of file wmaprodec.c.

◆ sfb_offsets

int16_t WMAProDecodeCtx::sfb_offsets[WMAPRO_BLOCK_SIZES][MAX_BANDS]

scale factor band offsets (multiples of 4)

Definition at line 210 of file wmaprodec.c.

◆ sf_offsets

int8_t WMAProDecodeCtx::sf_offsets[WMAPRO_BLOCK_SIZES][WMAPRO_BLOCK_SIZES][MAX_BANDS]

scale factor resample matrix

Definition at line 211 of file wmaprodec.c.

◆ subwoofer_cutoffs

int16_t WMAProDecodeCtx::subwoofer_cutoffs[WMAPRO_BLOCK_SIZES]

subwoofer cutoff values

Definition at line 212 of file wmaprodec.c.

◆ pgb

GetBitContext WMAProDecodeCtx::pgb

bitstream reader context for the packet

Definition at line 215 of file wmaprodec.c.

◆ next_packet_start

int WMAProDecodeCtx::next_packet_start

start offset of the next wma packet in the demuxer packet

Definition at line 216 of file wmaprodec.c.

◆ packet_offset

uint8_t WMAProDecodeCtx::packet_offset

frame offset in the packet

Definition at line 217 of file wmaprodec.c.

◆ packet_sequence_number

uint8_t WMAProDecodeCtx::packet_sequence_number

current packet number

Definition at line 218 of file wmaprodec.c.

◆ num_saved_bits

int WMAProDecodeCtx::num_saved_bits

saved number of bits

Definition at line 219 of file wmaprodec.c.

◆ frame_offset

int WMAProDecodeCtx::frame_offset

frame offset in the bit reservoir

Definition at line 220 of file wmaprodec.c.

◆ subframe_offset

int WMAProDecodeCtx::subframe_offset

subframe offset in the bit reservoir

Definition at line 221 of file wmaprodec.c.

◆ packet_loss

uint8_t WMAProDecodeCtx::packet_loss

set in case of bitstream error

Definition at line 222 of file wmaprodec.c.

◆ packet_done

uint8_t WMAProDecodeCtx::packet_done

set when a packet is fully decoded

Definition at line 223 of file wmaprodec.c.

◆ eof_done

uint8_t WMAProDecodeCtx::eof_done

set when EOF reached and extra subframe is written (XMA1/2)

Definition at line 224 of file wmaprodec.c.

◆ frame_num

uint32_t WMAProDecodeCtx::frame_num

current frame number (not used for decoding)

Definition at line 227 of file wmaprodec.c.

◆ gb

GetBitContext WMAProDecodeCtx::gb

bitstream reader context

Definition at line 228 of file wmaprodec.c.

◆ buf_bit_size

int WMAProDecodeCtx::buf_bit_size

buffer size in bits

Definition at line 229 of file wmaprodec.c.

◆ drc_gain

uint8_t WMAProDecodeCtx::drc_gain

gain for the DRC tool

Definition at line 230 of file wmaprodec.c.

◆ skip_frame

int8_t WMAProDecodeCtx::skip_frame

skip output step

Definition at line 231 of file wmaprodec.c.

◆ parsed_all_subframes

int8_t WMAProDecodeCtx::parsed_all_subframes

all subframes decoded?

Definition at line 232 of file wmaprodec.c.

◆ skip_packets

uint8_t WMAProDecodeCtx::skip_packets

packets to skip to find next packet in a stream (XMA1/2)

Definition at line 233 of file wmaprodec.c.

◆ subframe_len

int16_t WMAProDecodeCtx::subframe_len

current subframe length

Definition at line 236 of file wmaprodec.c.

◆ nb_channels

int8_t WMAProDecodeCtx::nb_channels

number of channels in stream (XMA1/2)

Definition at line 237 of file wmaprodec.c.

◆ channels_for_cur_subframe

int8_t WMAProDecodeCtx::channels_for_cur_subframe

number of channels that contain the subframe

Definition at line 238 of file wmaprodec.c.

◆ channel_indexes_for_cur_subframe

int8_t WMAProDecodeCtx::channel_indexes_for_cur_subframe[WMAPRO_MAX_CHANNELS]

Definition at line 239 of file wmaprodec.c.

◆ num_bands

int8_t WMAProDecodeCtx::num_bands

number of scale factor bands

Definition at line 240 of file wmaprodec.c.

◆ transmit_num_vec_coeffs

int8_t WMAProDecodeCtx::transmit_num_vec_coeffs

number of vector coded coefficients is part of the bitstream

Definition at line 241 of file wmaprodec.c.

◆ cur_sfb_offsets

int16_t* WMAProDecodeCtx::cur_sfb_offsets

sfb offsets for the current block

Definition at line 242 of file wmaprodec.c.

◆ table_idx

uint8_t WMAProDecodeCtx::table_idx

index for the num_sfb, sfb_offsets, sf_offsets and subwoofer_cutoffs tables

Definition at line 243 of file wmaprodec.c.

◆ esc_len

int8_t WMAProDecodeCtx::esc_len

length of escaped coefficients

Definition at line 244 of file wmaprodec.c.

◆ num_chgroups

uint8_t WMAProDecodeCtx::num_chgroups

number of channel groups

Definition at line 246 of file wmaprodec.c.

◆ chgroup

WMAProChannelGrp WMAProDecodeCtx::chgroup[WMAPRO_MAX_CHANNELS]

channel group information

Definition at line 247 of file wmaprodec.c.

◆ channel

WMAProChannelCtx WMAProDecodeCtx::channel[WMAPRO_MAX_CHANNELS]

per channel data

Definition at line 249 of file wmaprodec.c.


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