Jitsi: the OpenSource Java VoIP and Instant Messaging client.

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

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

public class Silk_NSQ_del_dec
extends Object

Author:
Dingxin Xu

Constructor Summary
Silk_NSQ_del_dec()
           
 
Method Summary
(package private) static void SKP_Silk_copy_del_dec_state(NSQ_del_dec_struct DD_dst, NSQ_del_dec_struct DD_src, int LPC_state_idx)
           
(package private) static void SKP_Silk_noise_shape_quantizer_del_dec(SKP_Silk_nsq_state NSQ, NSQ_del_dec_struct[] psDelDec, int sigtype, int[] x_Q10, byte[] q, int q_offset, short[] xq, int xq_offset, int[] sLTP_Q16, short[] a_Q12, int a_Q12_offset, short[] b_Q14, int b_Q14_offset, short[] AR_shp_Q13, int AR_shp_Q13_offset, int lag, int HarmShapeFIRPacked_Q14, int Tilt_Q14, int LF_shp_Q14, int Gain_Q16, int Lambda_Q10, int offset_Q10, int length, int subfr, int shapingLPCOrder, int predictLPCOrder, int nStatesDelayedDecision, int[] smpl_buf_idx, int decisionDelay)
          Noise shape quantizer for one subframe.
(package private) static void SKP_Silk_nsq_del_dec_scale_states(SKP_Silk_nsq_state NSQ, NSQ_del_dec_struct[] psDelDec, short[] x, int x_offset, int[] x_sc_Q10, int length, short[] sLTP, int[] sLTP_Q16, int subfr, int nStatesDelayedDecision, int smpl_buf_idx, int LTP_scale_Q14, int[] Gains_Q16, int[] pitchL)
           
(package private) static void SKP_Silk_NSQ_del_dec(SKP_Silk_encoder_state psEncC, SKP_Silk_encoder_control psEncCtrlC, SKP_Silk_nsq_state NSQ, short[] x, byte[] q, int LSFInterpFactor_Q2, short[] PredCoef_Q12, short[] LTPCoef_Q14, short[] AR2_Q13, int[] HarmShapeGain_Q14, int[] Tilt_Q14, int[] LF_shp_Q14, int[] Gains_Q16, int Lambda_Q10, int LTP_scale_Q14)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Silk_NSQ_del_dec

public Silk_NSQ_del_dec()
Method Detail

SKP_Silk_NSQ_del_dec

static void SKP_Silk_NSQ_del_dec(SKP_Silk_encoder_state psEncC,
                                 SKP_Silk_encoder_control psEncCtrlC,
                                 SKP_Silk_nsq_state NSQ,
                                 short[] x,
                                 byte[] q,
                                 int LSFInterpFactor_Q2,
                                 short[] PredCoef_Q12,
                                 short[] LTPCoef_Q14,
                                 short[] AR2_Q13,
                                 int[] HarmShapeGain_Q14,
                                 int[] Tilt_Q14,
                                 int[] LF_shp_Q14,
                                 int[] Gains_Q16,
                                 int Lambda_Q10,
                                 int LTP_scale_Q14)

SKP_Silk_noise_shape_quantizer_del_dec

static void SKP_Silk_noise_shape_quantizer_del_dec(SKP_Silk_nsq_state NSQ,
                                                   NSQ_del_dec_struct[] psDelDec,
                                                   int sigtype,
                                                   int[] x_Q10,
                                                   byte[] q,
                                                   int q_offset,
                                                   short[] xq,
                                                   int xq_offset,
                                                   int[] sLTP_Q16,
                                                   short[] a_Q12,
                                                   int a_Q12_offset,
                                                   short[] b_Q14,
                                                   int b_Q14_offset,
                                                   short[] AR_shp_Q13,
                                                   int AR_shp_Q13_offset,
                                                   int lag,
                                                   int HarmShapeFIRPacked_Q14,
                                                   int Tilt_Q14,
                                                   int LF_shp_Q14,
                                                   int Gain_Q16,
                                                   int Lambda_Q10,
                                                   int offset_Q10,
                                                   int length,
                                                   int subfr,
                                                   int shapingLPCOrder,
                                                   int predictLPCOrder,
                                                   int nStatesDelayedDecision,
                                                   int[] smpl_buf_idx,
                                                   int decisionDelay)
Noise shape quantizer for one subframe.

Parameters:
NSQ - NSQ state
psDelDec - Delayed decision states
sigtype - Signal type
x_Q10 -
q -
q_offset -
xq -
xq_offset -
sLTP_Q16 - LTP filter state
a_Q12 - Short term prediction coefs
a_Q12_offset -
b_Q14 - Long term prediction coefs
b_Q14_offset -
AR_shp_Q13 - Noise shaping coefs
AR_shp_Q13_offset -
lag - Pitch lag
HarmShapeFIRPacked_Q14 -
Tilt_Q14 - Spectral tilt
LF_shp_Q14 -
Gain_Q16 -
Lambda_Q10 -
offset_Q10 -
length - Input length
subfr - Subframe number
shapingLPCOrder - Shaping LPC filter order
predictLPCOrder - Prediction LPC filter order
nStatesDelayedDecision - Number of states in decision tree
smpl_buf_idx - Index to newest samples in buffers
decisionDelay -

SKP_Silk_nsq_del_dec_scale_states

static void SKP_Silk_nsq_del_dec_scale_states(SKP_Silk_nsq_state NSQ,
                                              NSQ_del_dec_struct[] psDelDec,
                                              short[] x,
                                              int x_offset,
                                              int[] x_sc_Q10,
                                              int length,
                                              short[] sLTP,
                                              int[] sLTP_Q16,
                                              int subfr,
                                              int nStatesDelayedDecision,
                                              int smpl_buf_idx,
                                              int LTP_scale_Q14,
                                              int[] Gains_Q16,
                                              int[] pitchL)
Parameters:
NSQ - NSQ state
psDelDec - Delayed decision states
x - Input in Q0
x_offset - offset of valid data.
x_sc_Q10 - nput scaled with 1/Gain in Q10
length - Length of input
sLTP - Re-whitened LTP state in Q0
sLTP_Q16 - LTP state matching scaled input
subfr - Subframe number
nStatesDelayedDecision - Number of del dec states
smpl_buf_idx - Index to newest samples in buffers
LTP_scale_Q14 - LTP state scaling
Gains_Q16 -
pitchL - Pitch lag

SKP_Silk_copy_del_dec_state

static void SKP_Silk_copy_del_dec_state(NSQ_del_dec_struct DD_dst,
                                        NSQ_del_dec_struct DD_src,
                                        int LPC_state_idx)
Parameters:
DD_dst - Dst del dec state
DD_src - Src del dec state
LPC_state_idx - Index to LPC buffer

Jitsi: the OpenSource Java VoIP and Instant Messaging client.

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