jj2000.j2k.decoder
Class DecoderSpecs

java.lang.Object
  |
  +--jj2000.j2k.decoder.DecoderSpecs
All Implemented Interfaces:
java.lang.Cloneable

public class DecoderSpecs
extends java.lang.Object
implements java.lang.Cloneable

This class holds references to each module specifications used in the decoding chain. This avoid big amount of arguments in method calls. A specification contains values of each tile-component for one module. All members must be instance of ModuleSpec class (or its children).

See Also:
ModuleSpec

Field Summary
 CBlkSizeSpec cblks
          Code-blocks sizes specification
 CompTransfSpec cts
          The component transformation specifications
 IntegerSpec dls
          Number of decomposition levels specifications
 ModuleSpec ecopts
          The Entropy decoder options specifications
 ModuleSpec ephs
          The End of Packet Headers (EPH) markers specifications
 ModuleSpec ers
          The error resilience specifications concerning the entropy decoder
 GuardBitsSpec gbs
          Number of guard bits specifications
 ModuleSpec iccs
          ICC Profiling specifications
 IntegerSpec nls
          Number of layers specifications
 ModuleSpec pcs
          The progression changes specifications
 IntegerSpec pos
          Progression order specifications
 ModuleSpec pphs
          Packed packet header specifications
 PrecinctSizeSpec pss
          Precinct partition specifications
 QuantStepSizeSpec qsss
          Quantization normalized base step size specifications
 QuantTypeSpec qts
          Quantization type specifications
 MaxShiftSpec rois
          ROI maxshift value specifications
 ModuleSpec sops
          The Start Of Packet (SOP) markers specifications
 SynWTFilterSpec wfs
          Analysis wavelet filters specifications
 
Constructor Summary
DecoderSpecs(int nt, int nc)
          Initialize all members with the given number of tiles and components.
 
Method Summary
 DecoderSpecs getCopy()
          Returns a copy of the current object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

iccs

public ModuleSpec iccs
ICC Profiling specifications


rois

public MaxShiftSpec rois
ROI maxshift value specifications


qts

public QuantTypeSpec qts
Quantization type specifications


qsss

public QuantStepSizeSpec qsss
Quantization normalized base step size specifications


gbs

public GuardBitsSpec gbs
Number of guard bits specifications


wfs

public SynWTFilterSpec wfs
Analysis wavelet filters specifications


dls

public IntegerSpec dls
Number of decomposition levels specifications


nls

public IntegerSpec nls
Number of layers specifications


pos

public IntegerSpec pos
Progression order specifications


ecopts

public ModuleSpec ecopts
The Entropy decoder options specifications


cts

public CompTransfSpec cts
The component transformation specifications


pcs

public ModuleSpec pcs
The progression changes specifications


ers

public ModuleSpec ers
The error resilience specifications concerning the entropy decoder


pss

public PrecinctSizeSpec pss
Precinct partition specifications


sops

public ModuleSpec sops
The Start Of Packet (SOP) markers specifications


ephs

public ModuleSpec ephs
The End of Packet Headers (EPH) markers specifications


cblks

public CBlkSizeSpec cblks
Code-blocks sizes specification


pphs

public ModuleSpec pphs
Packed packet header specifications

Constructor Detail

DecoderSpecs

public DecoderSpecs(int nt,
                    int nc)
Initialize all members with the given number of tiles and components.

Parameters:
nt - Number of tiles
nc - Number of components
Method Detail

getCopy

public DecoderSpecs getCopy()
Returns a copy of the current object.