|
SIP Communicator: the OpenSource Java VoIP and Instant Messaging client. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.java.sip.communicator.impl.media.codec.audio.g729.Lpcfunc
class Lpcfunc
| Constructor Summary | |
|---|---|
Lpcfunc()
|
|
| Method Summary | |
|---|---|
(package private) static void |
int_lpc(float[] lsp_old,
float[] lsp_new,
float[] lsf_int,
float[] lsf_new,
float[] az)
Interpolated M LSP parameters and convert to M+1 LPC coeffs |
(package private) static void |
int_qlpc(float[] lsp_old,
float[] lsp_new,
float[] az)
Interpolated M LSP parameters and convert to M+1 LPC coeffs |
(package private) static void |
lsf_lsp(float[] lsf,
float[] lsp,
int m)
Convert from lsf[0..M-1 to lsp[0..M-1] |
(package private) static void |
lsp_lsf(float[] lsp,
float[] lsf,
int m)
Convert from lsp[0..M-1 to lsf[0..M-1] |
(package private) static void |
weight_az(float[] a,
int a_offset,
float gamma,
int m,
float[] ap)
Weighting of LPC coefficients ap[i] = a[i] * (gamma ** i) |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
Lpcfunc()
| Method Detail |
|---|
static void lsf_lsp(float[] lsf,
float[] lsp,
int m)
lsf - input : lsflsp - output: lspm - input : length
static void lsp_lsf(float[] lsp,
float[] lsf,
int m)
lsp - input : lsp coefficientslsf - output: lsf (normalized frequenciesm - input: length
static void weight_az(float[] a,
int a_offset,
float gamma,
int m,
float[] ap)
a - input : lpc coefficients a[0:m]a_offset - input : lpc coefficients offsetgamma - input : weighting factorm - input : filter orderap - output: weighted coefficients ap[0:m]
static void int_qlpc(float[] lsp_old,
float[] lsp_new,
float[] az)
lsp_old - input : LSPs for past frame (0:M-1)lsp_new - input : LSPs for present frame (0:M-1)az - output: filter parameters in 2 subfr (dim 2(m+1))
static void int_lpc(float[] lsp_old,
float[] lsp_new,
float[] lsf_int,
float[] lsf_new,
float[] az)
lsp_old - input : LSPs for past frame (0:M-1)lsp_new - input : LSPs for present frame (0:M-1)lsf_int - output: interpolated lsf coefficientslsf_new - input : LSFs for present frame (0:M-1)az - output: filter parameters in 2 subfr (dim 2(m+1))
|
SIP Communicator: the OpenSource Java VoIP and Instant Messaging client. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||