FFmpeg
All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
Data Fields
DecoderState Struct Reference

Data Fields

const SpeexModemode
 
int modeID
 ID of the decoder mode. More...
 
int first
 Is first frame
More...
 
int full_frame_size
 Length of full-band frames. More...
 
int is_wideband
 If wideband is present. More...
 
int count_lost
 Was the last frame lost? More...
 
int frame_size
 Length of high-band frames. More...
 
int subframe_size
 Length of high-band sub-frames. More...
 
int nb_subframes
 Number of high-band sub-frames. More...
 
int lpc_size
 Order of high-band LPC analysis. More...
 
float last_ol_gain
 Open-loop gain for previous frame. More...
 
floatinnov_save
 If non-NULL, innovation is copied here. More...
 
int last_pitch
 Pitch of last correctly decoded frame. More...
 
float last_pitch_gain
 Pitch gain of last correctly decoded frame. More...
 
uint32_t seed
 Seed used for random number generation. More...
 
int encode_submode
 
const SpeexSubmode *const * submodes
 Sub-mode data. More...
 
int submodeID
 Activated sub-mode. More...
 
int lpc_enh_enabled
 1 when LPC enhancer is on, 0 otherwise More...
 
float voc_m1
 
float voc_m2
 
float voc_mean
 
int voc_offset
 
int dtx_enabled
 
int highpass_enabled
 Is the input filter enabled. More...
 
floatexc
 Start of excitation frame. More...
 
float mem_hp [2]
 High-pass filter memory. More...
 
float exc_buf [NB_DEC_BUFFER]
 Excitation buffer. More...
 
float old_qlsp [NB_ORDER]
 Quantized LSPs for previous frame. More...
 
float interp_qlpc [NB_ORDER]
 Interpolated quantized LPCs. More...
 
float mem_sp [NB_ORDER]
 Filter memory for synthesis signal. More...
 
float g0_mem [QMF_ORDER]
 
float g1_mem [QMF_ORDER]
 
float pi_gain [NB_NB_SUBFRAMES]
 Gain of LPC filter at theta=pi (fe/2) More...
 
float exc_rms [NB_NB_SUBFRAMES]
 RMS of excitation per subframe. More...
 

Detailed Description

Definition at line 180 of file speexdec.c.

Field Documentation

◆ mode

const SpeexMode* DecoderState::mode

Definition at line 181 of file speexdec.c.

Referenced by decoder_init(), and sb_decode().

◆ modeID

int DecoderState::modeID

ID of the decoder mode.

Definition at line 182 of file speexdec.c.

Referenced by decoder_init(), and sb_decode().

◆ first

int DecoderState::first

Is first frame

Definition at line 183 of file speexdec.c.

Referenced by decoder_init(), nb_decode(), and sb_decode().

◆ full_frame_size

int DecoderState::full_frame_size

Length of full-band frames.

Definition at line 184 of file speexdec.c.

Referenced by decoder_init(), and sb_decode().

◆ is_wideband

int DecoderState::is_wideband

If wideband is present.

Definition at line 185 of file speexdec.c.

Referenced by decoder_init(), and nb_decode().

◆ count_lost

int DecoderState::count_lost

Was the last frame lost?

Definition at line 186 of file speexdec.c.

Referenced by decoder_init(), and nb_decode().

◆ frame_size

int DecoderState::frame_size

Length of high-band frames.

Definition at line 187 of file speexdec.c.

Referenced by decoder_init(), and sb_decode().

◆ subframe_size

int DecoderState::subframe_size

Length of high-band sub-frames.

Definition at line 188 of file speexdec.c.

Referenced by decoder_init(), and sb_decode().

◆ nb_subframes

int DecoderState::nb_subframes

Number of high-band sub-frames.

Definition at line 189 of file speexdec.c.

Referenced by decoder_init(), and sb_decode().

◆ lpc_size

int DecoderState::lpc_size

Order of high-band LPC analysis.

Definition at line 190 of file speexdec.c.

Referenced by decoder_init(), and sb_decode().

◆ last_ol_gain

float DecoderState::last_ol_gain

Open-loop gain for previous frame.

Definition at line 191 of file speexdec.c.

Referenced by decoder_init(), and nb_decode().

◆ innov_save

float* DecoderState::innov_save

If non-NULL, innovation is copied here.

