Package javaforce.codec.speex
Class SubMode
java.lang.Object
javaforce.codec.speex.SubMode
Speex SubMode
- Version:
- $Revision$
- Author:
- Jim Lawrence, helloNetwork.com, Marc Gimpel, Wimba S.A. (mgimpel@horizonwimba.com)
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal intNumber of bits per frame after encodingfinal floatGain of enhancer comb filterfinal intApply innovation quantization twice for higher quality (and higher bit-rate)final intUse the same (forced) pitch gain for all sub-framesfinal intNumber of bits to use as sub-frame innovation gainfinal CbSearchCodebook Search un-quantizerfinal intSet to -1 for "normal" modes, otherwise encode pitch using a global pitch and allowing a +- lbr_pitch variation (for low not-rates)final floatEnhancer constantfinal floatEnhancer constantfinal LspQuantLSP quantization/unquantization functionfinal LtpLong-term predictor (pitch) un-quantizer -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
lbr_pitch
public final int lbr_pitchSet 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 final int forced_pitch_gainUse the same (forced) pitch gain for all sub-frames -
have_subframe_gain
public final int have_subframe_gainNumber of bits to use as sub-frame innovation gain -
double_codebook
public final int double_codebookApply innovation quantization twice for higher quality (and higher bit-rate) -
lsqQuant
LSP quantization/unquantization function -
ltp
Long-term predictor (pitch) un-quantizer -
innovation
Codebook Search un-quantizer -
lpc_enh_k1
public final float lpc_enh_k1Enhancer constant -
lpc_enh_k2
public final float lpc_enh_k2Enhancer constant -
comb_gain
public final float comb_gainGain of enhancer comb filter -
bits_per_frame
public final int bits_per_frameNumber of bits per frame after encoding
-
-
Constructor Details