FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Fields
WMAProChannelCtx Struct Reference

frame specific decoder context for a single channel More...

Data Fields

int16_t prev_block_len
 length of the previous block
 
uint8_t transmit_coefs
 
uint8_t num_subframes
 
uint16_t subframe_len [MAX_SUBFRAMES]
 subframe length in samples
 
uint16_t subframe_offset [MAX_SUBFRAMES]
 subframe positions in the current frame
 
uint8_t cur_subframe
 current subframe number
 
uint16_t decoded_samples
 number of already processed samples
 
uint8_t grouped
 channel is part of a group
 
int quant_step
 quantization step for the current subframe
 
int8_t reuse_sf
 share scale factors between subframes
 
int8_t scale_factor_step
 scaling step for the current subframe
 
int max_scale_factor
 maximum scale factor for the current subframe
 
int saved_scale_factors [2][MAX_BANDS]
 resampled and (previously) transmitted scale factor values
 
int8_t scale_factor_idx
 index for the transmitted scale factor values (used for resampling)
 
int * scale_factors
 pointer to the scale factor values used for decoding
 
uint8_t table_idx
 index in sf_offsets for the scale factor reference block
 
float * coeffs
 pointer to the subframe decode buffer
 
uint16_t num_vec_coeffs
 number of vector coded coefficients
 
float out [WMAPRO_BLOCK_MAX_SIZE+WMAPRO_BLOCK_MAX_SIZE/2]
 output buffer
 

Detailed Description

frame specific decoder context for a single channel

Definition at line 133 of file wmaprodec.c.

Field Documentation

int16_t WMAProChannelCtx::prev_block_len

length of the previous block

Definition at line 134 of file wmaprodec.c.

Referenced by decode_init(), and wmapro_window().

uint8_t WMAProChannelCtx::transmit_coefs

Definition at line 135 of file wmaprodec.c.

Referenced by decode_subframe().

uint8_t WMAProChannelCtx::num_subframes

Definition at line 136 of file wmaprodec.c.

Referenced by decode_subframe(), and decode_tilehdr().

uint16_t WMAProChannelCtx::subframe_len[MAX_SUBFRAMES]

subframe length in samples

Definition at line 137 of file wmaprodec.c.

Referenced by decode_subframe(), and decode_tilehdr().

uint16_t WMAProChannelCtx::subframe_offset[MAX_SUBFRAMES]

subframe positions in the current frame

Definition at line 138 of file wmaprodec.c.

Referenced by decode_tilehdr().

uint8_t WMAProChannelCtx::cur_subframe

current subframe number

Definition at line 139 of file wmaprodec.c.

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

uint16_t WMAProChannelCtx::decoded_samples

number of already processed samples

Definition at line 140 of file wmaprodec.c.

Referenced by decode_frame(), and decode_subframe().

uint8_t WMAProChannelCtx::grouped

channel is part of a group

Definition at line 141 of file wmaprodec.c.

Referenced by decode_channel_transform(), and decode_subframe().

int WMAProChannelCtx::quant_step

quantization step for the current subframe

Definition at line 142 of file wmaprodec.c.

Referenced by decode_subframe().

int8_t WMAProChannelCtx::reuse_sf

share scale factors between subframes

Definition at line 143 of file wmaprodec.c.

Referenced by decode_frame(), and decode_scale_factors().

int8_t WMAProChannelCtx::scale_factor_step

scaling step for the current subframe

Definition at line 144 of file wmaprodec.c.

Referenced by decode_scale_factors(), and decode_subframe().

int WMAProChannelCtx::max_scale_factor

maximum scale factor for the current subframe

Definition at line 145 of file wmaprodec.c.

Referenced by decode_scale_factors(), and decode_subframe().

int WMAProChannelCtx::saved_scale_factors[2][MAX_BANDS]

resampled and (previously) transmitted scale factor values

Definition at line 146 of file wmaprodec.c.

Referenced by decode_scale_factors().

int8_t WMAProChannelCtx::scale_factor_idx

index for the transmitted scale factor values (used for resampling)

Definition at line 147 of file wmaprodec.c.

Referenced by decode_scale_factors().

int* WMAProChannelCtx::scale_factors

pointer to the scale factor values used for decoding

Definition at line 148 of file wmaprodec.c.

Referenced by decode_scale_factors(), and decode_subframe().

uint8_t WMAProChannelCtx::table_idx

index in sf_offsets for the scale factor reference block

Definition at line 149 of file wmaprodec.c.

Referenced by decode_scale_factors().

float* WMAProChannelCtx::coeffs

pointer to the subframe decode buffer

Definition at line 150 of file wmaprodec.c.

Referenced by decode_channel_transform(), decode_coeffs(), decode_subframe(), and wmapro_window().

uint16_t WMAProChannelCtx::num_vec_coeffs

number of vector coded coefficients

Definition at line 151 of file wmaprodec.c.

Referenced by decode_coeffs(), and decode_subframe().

float WMAProChannelCtx::out[WMAPRO_BLOCK_MAX_SIZE+WMAPRO_BLOCK_MAX_SIZE/2]

output buffer

Definition at line 152 of file wmaprodec.c.

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


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