class Lspgetq
extends java.lang.Object
Constructor and Description |
---|
Lspgetq() |
Modifier and Type | Method and Description |
---|---|
(package private) static void |
lsp_expand_1_2(float[] buf,
float gap) |
(package private) static void |
lsp_expand_1(float[] buf,
float gap)
Check for lower (0-4)
|
(package private) static void |
lsp_expand_2(float[] buf,
float gap)
Check for higher (5-9)
|
(package private) static void |
lsp_get_quant(float[][] lspcb1,
float[][] lspcb2,
int code0,
int code1,
int code2,
float[][] fg,
float[][] freq_prev,
float[] lspq,
float[] fg_sum)
Reconstruct quantized LSP parameter and check the stabilty
|
(package private) static void |
lsp_prev_extract(float[] lsp,
float[] lsp_ele,
float[][] fg,
float[][] freq_prev,
float[] fg_sum_inv)
Extract elementary LSP from composed LSP with previous LSP
|
(package private) static void |
lsp_prev_update(float[] lsp_ele,
float[][] freq_prev)
Update previous LSP parameter
|
static void lsp_get_quant(float[][] lspcb1, float[][] lspcb2, int code0, int code1, int code2, float[][] fg, float[][] freq_prev, float[] lspq, float[] fg_sum)
lspcb1
- input : first stage LSP codebooklspcb2
- input : Second stage LSP codebookcode0
- input : selected code of first stagecode1
- input : selected code of second stagecode2
- input : selected code of second stagefg
- input : MA prediction coef.freq_prev
- input : previous LSP vectorlspq
- output: quantized LSP parametersfg_sum
- input : present MA prediction coef.static void lsp_expand_1(float[] buf, float gap)
buf
- in/out: lsp vectorsgap
- input : gapstatic void lsp_expand_2(float[] buf, float gap)
buf
- in/out: lsp vectorsgap
- input : gapstatic void lsp_expand_1_2(float[] buf, float gap)
buf
- in/out: LSP parametersgap
- input: gapstatic void lsp_prev_extract(float[] lsp, float[] lsp_ele, float[][] fg, float[][] freq_prev, float[] fg_sum_inv)
lsp
- (i) Q13 : unquantized LSP parameterslsp_ele
- (o) Q13 : target vectorfg
- (i) Q15 : MA prediction coef.freq_prev
- (i) Q13 : previous LSP vectorfg_sum_inv
- (i) Q12 : inverse previous LSP vectorstatic void lsp_prev_update(float[] lsp_ele, float[][] freq_prev)
lsp_ele
- input : LSP vectorsfreq_prev
- input/output: previous LSP vectors
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.