SIP Communicator: the OpenSource Java VoIP and Instant Messaging client.

net.java.sip.communicator.impl.media.codec.audio.g729
Class AcelpCo

java.lang.Object
  extended by net.java.sip.communicator.impl.media.codec.audio.g729.AcelpCo

 class AcelpCo
extends Object

Fixed codebook encoding routines.

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

Constructor Summary
AcelpCo()
           
 
Method Summary
(package private)  int ACELP_codebook(float[] x, float[] h, int t0, float pitch_sharp, int i_subfr, float[] code, float[] y, IntReference sign)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AcelpCo

AcelpCo()
Method Detail

ACELP_codebook

int ACELP_codebook(float[] x,
                   float[] h,
                   int t0,
                   float pitch_sharp,
                   int i_subfr,
                   float[] code,
                   float[] y,
                   IntReference sign)
Parameters:
x - (i) :Target vector
h - (i) :Impulse response of filters
t0 - (i) :Pitch lag
pitch_sharp - (i) :Last quantized pitch gain
i_subfr - (i) :Indicator of 1st subframe,
code - (o) :Innovative codebook
y - (o) :Filtered innovative codebook
sign - (o) :Signs of 4 pulses
Returns:
index of pulses positions

SIP Communicator: the OpenSource Java VoIP and Instant Messaging client.

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