org.xiph.speex

Class NoiseSearch


public class NoiseSearch
extends CbSearch

Noise codebook search
Version:
$Revision: 1.2 $
Authors:
Jim Lawrence, helloNetwork.com
Marc Gimpel, Wimba S.A. (mgimpel@horizonwimba.com)

Method Summary

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 (Noise).
void
unquant(float[] exc, int es, int nsf, Bits bits)
Codebook Search Unquantification (Noise).

Methods inherited from class org.xiph.speex.CbSearch

quant, unquant

Method Details

quant

public final 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 (Noise).
Overrides:
quant in interface CbSearch
Parameters:
target - target vector
ak - LPCs for this subframe
awk1 - Weighted LPCs for this subframe
awk2 - Weighted LPCs for this subframe
p - number of LPC coeffs
nsf - number of samples in subframe
exc - excitation array.
es - position in excitation array.
r -
bits - Speex bits buffer.
complexity -

unquant

public final void unquant(float[] exc,
                          int es,
                          int nsf,
                          Bits bits)
Codebook Search Unquantification (Noise).
Overrides:
unquant in interface CbSearch
Parameters:
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.