jj2000.j2k.encoder
Class EncoderSpecs

java.lang.Object
  |
  +--jj2000.j2k.encoder.EncoderSpecs

public class EncoderSpecs
extends java.lang.Object

This class holds references to each module specifications used in the encoding 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
 StringSpec bms
          By-pass mode specifications
 CBlkSizeSpec cblks
          Code-blocks sizes specification
 StringSpec css
          Causal stripes specifications
 CompTransfSpec cts
          Component transformation specifications
 IntegerSpec dls
          Number of decomposition levels specifications
 StringSpec ephs
          End of packet header (EPH) marker use specification
 GuardBitsSpec gbs
          Number of guard bits specifications
 StringSpec lcs
          The length calculation specifications
 StringSpec mqrs
          MQ reset specifications
 int nComp
          The number of components within the image
 int nTiles
          The number of tiles within the image
 ProgressionSpec ps
          Progression/progression changes specification
 PrecinctSizeSpec pss
          Precinct partition specifications
 QuantStepSizeSpec qsss
          Quantization normalized base step size specifications
 QuantTypeSpec qts
          Quantization type specifications
 MaxShiftSpec rois
          ROI maxshift value specifications
 StringSpec rts
          Regular termination specifications
 StringSpec sops
          Start of packet (SOP) marker use specification
 StringSpec sss
          Error resilience segment symbol use specifications
 StringSpec tts
          The termination type specifications
 AnWTFilterSpec wfs
          Analysis wavelet filters specifications
 
Constructor Summary
EncoderSpecs(int nt, int nc, BlkImgDataSrc imgsrc, ParameterList pl)
          Initialize all members with the given number of tiles and components and the command-line arguments stored in a ParameterList instance
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

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 AnWTFilterSpec wfs
Analysis wavelet filters specifications

cts

public CompTransfSpec cts
Component transformation specifications

dls

public IntegerSpec dls
Number of decomposition levels specifications

lcs

public StringSpec lcs
The length calculation specifications

tts

public StringSpec tts
The termination type specifications

sss

public StringSpec sss
Error resilience segment symbol use specifications

css

public StringSpec css
Causal stripes specifications

rts

public StringSpec rts
Regular termination specifications

mqrs

public StringSpec mqrs
MQ reset specifications

bms

public StringSpec bms
By-pass mode specifications

pss

public PrecinctSizeSpec pss
Precinct partition specifications

sops

public StringSpec sops
Start of packet (SOP) marker use specification

ephs

public StringSpec ephs
End of packet header (EPH) marker use specification

cblks

public CBlkSizeSpec cblks
Code-blocks sizes specification

ps

public ProgressionSpec ps
Progression/progression changes specification

nTiles

public int nTiles
The number of tiles within the image

nComp

public int nComp
The number of components within the image
Constructor Detail

EncoderSpecs

public EncoderSpecs(int nt,
                    int nc,
                    BlkImgDataSrc imgsrc,
                    ParameterList pl)
Initialize all members with the given number of tiles and components and the command-line arguments stored in a ParameterList instance
Parameters:
nt - Number of tiles
nc - Number of components
imgsrc - The image source (used to get the image size)
pl - The ParameterList instance