Jitsi: the OpenSource Java VoIP and Instant Messaging client.

net.java.sip.communicator.impl.neomedia.codec.audio.g729
Class DecGain

java.lang.Object
  extended by net.java.sip.communicator.impl.neomedia.codec.audio.g729.DecGain

 class DecGain
extends Object

Author:
Lubomir Marinov (translation of ITU-T C source code to Java)

Constructor Summary
DecGain()
           
 
Method Summary
(package private)  void dec_gain(int index, float[] code, int l_subfr, int bfi, FloatReference gain_pit, FloatReference gain_code)
          Decode the adaptive and fixed codebook gains.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DecGain

DecGain()
Method Detail

dec_gain

void dec_gain(int index,
              float[] code,
              int l_subfr,
              int bfi,
              FloatReference gain_pit,
              FloatReference gain_code)
Decode the adaptive and fixed codebook gains.

Parameters:
index - input : quantizer index
code - input : fixed code book vector
l_subfr - input : subframe size
bfi - input : bad frame indicator good = 0
gain_pit - output: quantized acb gain
gain_code - output: quantized fcb gain

Jitsi: the OpenSource Java VoIP and Instant Messaging client.

Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under LGPL license.