Jitsi: the OpenSource Java VoIP and Instant Messaging client.

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

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

public class Silk_LPC_inv_pred_gain_FLP
extends Object

compute inverse of LPC prediction gain, and test if LPC coefficients are stable (all poles within unit circle)

Author:
Jing Dai, Dingxin Xu

Field Summary
(package private) static float RC_THRESHOLD
           
 
Constructor Summary
Silk_LPC_inv_pred_gain_FLP()
           
 
Method Summary
(package private) static int SKP_Silk_LPC_inverse_pred_gain_FLP(float[] invGain, float[] A, int A_offset, int order)
          compute inverse of LPC prediction gain, and test if LPC coefficients are stable (all poles within unit circle) this code is based on SKP_Silk_a2k_FLP().
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

RC_THRESHOLD

static final float RC_THRESHOLD
See Also:
Constant Field Values
Constructor Detail

Silk_LPC_inv_pred_gain_FLP

public Silk_LPC_inv_pred_gain_FLP()
Method Detail

SKP_Silk_LPC_inverse_pred_gain_FLP

static int SKP_Silk_LPC_inverse_pred_gain_FLP(float[] invGain,
                                              float[] A,
                                              int A_offset,
                                              int order)
compute inverse of LPC prediction gain, and test if LPC coefficients are stable (all poles within unit circle) this code is based on SKP_Silk_a2k_FLP().

Parameters:
invGain - inverse prediction gain, energy domain
A - prediction coefficients [order]
A_offset - offset of valid data.
order - prediction order
Returns:
returns 1 if unstable, otherwise 0

Jitsi: the OpenSource Java VoIP and Instant Messaging client.

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