net.java.sip.communicator.impl.neomedia.codec.audio.g729
Class CorFunc
java.lang.Object
net.java.sip.communicator.impl.neomedia.codec.audio.g729.CorFunc
class CorFunc
- extends Object
Functions corr_xy2() and cor_h_x().
- Author:
- Lubomir Marinov (translation of ITU-T C source code to Java)
|
Method Summary |
(package private) static void |
cor_h_x(float[] h,
float[] x,
float[] d)
Compute correlations of input response h[] with the target vector X[]. |
(package private) static void |
corr_xy2(float[] xn,
float[] y1,
float[] y2,
float[] g_coeff)
Compute the correlation products needed for gain computation. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CorFunc
CorFunc()
corr_xy2
static void corr_xy2(float[] xn,
float[] y1,
float[] y2,
float[] g_coeff)
- Compute the correlation products needed for gain computation.
- Parameters:
xn - input : target vector x[0:l_subfr]y1 - input : filtered adaptive codebook vectory2 - input : filtered 1st codebook innovationg_coeff - output: , -2 , and 2
cor_h_x
static void cor_h_x(float[] h,
float[] x,
float[] d)
- Compute correlations of input response h[] with the target vector X[].
- Parameters:
h - (i) :Impulse response of filtersx - (i) :Target vectord - (o) :Correlations between h[] and x[]
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under LGPL license.