org.xiph.speex
Class CbSearch
public abstract class CbSearch
extends java.lang.Object
Abstract class that is the base for the various Codebook search methods.
- Jim Lawrence, helloNetwork.com
- Marc Gimpel, Wimba S.A. (mgimpel@horizonwimba.com)
abstract void | quant(float[] target, float[] ak, float[] awk1, float[] awk2, int p, int nsf, float[] exc, int es, float[] r, Bits bits, int complexity)- Codebook Search Quantification.
|
abstract void | unquant(float[] exc, int es, int nsf, Bits bits)- Codebook Search Unquantification.
|
quant
public abstract void quant(float[] target,
float[] ak,
float[] awk1,
float[] awk2,
int p,
int nsf,
float[] exc,
int es,
float[] r,
Bits bits,
int complexity) Codebook Search Quantification.
target - target vectorak - LPCs for this subframeawk1 - Weighted LPCs for this subframeawk2 - Weighted LPCs for this subframep - number of LPC coeffsnsf - number of samples in subframeexc - excitation array.es - position in excitation array.r - bits - Speex bits buffer.complexity -
unquant
public abstract void unquant(float[] exc,
int es,
int nsf,
Bits bits) Codebook Search Unquantification.
exc - - excitation array.es - - position in excitation array.nsf - - number of samples in subframe.bits - - Speex bits buffer.
Copyright © 1999-2004 Wimba S.A. All Rights Reserved.