# SBEncState Struct Reference

`#include <sb_celp.h>`

List of all members.

## Public Attributes

const SpeexMode * | mode
void * | st_low
int | full_frame_size
int | frame_size
int | subframeSize
int | nbSubframes
int | windowSize
int | lpcSize
int | first
spx_word16_t | lpc_floor
spx_word16_t | gamma1
spx_word16_t | gamma2
char * | stack
spx_word16_t * | high
const spx_word16_t * | window
const spx_word16_t * | lagWindow
spx_lsp_t * | old_lsp
spx_lsp_t * | old_qlsp
spx_coef_t * | interp_qlpc
spx_mem_t * | mem_sp
spx_mem_t * | mem_sw
spx_word16_t * | innov_rms_save
float | vbr_quality
int | vbr_enabled
spx_int32_t | vbr_max
spx_int32_t | vbr_max_high
spx_int32_t | abr_enabled
int | vad_enabled

## Detailed Description

Structure representing the full state of the sub-band encoder

## Member Data Documentation

const SpeexMode* SBEncState::mode

Pointer to the mode (containing for vtable info)

void* SBEncState::st_low

State of the low-band (narrowband) encoder

int SBEncState::full_frame_size

Length of full-band frames

int SBEncState::frame_size

Length of high-band frames

int SBEncState::subframeSize

Length of high-band sub-frames

int SBEncState::nbSubframes

Number of high-band sub-frames

int SBEncState::windowSize

Length of high-band LPC window

int SBEncState::lpcSize

Order of high-band LPC analysis

int SBEncState::first

First frame?

spx_word16_t SBEncState::lpc_floor

Controls LPC analysis noise floor

spx_word16_t SBEncState::gamma1

Perceptual weighting coef 1

spx_word16_t SBEncState::gamma2

Perceptual weighting coef 2

char* SBEncState::stack

Temporary allocation stack

spx_word16_t* SBEncState::high

High-band signal (buffer)

const spx_word16_t* SBEncState::window

LPC analysis window

const spx_word16_t* SBEncState::lagWindow

Auto-correlation window

spx_lsp_t* SBEncState::old_lsp

LSPs of previous frame

spx_lsp_t* SBEncState::old_qlsp

Quantized LSPs of previous frame

spx_coef_t* SBEncState::interp_qlpc

Interpolated quantized LPCs for current sub-frame

spx_mem_t* SBEncState::mem_sp

Synthesis signal memory

spx_mem_t* SBEncState::mem_sw

Perceptual signal memory

spx_word16_t* SBEncState::innov_rms_save

If non-NULL, innovation is copied here

float SBEncState::vbr_quality

Quality setting for VBR encoding

int SBEncState::vbr_enabled

1 for enabling VBR, 0 otherwise

spx_int32_t SBEncState::vbr_max

Max bit-rate allowed in VBR mode (total)

spx_int32_t SBEncState::vbr_max_high

Max bit-rate allowed in VBR mode for the high-band

spx_int32_t SBEncState::abr_enabled

ABR setting (in bps), 0 if off

int SBEncState::vad_enabled

1 for enabling VAD, 0 otherwise

The documentation for this struct was generated from the following file:

- /home/rakkar/raknet-trunk/export/DependentExtensions/speex-1.2beta3/libspeex/sb_celp.h