Main Page | Class List | Directories | File List | Class Members | File Members

DecState Struct Reference

#include <nb_celp.h>

Collaboration diagram for DecState:

Collaboration graph
[legend]
List of all members.

Public Attributes

const SpeexMode * mode
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
spx_word16_t last_ol_gain
char * stack
spx_sig_tinBuf
spx_sig_tframe
spx_sig_texcBuf
spx_sig_texc
spx_sig_tinnov
spx_lsp_tqlsp
spx_lsp_told_qlsp
spx_lsp_tinterp_qlsp
spx_coef_tinterp_qlpc
spx_mem_tmem_sp
spx_word32_tpi_gain
int last_pitch
spx_word16_t last_pitch_gain
spx_word16_t pitch_gain_buf [3]
int pitch_gain_buf_idx
int encode_submode
const SpeexSubmode *const * 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
 

int DecState::encode_submode
 

spx_sig_t* DecState::exc
 

Start of excitation frame

spx_sig_t* DecState::excBuf
 

Excitation buffer

int DecState::first
 

Is this the first frame?

spx_sig_t* DecState::frame
 

Start of original frame

int DecState::frameSize
 

Size of frames

spx_sig_t* DecState::inBuf
 

Input buffer (original signal)

spx_sig_t* DecState::innov
 

Innovation for the frame

spx_coef_t* DecState::interp_qlpc
 

Interpolated quantized LPCs

spx_lsp_t* DecState::interp_qlsp
 

Interpolated quantized LSPs

spx_word16_t DecState::last_ol_gain
 

Open-loop gain for previous frame

int DecState::last_pitch
 

Pitch of last correctly decoded frame

spx_word16_t 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

spx_mem_t* DecState::mem_sp
 

Filter memory for synthesis signal

int DecState::min_pitch
 

Minimum pitch value allowed

const SpeexMode* DecState::mode
 

Mode corresponding to the state

int DecState::nbSubframes
 

Number of sub-frames

spx_lsp_t* DecState::old_qlsp
 

Quantized LSPs for previous frame

spx_word32_t* DecState::pi_gain
 

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

spx_word16_t DecState::pitch_gain_buf[3]
 

Pitch gain of last decoded frames

int DecState::pitch_gain_buf_idx
 

Tail of the buffer

spx_lsp_t* 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

const SpeexSubmode* const* 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 Sun Feb 27 16:37:08 2005 for speex by  doxygen 1.4.1