ex

Fork of mbed-os-example-mbed5-blinky by mbed-os-examples

Embed: (wiki syntax)

« Back to documentation index

DecState Struct Reference

DecState Struct Reference

Structure representing the full state of the narrowband decoder. More...

#include <nb_celp.h>

Data Fields

const SpeexModemode
 Mode corresponding to the state.
int first
 Is this the first frame?
int count_lost
 Was the last frame lost?
int frameSize
 Size of frames.
int subframeSize
 Size of sub-frames.
int nbSubframes
 Number of sub-frames.
int lpcSize
 LPC order.
int min_pitch
 Minimum pitch value allowed.
int max_pitch
 Maximum pitch value allowed.
spx_word16_t last_ol_gain
 Open-loop gain for previous frame.
char * stack
 Pseudo-stack allocation for temporary memory.
spx_word16_t * excBuf
 Excitation buffer.
spx_word16_t * exc
 Start of excitation frame.
spx_lsp_t * old_qlsp
 Quantized LSPs for previous frame.
spx_coef_t * interp_qlpc
 Interpolated quantized LPCs.
spx_mem_t * mem_sp
 Filter memory for synthesis signal.
spx_mem_t mem_hp [2]
 High-pass filter memory.
spx_word32_t * pi_gain
 Gain of LPC filter at theta=pi (fe/2)
spx_word16_t level
 If non-NULL, innovation is copied here.
int last_pitch
 Pitch of last correctly decoded frame.
spx_word16_t last_pitch_gain
 Pitch gain of last correctly decoded frame.
spx_word16_t pitch_gain_buf [3]
 Pitch gain of last decoded frames.
int pitch_gain_buf_idx
 Tail of the buffer.
int encode_submode
 Seed used for random number generation.
const SpeexSubmode *const submodes
 Sub-mode data.
int submodeID
 Activated sub-mode.
int lpc_enh_enabled
 1 when LPC enhancer is on, 0 otherwise
int isWideband
 Is this used as part of the embedded wideband codec.
int highpass_enabled
 Is the input filter enabled.

Detailed Description

Structure representing the full state of the narrowband decoder.

Definition at line 125 of file nb_celp.h.


Field Documentation

Was the last frame lost?

Definition at line 128 of file nb_celp.h.

Seed used for random number generation.

Definition at line 164 of file nb_celp.h.

spx_word16_t* exc

Start of excitation frame.

Definition at line 145 of file nb_celp.h.

spx_word16_t* excBuf

Excitation buffer.

Definition at line 144 of file nb_celp.h.

int first

Is this the first frame?

Definition at line 127 of file nb_celp.h.

int frameSize

Size of frames.

Definition at line 129 of file nb_celp.h.

Is the input filter enabled.

Definition at line 180 of file nb_celp.h.

spx_coef_t* interp_qlpc

Interpolated quantized LPCs.

Definition at line 147 of file nb_celp.h.

Is this used as part of the embedded wideband codec.

Definition at line 179 of file nb_celp.h.

spx_word16_t last_ol_gain

Open-loop gain for previous frame.

Definition at line 141 of file nb_celp.h.

Pitch of last correctly decoded frame.

Definition at line 158 of file nb_celp.h.

spx_word16_t last_pitch_gain

Pitch gain of last correctly decoded frame.

Definition at line 159 of file nb_celp.h.

spx_word16_t level

If non-NULL, innovation is copied here.

Definition at line 153 of file nb_celp.h.

1 when LPC enhancer is on, 0 otherwise

Definition at line 167 of file nb_celp.h.

int lpcSize

LPC order.

Definition at line 132 of file nb_celp.h.

int max_pitch

Maximum pitch value allowed.

Definition at line 134 of file nb_celp.h.

spx_mem_t mem_hp[2]

High-pass filter memory.

Definition at line 149 of file nb_celp.h.

spx_mem_t* mem_sp

Filter memory for synthesis signal.

Definition at line 148 of file nb_celp.h.

int min_pitch

Minimum pitch value allowed.

Definition at line 133 of file nb_celp.h.

const SpeexMode* mode

Mode corresponding to the state.

Definition at line 126 of file nb_celp.h.

Number of sub-frames.

Definition at line 131 of file nb_celp.h.

spx_lsp_t* old_qlsp

Quantized LSPs for previous frame.

Definition at line 146 of file nb_celp.h.

spx_word32_t* pi_gain

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

Definition at line 150 of file nb_celp.h.

spx_word16_t pitch_gain_buf[3]

Pitch gain of last decoded frames.

Definition at line 160 of file nb_celp.h.

Tail of the buffer.

Definition at line 161 of file nb_celp.h.

char* stack

Pseudo-stack allocation for temporary memory.

Definition at line 143 of file nb_celp.h.

Size of sub-frames.

Definition at line 130 of file nb_celp.h.

int submodeID

Activated sub-mode.

Definition at line 166 of file nb_celp.h.

const SpeexSubmode* const submodes

Sub-mode data.

Definition at line 165 of file nb_celp.h.