net.java.sip.communicator.impl.neomedia.codec.audio.silk
Class Silk_residual_energy_FLP
java.lang.Object
net.java.sip.communicator.impl.neomedia.codec.audio.silk.Silk_residual_energy_FLP
public class Silk_residual_energy_FLP
- extends Object
Residual energy.
- Author:
- Dingxin Xu
|
Method Summary |
(package private) static float |
SKP_Silk_residual_energy_covar_FLP(float[] c,
int c_offset,
float[] wXX,
int wXX_offset,
float[] wXx,
float wxx,
int D)
Residual energy: nrg = wxx - 2 * wXx * c + c' * wXX * c. |
(package private) static void |
SKP_Silk_residual_energy_FLP(float[] nrgs,
float[] x,
float[][] a,
float[] gains,
int subfr_length,
int LPC_order)
Calculates residual energies of input subframes where all subframes have LPC_order
of preceeding samples |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MAX_ITERATIONS_RESIDUAL_NRG
static final int MAX_ITERATIONS_RESIDUAL_NRG
- See Also:
- Constant Field Values
REGULARIZATION_FACTOR
static final float REGULARIZATION_FACTOR
- See Also:
- Constant Field Values
Silk_residual_energy_FLP
public Silk_residual_energy_FLP()
SKP_Silk_residual_energy_covar_FLP
static float SKP_Silk_residual_energy_covar_FLP(float[] c,
int c_offset,
float[] wXX,
int wXX_offset,
float[] wXx,
float wxx,
int D)
- Residual energy: nrg = wxx - 2 * wXx * c + c' * wXX * c.
- Parameters:
c - Filter coefficientsc_offset - offset of valid data.wXX - Weighted correlation matrix, reg. outwXX_offset - offset of valid data.wXx - Weighted correlation vectorwxx - Weighted correlation valueD - Dimension
- Returns:
- Weighted residual energy
SKP_Silk_residual_energy_FLP
static void SKP_Silk_residual_energy_FLP(float[] nrgs,
float[] x,
float[][] a,
float[] gains,
int subfr_length,
int LPC_order)
- Calculates residual energies of input subframes where all subframes have LPC_order
of preceeding samples
- Parameters:
nrgs - Residual energy per subframex - Input signala - AR coefs for each frame halfgains - Quantization gainssubfr_length - Subframe lengthLPC_order - LPC order
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under LGPL license.