Libav
Functions

Pitch-adaptive window coding functions

The next few functions are for pitch-adaptive window coding. More...

Functions

static void aw_parse_coords (WMAVoiceContext *s, GetBitContext *gb, const int *pitch)
 Parse the offset of the first pitch-adaptive window pulses, and the distribution of pulses between the two blocks in this frame.
static void aw_pulse_set2 (WMAVoiceContext *s, GetBitContext *gb, int block_idx, AMRFixed *fcb)
 Apply second set of pitch-adaptive window pulses.
static void aw_pulse_set1 (WMAVoiceContext *s, GetBitContext *gb, int block_idx, AMRFixed *fcb)
 Apply first set of pitch-adaptive window pulses.

Detailed Description

The next few functions are for pitch-adaptive window coding.


Function Documentation

static void aw_parse_coords ( WMAVoiceContext s,
GetBitContext gb,
const int *  pitch 
) [static]

Parse the offset of the first pitch-adaptive window pulses, and the distribution of pulses between the two blocks in this frame.

Parameters:
sWMA Voice decoding context private data
gbbit I/O context
pitchpitch for each block in this frame

Definition at line 981 of file wmavoice.c.

Referenced by synth_frame().

static void aw_pulse_set1 ( WMAVoiceContext s,
GetBitContext gb,
int  block_idx,
AMRFixed fcb 
) [static]

Apply first set of pitch-adaptive window pulses.

Parameters:
sWMA Voice decoding context private data
gbbit I/O context
block_idxblock index in frame [0, 1]
fcbstorage location for fixed codebook pulse info

Definition at line 1119 of file wmavoice.c.

Referenced by synth_block_fcb_acb().

static void aw_pulse_set2 ( WMAVoiceContext s,
GetBitContext gb,
int  block_idx,
AMRFixed fcb 
) [static]

Apply second set of pitch-adaptive window pulses.

Parameters:
sWMA Voice decoding context private data
gbbit I/O context
block_idxblock index in frame [0, 1]
fcbstructure containing fixed codebook vector info

Definition at line 1032 of file wmavoice.c.

Referenced by synth_block_fcb_acb().