public class CNG
extends java.lang.Object
Constructor and Description |
---|
CNG() |
Modifier and Type | Method and Description |
---|---|
(package private) static void |
SKP_Silk_CNG_exc(short[] residual,
int residual_offset,
int[] exc_buf_Q10,
int exc_buf_Q10_offset,
int Gain_Q16,
int length,
int[] rand_seed)
Generates excitation for CNG LPC synthesis.
|
(package private) static void |
SKP_Silk_CNG_Reset(SKP_Silk_decoder_state psDec)
Reset CNG.
|
(package private) static void |
SKP_Silk_CNG(SKP_Silk_decoder_state psDec,
SKP_Silk_decoder_control psDecCtrl,
short[] signal,
int signal_offset,
int length)
Updates CNG estimate, and applies the CNG when packet was lost.
|
static void SKP_Silk_CNG_exc(short[] residual, int residual_offset, int[] exc_buf_Q10, int exc_buf_Q10_offset, int Gain_Q16, int length, int[] rand_seed)
residual
- CNG residual signal Q0.residual_offset
- offset of the valid data.exc_buf_Q10
- Random samples buffer Q10.exc_buf_Q10_offset
- offset of the valid data.Gain_Q16
- Gain to applylength
- Lengthrand_seed
- Seed to random index generatorstatic void SKP_Silk_CNG_Reset(SKP_Silk_decoder_state psDec)
psDec
- Decoder state.static void SKP_Silk_CNG(SKP_Silk_decoder_state psDec, SKP_Silk_decoder_control psDecCtrl, short[] signal, int signal_offset, int length)
psDec
- Decoder state.psDecCtrl
- Decoder control.signal
- Signal.signal_offset
- offset of the valid data.length
- Length of residual.
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.