net.java.sip.communicator.impl.neomedia.codec.audio.silk
Class Silk_resampler_private_ARMA4
java.lang.Object
net.java.sip.communicator.impl.neomedia.codec.audio.silk.Silk_resampler_private_ARMA4
public class Silk_resampler_private_ARMA4
- extends Object
Fourth order ARMA filter.
Internally operates as two biquad filters in sequence.
Coeffients are stored in a packed format:
{ B1_Q14[1], B2_Q14[1], -A1_Q14[1], -A1_Q14[2], -A2_Q14[1], -A2_Q14[2], gain_Q16 }
where it is assumed that B*_Q14[0], B*_Q14[2], A*_Q14[0] are all 16384.
- Author:
- Jing Dai, Dingxin Xu
|
Method Summary |
(package private) static void |
SKP_Silk_resampler_private_ARMA4(int[] S,
int S_offset,
short[] out,
int out_offset,
short[] in,
int in_offset,
short[] Coef,
int Coef_offset,
int len)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Silk_resampler_private_ARMA4
public Silk_resampler_private_ARMA4()
SKP_Silk_resampler_private_ARMA4
static void SKP_Silk_resampler_private_ARMA4(int[] S,
int S_offset,
short[] out,
int out_offset,
short[] in,
int in_offset,
short[] Coef,
int Coef_offset,
int len)
- Parameters:
S - State vector [ 4 ].S_offset - offset of valid data.out - Output signal.out_offset - offset of valid data.in - Input signal.in_offset - offset of valid data.Coef - ARMA coefficients [ 7 ].Coef_offset - offset of valid data.len - Signal length.
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under LGPL license.