Jitsi: the OpenSource Java VoIP and Instant Messaging client.

net.java.sip.communicator.impl.neomedia.codec.audio.silk
Class Silk_resampler_down3

java.lang.Object
  extended by net.java.sip.communicator.impl.neomedia.codec.audio.silk.Silk_resampler_down3

public class Silk_resampler_down3
extends Object

Downsample by a factor 3, low quality.

Author:
Jing Dai, Dingxin Xu

Field Summary
(package private) static int ORDER_FIR
           
 
Constructor Summary
Silk_resampler_down3()
           
 
Method Summary
(package private) static void SKP_Silk_resampler_down3(int[] S, int S_offset, short[] out, int out_offset, short[] in, int in_offset, int inLen)
          Downsample by a factor 3, low quality.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ORDER_FIR

static final int ORDER_FIR
See Also:
Constant Field Values
Constructor Detail

Silk_resampler_down3

public Silk_resampler_down3()
Method Detail

SKP_Silk_resampler_down3

static void SKP_Silk_resampler_down3(int[] S,
                                     int S_offset,
                                     short[] out,
                                     int out_offset,
                                     short[] in,
                                     int in_offset,
                                     int inLen)
Downsample by a factor 3, low quality.

Parameters:
S - State vector [ 8 ]
S_offset - offset of valid data.
out - Output signal [ floor(inLen/3) ]
out_offset - offset of valid data.
in - Input signal [ inLen ]
in_offset - offset of valid data.
inLen - Number of input samples

Jitsi: the OpenSource Java VoIP and Instant Messaging client.

Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under LGPL license.