Jitsi: the OpenSource Java VoIP and Instant Messaging client.

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

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

public class Silk_resampler_private_down4
extends Object

Downsample by a factor 4. Note: very low quality, only use with input sampling rates above 96 kHz.

Author:
Jing Dai, Dingxin Xu

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

Constructor Detail

Silk_resampler_private_down4

public Silk_resampler_private_down4()
Method Detail

SKP_Silk_resampler_private_down4

static void SKP_Silk_resampler_private_down4(int[] S,
                                             int S_offset,
                                             short[] out,
                                             int out_offset,
                                             short[] in,
                                             int in_offset,
                                             int inLen)
Downsample by a factor 4. Note: very low quality, only use with input sampling rates above 96 kHz.

Parameters:
S - State vector [ 2 ].
S_offset - offset of valid data.
out - Output signal [ floor(len/2) ].
out_offset - offset of valid data.
in - Input signal [ len ].
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.