net.java.sip.communicator.impl.media.codec.audio.g729
Class AcelpCo
java.lang.Object
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)
|
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 |
AcelpCo
AcelpCo()
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 vectorh - (i) :Impulse response of filterst0 - (i) :Pitch lagpitch_sharp - (i) :Last quantized pitch gaini_subfr - (i) :Indicator of 1st subframe,code - (o) :Innovative codebooky - (o) :Filtered innovative codebooksign - (o) :Signs of 4 pulses
- Returns:
- index of pulses positions
SIP Communicator, the OpenSource Java VoIP and Instant Messaging client.
Distributable under LGPL license.