Main Page   Compound List   File List   Compound Members   File Members  

EncState Struct Reference

#include <nb_celp.h>

List of all members.

Public Attributes

SpeexModemode
int first
int frameSize
int subframeSize
int nbSubframes
int windowSize
int lpcSize
int bufSize
int min_pitch
int max_pitch
int safe_pitch
int bounded_pitch
int ol_pitch
int ol_voiced
int * pitch
float gamma1
float gamma2
float lag_factor
float lpc_floor
float preemph
float pre_mem
float pre_mem2
char * stack
float * inBuf
float * frame
float * excBuf
float * exc
float * exc2Buf
float * exc2
float * swBuf
float * sw
float * innov
float * window
float * buf2
float * autocorr
float * lagWindow
float * lpc
float * lsp
float * qlsp
float * old_lsp
float * old_qlsp
float * interp_lsp
float * interp_qlsp
float * interp_lpc
float * interp_qlpc
float * bw_lpc1
float * bw_lpc2
float * rc
float * mem_sp
float * mem_sw
float * mem_sw_whole
float * mem_exc
float * pi_gain
VBRStatevbr
float vbr_quality
float relative_quality
int vbr_enabled
int vad_enabled
int dtx_enabled
int dtx_count
int abr_enabled
float abr_drift
float abr_drift2
float abr_count
int complexity
int sampling_rate
SpeexSubmode ** submodes
int submodeID
int submodeSelect


Detailed Description

Structure representing the full state of the narrowband encoder


Member Data Documentation

float EncState::abr_count
 

float EncState::abr_drift
 

float EncState::abr_drift2
 

int EncState::abr_enabled
 

ABR setting (in bps), 0 if off

float* EncState::autocorr
 

auto-correlation

int EncState::bounded_pitch
 

Next frame should not rely on previous frames for pitch

float* EncState::buf2
 

2nd temporary buffer

int EncState::bufSize
 

Buffer size

float* EncState::bw_lpc1
 

LPCs after bandwidth expansion by gamma1 for perceptual weighting

float* EncState::bw_lpc2
 

LPCs after bandwidth expansion by gamma2 for perceptual weighting

int EncState::complexity
 

Complexity setting (0-10 from least complex to most complex)

int EncState::dtx_count
 

Number of consecutive DTX frames

int EncState::dtx_enabled
 

1 for enabling DTX, 0 otherwise

float* EncState::exc
 

Start of excitation frame

float* EncState::exc2
 

"Pitch enhanced" excitation

float* EncState::exc2Buf
 

"Pitch enhanced" excitation

float* EncState::excBuf
 

Excitation buffer

int EncState::first
 

Is this the first frame?

float* EncState::frame
 

Start of original frame

int EncState::frameSize
 

Size of frames

float EncState::gamma1
 

Perceptual filter: A(z/gamma1)

float EncState::gamma2
 

Perceptual filter: A(z/gamma2)

float* EncState::inBuf
 

Input buffer (original signal)

float* EncState::innov
 

Innovation for the frame

float* EncState::interp_lpc
 

Interpolated LPCs

float* EncState::interp_lsp
 

Interpolated LSPs

float* EncState::interp_qlpc
 

Interpolated quantized LPCs

float* EncState::interp_qlsp
 

Interpolated quantized LSPs

float EncState::lag_factor
 

Lag windowing Gaussian width

float* EncState::lagWindow
 

Window applied to auto-correlation

float* EncState::lpc
 

LPCs for current frame

float EncState::lpc_floor
 

Noise floor multiplier for A[0] in LPC analysis

int EncState::lpcSize
 

LPC order

float* EncState::lsp
 

LSPs for current frame

int EncState::max_pitch
 

Maximum pitch value allowed

float* EncState::mem_exc
 

Filter memory for excitation (whole frame)

float* EncState::mem_sp
 

Filter memory for signal synthesis

float* EncState::mem_sw
 

Filter memory for perceptually-weighted signal

float* EncState::mem_sw_whole
 

Filter memory for perceptually-weighted signal (whole frame)

int EncState::min_pitch
 

Minimum pitch value allowed

SpeexMode* EncState::mode
 

Mode corresponding to the state

int EncState::nbSubframes
 

Number of sub-frames

int EncState::ol_pitch
 

Open-loop pitch

int EncState::ol_voiced
 

Open-loop voiced/non-voiced decision

float* EncState::old_lsp
 

LSPs for previous frame

float* EncState::old_qlsp
 

Quantized LSPs for previous frame

float* EncState::pi_gain
 

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

int* EncState::pitch
 

float EncState::pre_mem
 

1-element memory for pre-emphasis

float EncState::pre_mem2
 

1-element memory for pre-emphasis

float EncState::preemph
 

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

float* EncState::qlsp
 

Quantized LSPs for current frame

float* EncState::rc
 

Reflection coefficients

float EncState::relative_quality
 

Relative quality that will be needed by VBR

int EncState::safe_pitch
 

Don't use too large values for pitch (in case we lose a packet)

int EncState::sampling_rate
 

char* EncState::stack
 

Pseudo-stack allocation for temporary memory

int EncState::subframeSize
 

Size of sub-frames

int EncState::submodeID
 

Activated sub-mode

SpeexSubmode** EncState::submodes
 

Sub-mode data

int EncState::submodeSelect
 

Mode chosen by the user (may differ from submodeID if VAD is on)

float* EncState::sw
 

Start of weighted signal frame

float* EncState::swBuf
 

Weighted signal buffer

int EncState::vad_enabled
 

1 for enabling VAD, 0 otherwise

VBRState* EncState::vbr
 

State of the VBR data

int EncState::vbr_enabled
 

1 for enabling VBR, 0 otherwise

float EncState::vbr_quality
 

Quality setting for VBR encoding

float* EncState::window
 

Temporary (Hanning) window

int EncState::windowSize
 

Analysis (LPC) window length


The documentation for this struct was generated from the following file:
Generated on Wed Feb 11 13:48:38 2004 for speex by doxygen1.2.15