Jitsi: the OpenSource Java VoIP and Instant Messaging client.

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

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

public class Silk_decimate2_coarsest_FLP
extends Object

Author:
Jing Dai, Dingxin Xu

Field Summary
(package private) static float[] A20cst_FLP
           
(package private) static float[] A21cst_FLP
           
 
Constructor Summary
Silk_decimate2_coarsest_FLP()
           
 
Method Summary
(package private) static void SKP_Silk_decimate2_coarsest_FLP(float[] in, int in_offset, float[] S, int S_offset, float[] out, int out_offset, float[] scratch, int scratch_offset, int len)
          downsample by a factor 2, coarsest.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

A20cst_FLP

static float[] A20cst_FLP

A21cst_FLP

static float[] A21cst_FLP
Constructor Detail

Silk_decimate2_coarsest_FLP

public Silk_decimate2_coarsest_FLP()
Method Detail

SKP_Silk_decimate2_coarsest_FLP

static void SKP_Silk_decimate2_coarsest_FLP(float[] in,
                                            int in_offset,
                                            float[] S,
                                            int S_offset,
                                            float[] out,
                                            int out_offset,
                                            float[] scratch,
                                            int scratch_offset,
                                            int len)
downsample by a factor 2, coarsest.

Parameters:
in - 16 kHz signal [2*len].
in_offset - offset of the valid data.
S - state vector [2].
S_offset - offset of the valid data.
out - 8 kHz signal [len].
out_offset - offset of the valid data.
scratch - scratch memory [3*len].
scratch_offset - offset of the valid data.
len - number of OUTPUT samples.

Jitsi: the OpenSource Java VoIP and Instant Messaging client.

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