org.xiph.speex
Class LbrLspQuant

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

public class LbrLspQuant
extends LspQuant

LSP Quantisation and Unquantisation (Lbr)

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
LbrLspQuant()
           
 
Method Summary
 void quant(float[] lsp, float[] qlsp, int order, Bits bits)
          Line Spectral Pair Quantification (Lbr).
 void unquant(float[] lsp, int order, Bits bits)
          Line Spectral Pair Unquantification (Lbr).
 
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

LbrLspQuant

public LbrLspQuant()
Method Detail

quant

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

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 (Lbr).

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.