org.kc7bfi.jflac
Class LPCPredictor

java.lang.Object
  extended by org.kc7bfi.jflac.LPCPredictor

public class LPCPredictor
extends Object

LPC Predictor utility class.

Author:
kc7bfi

Constructor Summary
LPCPredictor()
           
 
Method Summary
static void restoreSignal(int[] residual, int dataLen, int[] qlpCoeff, int order, int lpQuantization, int[] data, int startAt)
          Restore the signal from the LPC compression.
static void restoreSignalWide(int[] residual, int dataLen, int[] qlpCoeff, int order, int lpQuantization, int[] data, int startAt)
          Restore the signal from the LPC compression.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LPCPredictor

public LPCPredictor()
Method Detail

restoreSignal

public static void restoreSignal(int[] residual,
                                 int dataLen,
                                 int[] qlpCoeff,
                                 int order,
                                 int lpQuantization,
                                 int[] data,
                                 int startAt)
Restore the signal from the LPC compression.

Parameters:
residual - The residual signal
dataLen - The length of the residual data
qlpCoeff -
order - The predicate order
lpQuantization -
data - The restored signal (output)
startAt - The starting position in the data array

restoreSignalWide

public static void restoreSignalWide(int[] residual,
                                     int dataLen,
                                     int[] qlpCoeff,
                                     int order,
                                     int lpQuantization,
                                     int[] data,
                                     int startAt)
Restore the signal from the LPC compression.

Parameters:
residual - The residual signal
dataLen - The length of the residual data
qlpCoeff -
order - The predicate order
lpQuantization -
data - The restored signal (output)
startAt - The starting position in the data array


Copyright © 2004-2011. All Rights Reserved.