jp2codec.quantization
Class QuantStepSizeSpec

java.lang.Object
  extended by jp2codec.ModuleSpec
      extended by jp2codec.quantization.QuantStepSizeSpec

public class QuantStepSizeSpec
extends ModuleSpec

This class extends ModuleSpec class in order to hold specifications about the quantization base normalized step size to use in each tile-component.

See Also:
ModuleSpec

Field Summary
 
Fields inherited from class jp2codec.ModuleSpec
compDef, def, nComp, nTiles, SPEC_COMP_DEF, SPEC_DEF, SPEC_TILE_COMP, SPEC_TILE_DEF, SPEC_TYPE_COMP, SPEC_TYPE_TILE, SPEC_TYPE_TILE_COMP, specType, specValType, tileCompVal, tileDef
 
Constructor Summary
QuantStepSizeSpec(int nt, int nc, byte type)
          Constructs an empty 'QuantStepSizeSpec' with specified number of tile and components.
 
Method Summary
 
Methods inherited from class jp2codec.ModuleSpec
getCompDef, getCompDefRep, getDefault, getDefRep, getSpec, getSpecValType, getTileCompVal, getTileDef, getTileDefRep, isCompSpecified, isTileCompSpecified, isTileSpecified, parseIdx, setCompDef, setDefault, setTileCompVal, setTileDef
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

QuantStepSizeSpec

public QuantStepSizeSpec(int nt,
                         int nc,
                         byte type)
Constructs an empty 'QuantStepSizeSpec' with specified number of tile and components. This constructor is called by the decoder.

Parameters:
nt - Number of tiles
nc - Number of components
type - the type of the specification module i.e. tile specific, component specific or both.