Jitsi: the OpenSource Java VoIP and Instant Messaging client.

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

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

public class Silk_resampler_private_up4
extends Object

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

Author:
Jing Dai, Dingxin Xu

Constructor Summary
Silk_resampler_private_up4()
           
 
Method Summary
(package private) static void SKP_Silk_resampler_private_up4(int[] S, int S_offset, short[] out, int out_offset, short[] in, int in_offset, int len)
          Upsample 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_up4

public Silk_resampler_private_up4()
Method Detail

SKP_Silk_resampler_private_up4

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

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