Class DecoderSpecs

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

public class DecoderSpecs extends Object implements 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:
  • Field Details

    • 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 Details

    • 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 Details

    • getCopy

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