public class FixedPredictor extends Object
| Constructor and Description |
|---|
FixedPredictor() |
| Modifier and Type | Method and Description |
|---|---|
static void |
computeResidual(int[] data,
int dataLen,
int order,
int[] residual)
Compute the residual from the compressed signal.
|
static void |
restoreSignal(int[] residual,
int dataLen,
int order,
int[] data,
int startAt)
Restore the signal from the fixed predictor.
|
public static void computeResidual(int[] data,
int dataLen,
int order,
int[] residual)
data - dataLen - order - residual - public static void restoreSignal(int[] residual,
int dataLen,
int order,
int[] data,
int startAt)
residual - The residual datadataLen - The length of residual dataorder - The preicate orderdata - The restored signal (output)startAt - The starting position in the data arrayCopyright © 2004–2017. All rights reserved.