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

Detailed Description

frame specific decoder context for a single channel

Definition at line 139 of file wmaprodec.c.

Field Documentation

◆ prev_block_len

int16_t WMAProChannelCtx::prev_block_len

length of the previous block

Definition at line 140 of file wmaprodec.c.

Referenced by decode_init(), and wmapro_window().

◆ transmit_coefs

uint8_t WMAProChannelCtx::transmit_coefs

Definition at line 141 of file wmaprodec.c.

Referenced by decode_subframe().

◆ num_subframes

uint8_t WMAProChannelCtx::num_subframes

Definition at line 142 of file wmaprodec.c.

Referenced by decode_subframe(), and decode_tilehdr().

◆ subframe_len

uint16_t WMAProChannelCtx::subframe_len[MAX_SUBFRAMES]

subframe length in samples

Definition at line 143 of file wmaprodec.c.

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

◆ subframe_offset

uint16_t WMAProChannelCtx::subframe_offset[MAX_SUBFRAMES]

subframe positions in the current frame

Definition at line 144 of file wmaprodec.c.

Referenced by decode_tilehdr().

◆ cur_subframe

uint8_t WMAProChannelCtx::cur_subframe

current subframe number

Definition at line 145 of file wmaprodec.c.

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

◆ decoded_samples

uint16_t WMAProChannelCtx::decoded_samples

number of already processed samples

Definition at line 146 of file wmaprodec.c.

Referenced by decode_frame(), and decode_subframe().

◆ grouped

uint8_t WMAProChannelCtx::grouped

channel is part of a group

Definition at line 147 of file wmaprodec.c.

Referenced by decode_channel_transform(), and decode_subframe().

◆ quant_step

int WMAProChannelCtx::quant_step

quantization step for the current subframe

Definition at line 148 of file wmaprodec.c.

Referenced by decode_subframe().

◆ reuse_sf

int8_t WMAProChannelCtx::reuse_sf

share scale factors between subframes

Definition at line 149 of file wmaprodec.c.

Referenced by decode_frame(), and decode_scale_factors().

◆ scale_factor_step

int8_t WMAProChannelCtx::scale_factor_step

scaling step for the current subframe

Definition at line 150 of file wmaprodec.c.

Referenced by decode_scale_factors(), and decode_subframe().

◆ max_scale_factor

int WMAProChannelCtx::max_scale_factor

maximum scale factor for the current subframe

Definition at line 151 of file wmaprodec.c.

Referenced by decode_scale_factors(), and decode_subframe().

◆ saved_scale_factors

int WMAProChannelCtx::saved_scale_factors[2][MAX_BANDS]

resampled and (previously) transmitted scale factor values

Definition at line 152 of file wmaprodec.c.

Referenced by decode_scale_factors().

◆ scale_factor_idx

int8_t WMAProChannelCtx::scale_factor_idx

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

Definition at line 153 of file wmaprodec.c.

Referenced by decode_scale_factors().

◆ scale_factors

int* WMAProChannelCtx::scale_factors

pointer to the scale factor values used for decoding

Definition at line 154 of file wmaprodec.c.

Referenced by decode_scale_factors(), and decode_subframe().

◆ table_idx

uint8_t WMAProChannelCtx::table_idx

index in sf_offsets for the scale factor reference block

Definition at line 155 of file wmaprodec.c.

Referenced by decode_scale_factors().

◆ coeffs

float* WMAProChannelCtx::coeffs

pointer to the subframe decode buffer

Definition at line 156 of file wmaprodec.c.

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

◆ num_vec_coeffs

uint16_t WMAProChannelCtx::num_vec_coeffs

number of vector coded coefficients

Definition at line 157 of file wmaprodec.c.

Referenced by decode_coeffs(), and decode_subframe().

◆ out

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

output buffer

Definition at line 158 of file wmaprodec.c.

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


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