ex
Fork of
mbed-os-example-mbed5-blinky
by mbed-os-examples
« Back to documentation index
SBEncState Struct Reference
Structure representing the full state of the sub-band encoder.
More...
#include <sb_celp.h >
Data Fields
const SpeexMode * mode
Pointer to the mode (containing for vtable info)
void * st_low
State of the low-band (narrowband) encoder.
int full_frame_size
Length of full-band frames.
int frame_size
Length of high-band frames.
int subframeSize
Length of high-band sub-frames.
int nbSubframes
Number of high-band sub-frames.
int windowSize
Length of high-band LPC window.
int lpcSize
Order of high-band LPC analysis.
int bufSize
Buffer size.
int first
First frame?
float lag_factor
Lag-windowing control parameter.
spx_word16_t lpc_floor
Controls LPC analysis noise floor.
spx_word16_t gamma1
Perceptual weighting coef 1.
spx_word16_t gamma2
Perceptual weighting coef 2.
char * stack
Temporary allocation stack.
spx_word16_t * high
High-band signal (buffer)
const spx_word16_t * window
LPC analysis window.
spx_word16_t * lagWindow
Auto-correlation window.
spx_lsp_t * old_lsp
LSPs of previous frame.
spx_lsp_t * old_qlsp
Quantized LSPs of previous frame.
spx_coef_t * interp_qlpc
Interpolated quantized LPCs for current sub-frame.
spx_mem_t * mem_sp
Synthesis signal memory.
spx_mem_t * mem_sw
Perceptual signal memory.
spx_word16_t * innov_rms_save
If non-NULL, innovation is copied here.
float vbr_quality
Quality setting for VBR encoding.
int vbr_enabled
1 for enabling VBR, 0 otherwise
spx_int32_t vbr_max
Max bit-rate allowed in VBR mode (total)
spx_int32_t vbr_max_high
Max bit-rate allowed in VBR mode for the high-band.
spx_int32_t abr_enabled
ABR setting (in bps), 0 if off.
int vad_enabled
1 for enabling VAD, 0 otherwise
Detailed Description
Structure representing the full state of the sub-band encoder.
Definition at line 44 of file sb_celp.h .
Field Documentation
ABR setting (in bps), 0 if off.
Definition at line 81 of file sb_celp.h .
Length of high-band frames.
Definition at line 48 of file sb_celp.h .
Length of full-band frames.
Definition at line 47 of file sb_celp.h .
Perceptual weighting coef 1.
Definition at line 57 of file sb_celp.h .
Perceptual weighting coef 2.
Definition at line 58 of file sb_celp.h .
High-band signal (buffer)
Definition at line 61 of file sb_celp.h .
If non-NULL, innovation is copied here.
Definition at line 75 of file sb_celp.h .
Interpolated quantized LPCs for current sub-frame.
Definition at line 68 of file sb_celp.h .
Lag-windowing control parameter.
Definition at line 55 of file sb_celp.h .
Auto-correlation window.
Definition at line 65 of file sb_celp.h .
Controls LPC analysis noise floor.
Definition at line 56 of file sb_celp.h .
Order of high-band LPC analysis.
Definition at line 52 of file sb_celp.h .
Synthesis signal memory.
Definition at line 70 of file sb_celp.h .
Perceptual signal memory.
Definition at line 72 of file sb_celp.h .
Pointer to the mode (containing for vtable info)
Definition at line 45 of file sb_celp.h .
Number of high-band sub-frames.
Definition at line 50 of file sb_celp.h .
LSPs of previous frame.
Definition at line 66 of file sb_celp.h .
Quantized LSPs of previous frame.
Definition at line 67 of file sb_celp.h .
State of the low-band (narrowband) encoder.
Definition at line 46 of file sb_celp.h .
Temporary allocation stack.
Definition at line 60 of file sb_celp.h .
Length of high-band sub-frames.
Definition at line 49 of file sb_celp.h .
1 for enabling VAD, 0 otherwise
Definition at line 85 of file sb_celp.h .
1 for enabling VBR, 0 otherwise
Definition at line 78 of file sb_celp.h .
Max bit-rate allowed in VBR mode (total)
Definition at line 79 of file sb_celp.h .
Max bit-rate allowed in VBR mode for the high-band.
Definition at line 80 of file sb_celp.h .
Quality setting for VBR encoding.
Definition at line 77 of file sb_celp.h .
LPC analysis window.
Definition at line 64 of file sb_celp.h .
Length of high-band LPC window.
Definition at line 51 of file sb_celp.h .