org.xiph.speex
Class HighLspQuant

java.lang.Object
  extended byorg.xiph.speex.LspQuant
      extended byorg.xiph.speex.HighLspQuant
All Implemented Interfaces:
Codebook

public class HighLspQuant
extends LspQuant

LSP Quantisation and Unquantisation (high)

Version:
$Revision: 1.4 $
Author:
Jim Lawrence, helloNetwork.com, Marc Gimpel, Wimba S.A. (marc@wimba.com)

Field Summary
 
Fields inherited from class org.xiph.speex.LspQuant
MAX_LSP_SIZE
 
Fields inherited from interface org.xiph.speex.Codebook
cdbk_nb, cdbk_nb_high1, cdbk_nb_high2, cdbk_nb_low1, cdbk_nb_low2, exc_10_16_table, exc_10_32_table, exc_20_32_table, exc_5_256_table, exc_5_64_table, exc_8_128_table, gain_cdbk_lbr, gain_cdbk_nb, h0, h1, hexc_10_32_table, hexc_table, high_lsp_cdbk, high_lsp_cdbk2, NB_CDBK_SIZE, NB_CDBK_SIZE_HIGH1, NB_CDBK_SIZE_HIGH2, NB_CDBK_SIZE_LOW1, NB_CDBK_SIZE_LOW2
 
Constructor Summary
HighLspQuant()
           
 
Method Summary
 void quant(float[] lsp, float[] qlsp, int order, Bits bits)
          Line Spectral Pair Quantification (high).
 void unquant(float[] lsp, int order, Bits bits)
          Line Spectral Pair Unquantification (high).
 
Methods inherited from class org.xiph.speex.LspQuant
lsp_quant, lsp_weight_quant, unpackPlus
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HighLspQuant

public HighLspQuant()
Method Detail

quant

public final void quant(float[] lsp,
                        float[] qlsp,
                        int order,
                        Bits bits)
Line Spectral Pair Quantification (high).

Specified by:
quant in class LspQuant
Parameters:
lsp - - Line Spectral Pairs table.
qlsp - - Quantified Line Spectral Pairs table.
order -
bits - - Speex bits buffer.

unquant

public final void unquant(float[] lsp,
                          int order,
                          Bits bits)
Line Spectral Pair Unquantification (high).

Specified by:
unquant in class LspQuant
Parameters:
lsp - - Line Spectral Pairs table.
order -
bits - - Speex bits buffer.


Copyright © 1999-2004 Wimba S.A. All Rights Reserved.