class QuaGain
extends java.lang.Object
Constructor and Description |
---|
QuaGain() |
Modifier and Type | Method and Description |
---|---|
(package private) int |
qua_gain(float[] code,
float[] g_coeff,
int l_subfr,
FloatReference gain_pit,
FloatReference gain_code,
int tameflag)
Quantization of pitch and codebook gains
|
int qua_gain(float[] code, float[] g_coeff, int l_subfr, FloatReference gain_pit, FloatReference gain_code, int tameflag)
code
- input : fixed codebook vectorg_coeff
- input : correlation factorsl_subfr
- input : fcb vector lengthgain_pit
- output: quantized acb gaingain_code
- output: quantized fcb gaintameflag
- input : flag set to 1 if taming is needed
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.