org.xiph.speex

Class SubMode


public class SubMode
extends java.lang.Object

Speex SubMode
Version:
$Revision: 1.2 $
Authors:
Jim Lawrence, helloNetwork.com
Marc Gimpel, Wimba S.A. (mgimpel@horizonwimba.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

Field Details

bits_per_frame

public int bits_per_frame
Number of bits per frame after encoding

comb_gain

public float comb_gain
Gain of enhancer comb filter

double_codebook

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

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

innovation

public CbSearch innovation
Codebook Search un-quantizer

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)

lpc_enh_k1

public float lpc_enh_k1
Enhancer constant

lpc_enh_k2

public float lpc_enh_k2
Enhancer constant

lsqQuant

public LspQuant lsqQuant
LSP quantization/unquantization function

ltp

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

Constructor Details

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.