public class ResidualEnergyFLP
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
(package private) static int |
MAX_ITERATIONS_RESIDUAL_NRG |
(package private) static float |
REGULARIZATION_FACTOR |
Constructor and Description |
---|
ResidualEnergyFLP() |
Modifier and Type | Method and Description |
---|---|
(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
|
static final int MAX_ITERATIONS_RESIDUAL_NRG
static final float REGULARIZATION_FACTOR
static float SKP_Silk_residual_energy_covar_FLP(float[] c, int c_offset, float[] wXX, int wXX_offset, float[] wXx, float wxx, int D)
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
- Dimensionstatic void SKP_Silk_residual_energy_FLP(float[] nrgs, float[] x, float[][] a, float[] gains, int subfr_length, int LPC_order)
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 Apache license.