Definition at line 192 of file speexdec.c.

Referenced by decoder_init(), nb_decode(), and sb_decode().

◆ last_pitch

int DecoderState::last_pitch

Pitch of last correctly decoded frame.

Definition at line 195 of file speexdec.c.

Referenced by decoder_init(), and nb_decode().

◆ last_pitch_gain

float DecoderState::last_pitch_gain

Pitch gain of last correctly decoded frame.

Definition at line 196 of file speexdec.c.

Referenced by nb_decode().

◆ seed

uint32_t DecoderState::seed

Seed used for random number generation.

Definition at line 197 of file speexdec.c.

Referenced by decoder_init(), nb_decode(), and sb_decode().

◆ encode_submode

int DecoderState::encode_submode

Definition at line 199 of file speexdec.c.

Referenced by decoder_init(), nb_decode(), and sb_decode().

◆ submodes

const SpeexSubmode* const * DecoderState::submodes

Sub-mode data.

Definition at line 200 of file speexdec.c.

Referenced by decoder_init(), nb_decode(), and sb_decode().

◆ submodeID

int DecoderState::submodeID

Activated sub-mode.

Definition at line 201 of file speexdec.c.

Referenced by decoder_init(), nb_decode(), and sb_decode().

◆ lpc_enh_enabled

int DecoderState::lpc_enh_enabled

1 when LPC enhancer is on, 0 otherwise

Definition at line 202 of file speexdec.c.

Referenced by decoder_init(), and nb_decode().

◆ voc_m1

float DecoderState::voc_m1

Definition at line 205 of file speexdec.c.

Referenced by decoder_init(), and nb_decode().

◆ voc_m2

float DecoderState::voc_m2

Definition at line 206 of file speexdec.c.

Referenced by decoder_init(), and nb_decode().

◆ voc_mean

float DecoderState::voc_mean

Definition at line 207 of file speexdec.c.

Referenced by decoder_init(), and nb_decode().

◆ voc_offset

int DecoderState::voc_offset

Definition at line 208 of file speexdec.c.

Referenced by decoder_init(), and nb_decode().

◆ dtx_enabled

int DecoderState::dtx_enabled

Definition at line 210 of file speexdec.c.

Referenced by decoder_init(), and nb_decode().

◆ highpass_enabled

int DecoderState::highpass_enabled

Is the input filter enabled.

Definition at line 211 of file speexdec.c.

Referenced by decoder_init(), and nb_decode().

◆ exc

float* DecoderState::exc

Start of excitation frame.

Definition at line 213 of file speexdec.c.

Referenced by nb_decode().

◆ mem_hp

float DecoderState::mem_hp[2]

High-pass filter memory.

Definition at line 214 of file speexdec.c.

Referenced by nb_decode().

◆ exc_buf

float DecoderState::exc_buf[NB_DEC_BUFFER]

Excitation buffer.

Definition at line 215 of file speexdec.c.

Referenced by nb_decode(), and sb_decode().

◆ old_qlsp

float DecoderState::old_qlsp[NB_ORDER]

Quantized LSPs for previous frame.

Definition at line 216 of file speexdec.c.

Referenced by nb_decode(), and sb_decode().

◆ interp_qlpc

float DecoderState::interp_qlpc[NB_ORDER]

Interpolated quantized LPCs.

Definition at line 217 of file speexdec.c.

Referenced by nb_decode(), and sb_decode().

◆ mem_sp

float DecoderState::mem_sp[NB_ORDER]

Filter memory for synthesis signal.

Definition at line 218 of file speexdec.c.

Referenced by nb_decode(), and sb_decode().

◆ g0_mem

float DecoderState::g0_mem[QMF_ORDER]

Definition at line 219 of file speexdec.c.

Referenced by sb_decode().

◆ g1_mem

float DecoderState::g1_mem[QMF_ORDER]

Definition at line 220 of file speexdec.c.

Referenced by sb_decode().

◆ pi_gain

float DecoderState::pi_gain[NB_NB_SUBFRAMES]

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

Definition at line 221 of file speexdec.c.

Referenced by nb_decode(), and sb_decode().

◆ exc_rms

float DecoderState::exc_rms[NB_NB_SUBFRAMES]

RMS of excitation per subframe.

Definition at line 222 of file speexdec.c.

Referenced by nb_decode(), and sb_decode().


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