Frame and superframe values

Superframe and frame data - these can change from frame to frame, although some of them do in that case serve as a cache / history for the next frame or superframe. More...


Variables

double WMAVoiceContext::prev_lsps [MAX_LSPS]
 LSPs of the last frame of the previous superframe.
int WMAVoiceContext::last_pitch_val
 pitch value of the previous frame
int WMAVoiceContext::last_acb_type
 frame type [0-2] of the previous frame
int WMAVoiceContext::pitch_diff_sh16
 ((cur_pitch_val - last_pitch_val) << 16) / MAX_FRAMESIZE
float WMAVoiceContext::silence_gain
 set for use in blocks if ACB_TYPE_NONE
int WMAVoiceContext::aw_idx_is_ext
 whether the AW index was encoded in 8 bits (instead of 6)
int WMAVoiceContext::aw_pulse_range
 the range over which aw_pulse_set1() can apply the pulse, relative to the value in aw_first_pulse_off.
int WMAVoiceContext::aw_n_pulses [2]
 number of AW-pulses in each block; note that this number can be negative (in which case it basically means "zero")
int WMAVoiceContext::aw_first_pulse_off [2]
 index of first sample to which to apply AW-pulses, or -0xff if unset
int WMAVoiceContext::aw_next_pulse_off_cache
 the position (relative to start of the second block) at which pulses should start to be positioned, serves as a cache for pitch-adaptive window pulses between blocks
int WMAVoiceContext::frame_cntr
 current frame index [0 - 0xFFFE]; is only used for comfort noise in pRNG()
float WMAVoiceContext::gain_pred_err [6]
 cache for gain prediction
float WMAVoiceContext::excitation_history [MAX_SIGNAL_HISTORY]
 cache of the signal of previous superframes, used as a history for signal generation
float WMAVoiceContext::synth_history [MAX_LSPS]
 see excitation_history


Detailed Description

Superframe and frame data - these can change from frame to frame, although some of them do in that case serve as a cache / history for the next frame or superframe.

Variable Documentation

index of first sample to which to apply AW-pulses, or -0xff if unset

Definition at line 240 of file wmavoice.c.

Referenced by aw_parse_coords(), aw_pulse_set1(), and aw_pulse_set2().

whether the AW index was encoded in 8 bits (instead of 6)

Definition at line 229 of file wmavoice.c.

Referenced by aw_parse_coords(), and aw_pulse_set1().

int WMAVoiceContext::aw_n_pulses[2] [inherited]

number of AW-pulses in each block; note that this number can be negative (in which case it basically means "zero")

Definition at line 237 of file wmavoice.c.

Referenced by aw_parse_coords(), aw_pulse_set1(), and aw_pulse_set2().

the position (relative to start of the second block) at which pulses should start to be positioned, serves as a cache for pitch-adaptive window pulses between blocks

Definition at line 242 of file wmavoice.c.

Referenced by aw_pulse_set2().

the range over which aw_pulse_set1() can apply the pulse, relative to the value in aw_first_pulse_off.

The exact position of the first AW-pulse is within [pulse_off, pulse_off + this], and depends on bitstream values; [16 or 24]

Definition at line 231 of file wmavoice.c.

Referenced by aw_parse_coords(), aw_pulse_set1(), and aw_pulse_set2().

float WMAVoiceContext::excitation_history[MAX_SIGNAL_HISTORY] [inherited]

cache of the signal of previous superframes, used as a history for signal generation

Definition at line 252 of file wmavoice.c.

Referenced by synth_superframe(), and wmavoice_flush().

int WMAVoiceContext::frame_cntr [inherited]

current frame index [0 - 0xFFFE]; is only used for comfort noise in pRNG()

Definition at line 248 of file wmavoice.c.

Referenced by synth_block_hardcoded(), and synth_frame().

float WMAVoiceContext::gain_pred_err[6] [inherited]

cache for gain prediction

Definition at line 250 of file wmavoice.c.

Referenced by synth_block_fcb_acb(), synth_block_hardcoded(), and wmavoice_flush().

frame type [0-2] of the previous frame

Definition at line 224 of file wmavoice.c.

Referenced by synth_frame(), and wmavoice_decode_init().

pitch value of the previous frame

Definition at line 223 of file wmavoice.c.

Referenced by synth_block_fcb_acb(), synth_frame(), and wmavoice_decode_init().

((cur_pitch_val - last_pitch_val) << 16) / MAX_FRAMESIZE

Definition at line 225 of file wmavoice.c.

Referenced by synth_block_fcb_acb(), and synth_frame().

double WMAVoiceContext::prev_lsps[MAX_LSPS] [inherited]

LSPs of the last frame of the previous superframe.

Definition at line 221 of file wmavoice.c.

Referenced by synth_superframe(), wmavoice_decode_init(), and wmavoice_flush().

float WMAVoiceContext::silence_gain [inherited]

set for use in blocks if ACB_TYPE_NONE

Definition at line 227 of file wmavoice.c.

Referenced by synth_block_hardcoded(), and synth_frame().

float WMAVoiceContext::synth_history[MAX_LSPS] [inherited]

see excitation_history

Definition at line 255 of file wmavoice.c.

Referenced by synth_superframe(), and wmavoice_flush().


Generated on Fri Oct 26 02:36:56 2012 for FFmpeg by  doxygen 1.5.8