|
Jitsi: the OpenSource Java VoIP and Instant Messaging client. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.java.sip.communicator.impl.neomedia.codec.audio.g729.Util
class Util
Auxiliary functions.
| Constructor Summary | |
|---|---|
Util()
|
|
| Method Summary | |
|---|---|
(package private) static void |
copy(float[] x,
float[] y,
int L)
Copies an array from the specified x array, to the specified y array. |
(package private) static void |
copy(float[] x,
int x_offset,
float[] y,
int L)
Copies an array from the specified source array, beginning at the specified destination array. |
(package private) static void |
copy(float[] x,
int x_offset,
float[] y,
int y_offset,
int L)
Copies an array from the specified source array, beginning at the specified position, to the specified position of the destination array. |
(package private) static int |
fread(short[] data,
int length,
InputStream fp)
Read data from fp. |
(package private) static void |
fwrite(short[] data,
int length,
OutputStream fp)
Write data in fp |
(package private) static short |
random_g729()
Return random short. |
(package private) static void |
set_zero(float[] x,
int L)
Assigns the value zero to element of the specified array of floats. |
(package private) static void |
set_zero(float[] x,
int offset,
int length)
Assigns the value zero to element of the specified array of floats. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
Util()
| Method Detail |
|---|
static void set_zero(float[] x,
int L)
x - (o) : vector to clearL - (i) : length of vector
static void set_zero(float[] x,
int offset,
int length)
x - (o) : vector to clearoffset - (i) : offset of vectorlength - (i) : length of vector
static void copy(float[] x,
float[] y,
int L)
x - (i) : input vectory - (o) : output vectorL - (i) : vector length
static void copy(float[] x,
int x_offset,
float[] y,
int L)
x - (i) : input vectorx_offset - (i) : input vector offsety - (o) : output vectorL - (i) : vector length
static void copy(float[] x,
int x_offset,
float[] y,
int y_offset,
int L)
x - (i) : input vectorx_offset - (i) : input vector offsety - (o) : output vectory_offset - (i) : output vector offsetL - (i) : vector lengthstatic short random_g729()
static void fwrite(short[] data,
int length,
OutputStream fp)
throws IOException
data in fp
data - length - fp -
IOException
static int fread(short[] data,
int length,
InputStream fp)
throws IOException
data from fp.
data - length - fp -
IOException
|
Jitsi: the OpenSource Java VoIP and Instant Messaging client. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||