#include <nb_celp.h>
const SpeexMode* EncState::mode |
Mode corresponding to the state
int EncState::first |
Is this the first frame?
Size of frames
Size of sub-frames
Number of sub-frames
Analysis (LPC) window length
LPC order
Minimum pitch value allowed
Maximum pitch value allowed
Don't use too large values for pitch (in case we lose a packet)
Next frame should not rely on previous frames for pitch
Open-loop pitch
Open-loop voiced/non-voiced decision
int* EncState::pitch |
Perceptual filter: A(z/gamma1)
Perceptual filter: A(z/gamma2)
float EncState::lag_factor |
Lag windowing Gaussian width
Noise floor multiplier for A[0] in LPC analysis
char* EncState::stack |
Pseudo-stack allocation for temporary memory
Input buffer (original signal)
Start of original frame
Excitation buffer
Start of excitation frame
Weighted signal buffer
Start of weighted signal frame
Innovation for the frame
Temporary (Hanning) window
auto-correlation
Window applied to auto-correlation
LPCs for current frame
LSPs for current frame
Quantized LSPs for current frame
LSPs for previous frame
Quantized LSPs for previous frame
Interpolated LSPs
Interpolated quantized LSPs
Interpolated LPCs
Interpolated quantized LPCs
LPCs after bandwidth expansion by gamma1 for perceptual weighting
LPCs after bandwidth expansion by gamma2 for perceptual weighting
Filter memory for signal synthesis
Filter memory for perceptually-weighted signal
Filter memory for perceptually-weighted signal (whole frame)
Filter memory for excitation (whole frame)
Gain of LPC filter at theta=pi (fe/2)
State of the VBR data
float EncState::vbr_quality |
Quality setting for VBR encoding
Relative quality that will be needed by VBR
1 for enabling VBR, 0 otherwise
1 for enabling VAD, 0 otherwise
1 for enabling DTX, 0 otherwise
Number of consecutive DTX frames
ABR setting (in bps), 0 if off
float EncState::abr_drift |
float EncState::abr_drift2 |
float EncState::abr_count |
Complexity setting (0-10 from least complex to most complex)
const SpeexSubmode* const* EncState::submodes |
Sub-mode data
Activated sub-mode
Mode chosen by the user (may differ from submodeID if VAD is on)