org.mobicents.media.server.impl.codec.g729
Class Util
java.lang.Object
org.mobicents.media.server.impl.codec.g729.Util
public class Util
- extends java.lang.Object
|
Constructor Summary |
Util()
|
|
Method Summary |
static short[] |
byteArrayToShortArray(byte[] bytes)
|
static short |
bytesToShort(byte[] bytes)
|
static short |
bytesToShort(byte byte1,
byte byte2)
|
static void |
copy(float[] x,
float[] y,
int L)
|
static void |
copy(float[] x,
int xs,
float[] y,
int ys,
int L)
|
static byte[] |
floatArrayToByteArray(float[] data,
int length)
|
static void |
fwrite16(float[] data,
int length,
java.io.OutputStream fp)
|
static short |
random_g729()
|
static void |
set_zero(float[] x,
int L)
|
static byte[] |
shortArrayToByteArray(short[] values)
|
static byte[] |
shortToBytes(int myInt)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Util
public Util()
set_zero
public static void set_zero(float[] x,
int L)
copy
public static void copy(float[] x,
float[] y,
int L)
copy
public static void copy(float[] x,
int xs,
float[] y,
int ys,
int L)
random_g729
public static short random_g729()
floatArrayToByteArray
public static byte[] floatArrayToByteArray(float[] data,
int length)
fwrite16
public static void fwrite16(float[] data,
int length,
java.io.OutputStream fp)
shortToBytes
public static byte[] shortToBytes(int myInt)
bytesToShort
public static short bytesToShort(byte[] bytes)
bytesToShort
public static short bytesToShort(byte byte1,
byte byte2)
byteArrayToShortArray
public static short[] byteArrayToShortArray(byte[] bytes)
shortArrayToByteArray
public static byte[] shortArrayToByteArray(short[] values)
Copyright © 2009. All Rights Reserved.