Jitsi: the OpenSource Java VoIP and Instant Messaging client.

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

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

public class Silk_encode_pulses
extends Object

Encode quantization indices of excitation.

Author:
Dingxin Xu

Constructor Summary
Silk_encode_pulses()
           
 
Method Summary
(package private) static int combine_and_check(int[] pulses_comb, int[] pulses_in, int pulses_in_offset, int max_pulses, int len)
           
(package private) static void SKP_Silk_encode_pulses(SKP_Silk_range_coder_state psRC, int sigtype, int QuantOffsetType, byte[] q, int frame_length)
          Encode quantization indices of excitation.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Silk_encode_pulses

public Silk_encode_pulses()
Method Detail

combine_and_check

static int combine_and_check(int[] pulses_comb,
                             int[] pulses_in,
                             int pulses_in_offset,
                             int max_pulses,
                             int len)
Parameters:
pulses_comb -
pulses_in -
pulses_in_offset - offset of valid data.
max_pulses - max value for sum of pulses.
len - number of output values.
Returns:

SKP_Silk_encode_pulses

static void SKP_Silk_encode_pulses(SKP_Silk_range_coder_state psRC,
                                   int sigtype,
                                   int QuantOffsetType,
                                   byte[] q,
                                   int frame_length)
Encode quantization indices of excitation.

Parameters:
psRC - Range coder state
sigtype - Sigtype
QuantOffsetType - QuantOffsetType
q - quantization
frame_length - Frame length

Jitsi: the OpenSource Java VoIP and Instant Messaging client.

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