net.java.sip.communicator.impl.neomedia.codec.audio.g729
Class QuaGain
java.lang.Object
net.java.sip.communicator.impl.neomedia.codec.audio.g729.QuaGain
class QuaGain
- extends Object
- Author:
- Lubomir Marinov (translation of ITU-T C source code to Java)
|
Method Summary |
(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 |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
QuaGain
QuaGain()
qua_gain
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
- Parameters:
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
- Returns:
- quantizer index
SIP Communicator, the OpenSource Java VoIP and Instant Messaging client.
Distributable under LGPL license.