fi.helsinki.cs.ohtu.mpeg2.audio.mpa
Class QuantizationTables.QLevel

java.lang.Object
  extended by fi.helsinki.cs.ohtu.mpeg2.audio.mpa.QuantizationTables.QLevel
Enclosing class:
QuantizationTables

private static class QuantizationTables.QLevel
extends java.lang.Object

Represents a quantization level. In other words, binds together values used in bit allocation (or quantization level determination) and sample quantization.


Field Summary
 int bits
          Number of bits used to encode the level
 boolean grouped
          Whether to encode samples as groups of three or individually
 double snr
          Signal-to-noise ratio in dB
 int steps
          Number of quantization steps
 
Constructor Summary
QuantizationTables.QLevel(int steps, int bits, boolean grouped, double snr)
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

steps

public final int steps
Number of quantization steps


bits

public final int bits
Number of bits used to encode the level


grouped

public final boolean grouped
Whether to encode samples as groups of three or individually


snr

public final double snr
Signal-to-noise ratio in dB

Constructor Detail

QuantizationTables.QLevel

public QuantizationTables.QLevel(int steps,
                                 int bits,
                                 boolean grouped,
                                 double snr)