#include <nb_celp.h>
Public Attributes | |
const SpeexMode * | mode |
int | first |
int | frameSize |
int | subframeSize |
int | nbSubframes |
int | windowSize |
int | lpcSize |
int | min_pitch |
int | max_pitch |
spx_word32_t | cumul_gain |
int | bounded_pitch |
int | ol_pitch |
int | ol_voiced |
spx_word16_t | gamma1 |
spx_word16_t | gamma2 |
spx_word16_t | lpc_floor |
char * | stack |
spx_word16_t * | winBuf |
spx_word16_t * | excBuf |
spx_word16_t * | exc |
spx_word16_t * | swBuf |
spx_word16_t * | sw |
const spx_word16_t * | window |
const spx_word16_t * | lagWindow |
spx_lsp_t * | old_lsp |
spx_lsp_t * | old_qlsp |
spx_mem_t * | mem_sp |
spx_mem_t * | mem_sw |
spx_mem_t * | mem_sw_whole |
spx_mem_t * | mem_exc |
spx_mem_t * | mem_exc2 |
spx_mem_t | mem_hp [2] |
spx_word32_t * | pi_gain |
spx_word16_t * | innov_rms_save |
VBRState * | vbr |
float | vbr_quality |
float | relative_quality |
spx_int32_t | vbr_enabled |
spx_int32_t | vbr_max |
int | vad_enabled |
int | dtx_enabled |
int | dtx_count |
spx_int32_t | abr_enabled |
int | complexity |
const SpeexSubmode *const * | submodes |
int | submodeID |
int | submodeSelect |
int | isWideband |
int | highpass_enabled |
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
spx_word32_t EncState::cumul_gain |
Product of previously used pitch gains (Q10)
Next frame should not rely on previous frames for pitch
Open-loop pitch
Open-loop voiced/non-voiced decision
spx_word16_t EncState::gamma1 |
Perceptual filter: A(z/gamma1)
spx_word16_t EncState::gamma2 |
Perceptual filter: A(z/gamma2)
spx_word16_t EncState::lpc_floor |
Noise floor multiplier for A[0] in LPC analysis
char* EncState::stack |
Pseudo-stack allocation for temporary memory
spx_word16_t* EncState::winBuf |
Input buffer (original signal)
spx_word16_t* EncState::excBuf |
Excitation buffer
spx_word16_t* EncState::exc |
Start of excitation frame
spx_word16_t* EncState::swBuf |
Weighted signal buffer
spx_word16_t* EncState::sw |
Start of weighted signal frame
const spx_word16_t* EncState::window |
Temporary (Hanning) window
const spx_word16_t* EncState::lagWindow |
Window applied to auto-correlation
spx_lsp_t* EncState::old_lsp |
LSPs for previous frame
spx_lsp_t* EncState::old_qlsp |
Quantized LSPs for previous frame
spx_mem_t* EncState::mem_sp |
Filter memory for signal synthesis
spx_mem_t* EncState::mem_sw |
Filter memory for perceptually-weighted signal
spx_mem_t* EncState::mem_sw_whole |
Filter memory for perceptually-weighted signal (whole frame)
spx_mem_t* EncState::mem_exc |
Filter memory for excitation (whole frame)
spx_mem_t* EncState::mem_exc2 |
Filter memory for excitation (whole frame)
spx_mem_t EncState::mem_hp[2] |
High-pass filter memory
spx_word32_t* EncState::pi_gain |
Gain of LPC filter at theta=pi (fe/2)
spx_word16_t* EncState::innov_rms_save |
If non-NULL, innovation RMS is copied here
State of the VBR data
float EncState::vbr_quality |
Quality setting for VBR encoding
Relative quality that will be needed by VBR
spx_int32_t EncState::vbr_enabled |
1 for enabling VBR, 0 otherwise
spx_int32_t EncState::vbr_max |
Max bit-rate allowed in VBR mode
1 for enabling VAD, 0 otherwise
1 for enabling DTX, 0 otherwise
Number of consecutive DTX frames
spx_int32_t EncState::abr_enabled |
ABR setting (in bps), 0 if off
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)
Is this used as part of the embedded wideband codec
Is the input filter enabled