Main Page   Compound List   File List   Compound Members   File Members  

DecState Struct Reference

#include <nb_celp.h>

List of all members.

Public Attributes

SpeexModemode
int first
int count_lost
int frameSize
int subframeSize
int nbSubframes
int windowSize
int lpcSize
int bufSize
int min_pitch
int max_pitch
int sampling_rate
float last_ol_gain
float gamma1
float gamma2
float preemph
float pre_mem
char * stack
float * inBuf
float * frame
float * excBuf
float * exc
float * innov
float * qlsp
float * old_qlsp
float * interp_qlsp
float * interp_qlpc
float * mem_sp
float * pi_gain
int last_pitch
float last_pitch_gain
float pitch_gain_buf [3]
int pitch_gain_buf_idx
SpeexSubmode ** submodes
int submodeID
int lpc_enh_enabled
CombFilterMemcomb_mem
SpeexCallback speex_callbacks [SPEEX_MAX_CALLBACKS]
SpeexCallback user_callback
float voc_m1
float voc_m2
float voc_mean
int voc_offset
int dtx_enabled


Detailed Description

Structure representing the full state of the narrowband decoder


Member Data Documentation

int DecState::bufSize
 

Buffer size

CombFilterMem* DecState::comb_mem
 

int DecState::count_lost
 

Was the last frame lost?

int DecState::dtx_enabled
 

float* DecState::exc
 

Start of excitation frame

float* DecState::excBuf
 

Excitation buffer

int DecState::first
 

Is this the first frame?

float* DecState::frame
 

Start of original frame

int DecState::frameSize
 

Size of frames

float DecState::gamma1
 

Perceptual filter: A(z/gamma1)

float DecState::gamma2
 

Perceptual filter: A(z/gamma2)

float* DecState::inBuf
 

Input buffer (original signal)

float* DecState::innov
 

Innovation for the frame

float* DecState::interp_qlpc
 

Interpolated quantized LPCs

float* DecState::interp_qlsp
 

Interpolated quantized LSPs

float DecState::last_ol_gain
 

Open-loop gain for previous frame

int DecState::last_pitch
 

Pitch of last correctly decoded frame

float DecState::last_pitch_gain
 

Pitch gain of last correctly decoded frame

int DecState::lpc_enh_enabled
 

1 when LPC enhancer is on, 0 otherwise

int DecState::lpcSize
 

LPC order

int DecState::max_pitch
 

Maximum pitch value allowed

float* DecState::mem_sp
 

Filter memory for synthesis signal

int DecState::min_pitch
 

Minimum pitch value allowed

SpeexMode* DecState::mode
 

Mode corresponding to the state

int DecState::nbSubframes
 

Number of sub-frames

float* DecState::old_qlsp
 

Quantized LSPs for previous frame

float* DecState::pi_gain
 

Gain of LPC filter at theta=pi (fe/2)

float DecState::pitch_gain_buf[3]
 

Pitch gain of last decoded frames

int DecState::pitch_gain_buf_idx
 

Tail of the buffer

float DecState::pre_mem
 

1-element memory for pre-emphasis

float DecState::preemph
 

Pre-emphasis: P(z) = 1 - a*z^-1

float* DecState::qlsp
 

Quantized LSPs for current frame

int DecState::sampling_rate
 

SpeexCallback DecState::speex_callbacks[SPEEX_MAX_CALLBACKS]
 

char* DecState::stack
 

Pseudo-stack allocation for temporary memory

int DecState::subframeSize
 

Size of sub-frames

int DecState::submodeID
 

Activated sub-mode

SpeexSubmode** DecState::submodes
 

Sub-mode data

SpeexCallback DecState::user_callback
 

float DecState::voc_m1
 

float DecState::voc_m2
 

float DecState::voc_mean
 

int DecState::voc_offset
 

int DecState::windowSize
 

Analysis (LPC) window length


The documentation for this struct was generated from the following file:
Generated on Sat Dec 6 08:47:41 2003 for speex by doxygen1.2.15