|
SIP Communicator: 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.Filter
class Filter
General filter routines.
| Constructor Summary | |
|---|---|
Filter()
|
|
| Method Summary | |
|---|---|
(package private) static void |
convolve(float[] x,
int x_offset,
float[] h,
float[] y,
int l)
Convolve vectors x and h and put result in y. |
(package private) static void |
residu(float[] a,
int a_offset,
float[] x,
int x_offset,
float[] y,
int y_offset,
int l)
Filter input vector with all-zero filter A(Z). |
(package private) static void |
syn_filt(float[] a,
int a_offset,
float[] x,
int x_offset,
float[] y,
int y_offset,
int l,
float[] mem,
int mem_offset,
int update)
Filter with synthesis filter 1/A(z). |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
Filter()
| Method Detail |
|---|
static void convolve(float[] x,
int x_offset,
float[] h,
float[] y,
int l)
x - input : input vector x[0:l]x_offset - input : input vector offseth - input : impulse response or second input h[0:l]y - output: x convolved with h , y[0:l]l - input : dimension of all vectors
static void syn_filt(float[] a,
int a_offset,
float[] x,
int x_offset,
float[] y,
int y_offset,
int l,
float[] mem,
int mem_offset,
int update)
a - input : predictor coefficients a[0:m]a_offset - input : predictor coefficients a offsetx - input : excitation signalx_offset - input : excitation signal offsety - output: filtered output signaly_offset - output: filtered output signal offsetl - input : vector dimensionmem - in/out: filter memorymem_offset - input : filter memory ofsetupdate - input : 0 = no memory update, 1 = update
static void residu(float[] a,
int a_offset,
float[] x,
int x_offset,
float[] y,
int y_offset,
int l)
a - input : prediction coefficients a[0:m+1], a[0]=1.a_offset - input : prediction coefficients a offsetx - input : input signal x[0:l-1], x[-1:m] are neededx_offset - input : input signal x offsety - output: output signal y[0:l-1].
NOTE: x[] and y[] cannot point to same arrayy_offset - input : output signal y offsetl - input : dimension of x and y
|
SIP Communicator: the OpenSource Java VoIP and Instant Messaging client. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||