org.xiph.speex
Class SubMode

java.lang.Object
  extended byorg.xiph.speex.SubMode

public class SubMode
extends java.lang.Object

Speex SubMode

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

Field Summary
 int bits_per_frame
          Number of bits per frame after encoding
 float comb_gain
          Gain of enhancer comb filter
 int double_codebook
          Apply innovation quantization twice for higher quality (and higher bit-rate)
 int forced_pitch_gain
          Use the same (forced) pitch gain for all sub-frames
 int have_subframe_gain
          Number of bits to use as sub-frame innovation gain
 CbSearch innovation
          Codebook Search un-quantizer
 int lbr_pitch
          Set to -1 for "normal" modes, otherwise encode pitch using a global pitch and allowing a +- lbr_pitch variation (for low not-rates)
 float lpc_enh_k1
          Enhancer constant
 float lpc_enh_k2
          Enhancer constant
 LspQuant lsqQuant
          LSP quantization/unquantization function
 Ltp ltp
          Long-term predictor (pitch) un-quantizer
 
Constructor Summary
SubMode(int lbr_pitch, int forced_pitch_gain, int have_subframe_gain, int double_codebook, LspQuant lspQuant, Ltp ltp, CbSearch innovation, float lpc_enh_k1, float lpc_enh_k2, float comb_gain, int bits_per_frame)
          Constructor
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

lbr_pitch

public int lbr_pitch
Set to -1 for "normal" modes, otherwise encode pitch using a global pitch and allowing a +- lbr_pitch variation (for low not-rates)


forced_pitch_gain

public int forced_pitch_gain
Use the same (forced) pitch gain for all sub-frames


have_subframe_gain

public int have_subframe_gain
Number of bits to use as sub-frame innovation gain


double_codebook

public int double_codebook
Apply innovation quantization twice for higher quality (and higher bit-rate)


lsqQuant

public LspQuant lsqQuant
LSP quantization/unquantization function


ltp

public Ltp ltp
Long-term predictor (pitch) un-quantizer


innovation

public CbSearch innovation
Codebook Search un-quantizer


lpc_enh_k1

public float lpc_enh_k1
Enhancer constant


lpc_enh_k2

public float lpc_enh_k2
Enhancer constant


comb_gain

public float comb_gain
Gain of enhancer comb filter


bits_per_frame

public int bits_per_frame
Number of bits per frame after encoding

Constructor Detail

SubMode

public SubMode(int lbr_pitch,
               int forced_pitch_gain,
               int have_subframe_gain,
               int double_codebook,
               LspQuant lspQuant,
               Ltp ltp,
               CbSearch innovation,
               float lpc_enh_k1,
               float lpc_enh_k2,
               float comb_gain,
               int bits_per_frame)
Constructor



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