Package jj2000.j2k.codestream
Interface Markers
-
- All Known Implementing Classes:
FileBitstreamReaderAgent
,FileCodestreamWriter
,HeaderDecoder
,HeaderEncoder
,HeaderInfo
,SynWTFilter
,SynWTFilterFloat
,SynWTFilterFloatLift9x7
,SynWTFilterInt
,SynWTFilterIntLift5x3
public interface Markers
This interface defines the values of the different markers in the JPEG 2000 codestream. They are 16 bit values, always appearing in big-endian (most significant byte first) and byte-aligned in the codestream. This interface also defines some other constants such as bit-masks and bit-shifts.
-
-
Field Summary
Fields Modifier and Type Field Description static short
COC
Coding style component (COC): 0xFF53static short
COD
Coding style default (COD): 0xFF52static short
COM
Comment (COM): 0xFF64static short
CRG
Component registration (CRG): 0xFF63static short
EOC
End of codestream (EOC): 0xFFD9static short
EPH
End of packet header (EPH): 0xFF92static short
EPH_LENGTH
Length of EPH marker (in bytes)static int
ERS_SEG_SYMBOLS
The "segmentation symbols used" flag within Sers: 2static int
ERS_SOP
The "SOP marker segments used" flag within Sers: 1static int
MAX_COMP_BITDEPTH
The maximum number of component bitdepthstatic int
MAX_LPPM
Maximum length of PPM marker segmentstatic int
MAX_LPPT
Maximum length of PPT marker segmentstatic short
PLM
Packet length, main header (PLM): 0xFF57static short
PLT
Packet length, tile-part header (PLT): 0xFF58static short
POC
static short
PPM
Packed packet headers, main header (PPM): 0xFF60static short
PPT
Packed packet headers, tile-part header (PPT): 0xFF61static int
PRECINCT_PARTITION_DEF_SIZE
The default size exponent of the precinctsstatic short
QCC
Quantization component (QCC): 0xFF5Dstatic short
QCD
Quantization default (QCD): 0xFF5Cstatic short
RCOM_GEN_USE
General use registration value (COM): 0x0001static short
RGN
Region-of-interest (RGN): 0xFF5Estatic int
RSIZ_BASELINE
No special capabilities (baseline) in codestream, in Rsiz field of SIZ marker: 0x00.static int
RSIZ_ER_FLAG
Error resilience marker flag bit in Rsiz field in SIZ marker: 0x01static int
RSIZ_ROI
ROI present marker flag bit in Rsiz field in SIZ marker: 0x02static int
SCOX_HOR_CB_PART
Horizontal code-block partition origin is at x=1static int
SCOX_PRECINCT_PARTITION
Precinct used flagstatic int
SCOX_USE_EPH
Use end of packet header markerstatic int
SCOX_USE_SOP
Use start of packet markerstatic int
SCOX_VER_CB_PART
Vertical code-block partition origin is at y=1static short
SIZ
SIZ marker (Image and tile size): 0xFF51static short
SOC
Start of codestream (SOC): 0xFF4Fstatic short
SOD
Start of data (SOD): 0xFF93static short
SOP
Start pf packet (SOP): 0xFF91static short
SOP_LENGTH
Length of SOP marker (in bytes)static short
SOT
Start of tile-part (SOT): 0xFF90static int
SQCX_EXP_MASK
Exponent bitmask in SPQCX when no quantization: 3static int
SQCX_EXP_SHIFT
Exponent shift in SPQCX when no quantization: 3static int
SQCX_GB_MSK
Guard bits mask in SQCX field: 7static int
SQCX_GB_SHIFT
Guard bits shift in SQCX field: 5static int
SQCX_NO_QUANTIZATION
No quantization (i.e.static int
SQCX_SCALAR_DERIVED
Scalar derived (i.e.static int
SQCX_SCALAR_EXPOUNDED
Scalar expounded (i.e.static int
SRGN_IMPLICIT
Implicit (i.e.static int
SSIZ_DEPTH_BITS
Component bitdepth bits in Ssiz field in SIZ marker: 7static short
TLM
Tile-part lengths (TLM): 0xFF55
-
-
-
Field Detail
-
SOC
static final short SOC
Start of codestream (SOC): 0xFF4F- See Also:
- Constant Field Values
-
SOT
static final short SOT
Start of tile-part (SOT): 0xFF90- See Also:
- Constant Field Values
-
SOD
static final short SOD
Start of data (SOD): 0xFF93- See Also:
- Constant Field Values
-
EOC
static final short EOC
End of codestream (EOC): 0xFFD9- See Also:
- Constant Field Values
-
SIZ
static final short SIZ
SIZ marker (Image and tile size): 0xFF51- See Also:
- Constant Field Values
-
RSIZ_BASELINE
static final int RSIZ_BASELINE
No special capabilities (baseline) in codestream, in Rsiz field of SIZ marker: 0x00. All flag bits are turned off- See Also:
- Constant Field Values
-
RSIZ_ER_FLAG
static final int RSIZ_ER_FLAG
Error resilience marker flag bit in Rsiz field in SIZ marker: 0x01- See Also:
- Constant Field Values
-
RSIZ_ROI
static final int RSIZ_ROI
ROI present marker flag bit in Rsiz field in SIZ marker: 0x02- See Also:
- Constant Field Values
-
SSIZ_DEPTH_BITS
static final int SSIZ_DEPTH_BITS
Component bitdepth bits in Ssiz field in SIZ marker: 7- See Also:
- Constant Field Values
-
MAX_COMP_BITDEPTH
static final int MAX_COMP_BITDEPTH
The maximum number of component bitdepth- See Also:
- Constant Field Values
-
COD
static final short COD
Coding style default (COD): 0xFF52- See Also:
- Constant Field Values
-
COC
static final short COC
Coding style component (COC): 0xFF53- See Also:
- Constant Field Values
-
SCOX_PRECINCT_PARTITION
static final int SCOX_PRECINCT_PARTITION
Precinct used flag- See Also:
- Constant Field Values
-
SCOX_USE_SOP
static final int SCOX_USE_SOP
Use start of packet marker- See Also:
- Constant Field Values
-
SCOX_USE_EPH
static final int SCOX_USE_EPH
Use end of packet header marker- See Also:
- Constant Field Values
-
SCOX_HOR_CB_PART
static final int SCOX_HOR_CB_PART
Horizontal code-block partition origin is at x=1- See Also:
- Constant Field Values
-
SCOX_VER_CB_PART
static final int SCOX_VER_CB_PART
Vertical code-block partition origin is at y=1- See Also:
- Constant Field Values
-
PRECINCT_PARTITION_DEF_SIZE
static final int PRECINCT_PARTITION_DEF_SIZE
The default size exponent of the precincts- See Also:
- Constant Field Values
-
RGN
static final short RGN
Region-of-interest (RGN): 0xFF5E- See Also:
- Constant Field Values
-
SRGN_IMPLICIT
static final int SRGN_IMPLICIT
Implicit (i.e. max-shift) ROI flag for Srgn field in RGN marker segment: 0x00- See Also:
- Constant Field Values
-
QCD
static final short QCD
Quantization default (QCD): 0xFF5C- See Also:
- Constant Field Values
-
QCC
static final short QCC
Quantization component (QCC): 0xFF5D- See Also:
- Constant Field Values
-
SQCX_GB_SHIFT
static final int SQCX_GB_SHIFT
Guard bits shift in SQCX field: 5- See Also:
- Constant Field Values
-
SQCX_GB_MSK
static final int SQCX_GB_MSK
Guard bits mask in SQCX field: 7- See Also:
- Constant Field Values
-
SQCX_NO_QUANTIZATION
static final int SQCX_NO_QUANTIZATION
No quantization (i.e. embedded reversible) flag for Sqcd or Sqcc (Sqcx) fields: 0x00.- See Also:
- Constant Field Values
-
SQCX_SCALAR_DERIVED
static final int SQCX_SCALAR_DERIVED
Scalar derived (i.e. LL values only) quantization flag for Sqcd or Sqcc (Sqcx) fields: 0x01.- See Also:
- Constant Field Values
-
SQCX_SCALAR_EXPOUNDED
static final int SQCX_SCALAR_EXPOUNDED
Scalar expounded (i.e. all values) quantization flag for Sqcd or Sqcc (Sqcx) fields: 0x02.- See Also:
- Constant Field Values
-
SQCX_EXP_SHIFT
static final int SQCX_EXP_SHIFT
Exponent shift in SPQCX when no quantization: 3- See Also:
- Constant Field Values
-
SQCX_EXP_MASK
static final int SQCX_EXP_MASK
Exponent bitmask in SPQCX when no quantization: 3- See Also:
- Constant Field Values
-
ERS_SOP
static final int ERS_SOP
The "SOP marker segments used" flag within Sers: 1- See Also:
- Constant Field Values
-
ERS_SEG_SYMBOLS
static final int ERS_SEG_SYMBOLS
The "segmentation symbols used" flag within Sers: 2- See Also:
- Constant Field Values
-
POC
static final short POC
- See Also:
- Constant Field Values
-
TLM
static final short TLM
Tile-part lengths (TLM): 0xFF55- See Also:
- Constant Field Values
-
PLM
static final short PLM
Packet length, main header (PLM): 0xFF57- See Also:
- Constant Field Values
-
PLT
static final short PLT
Packet length, tile-part header (PLT): 0xFF58- See Also:
- Constant Field Values
-
PPM
static final short PPM
Packed packet headers, main header (PPM): 0xFF60- See Also:
- Constant Field Values
-
PPT
static final short PPT
Packed packet headers, tile-part header (PPT): 0xFF61- See Also:
- Constant Field Values
-
MAX_LPPT
static final int MAX_LPPT
Maximum length of PPT marker segment- See Also:
- Constant Field Values
-
MAX_LPPM
static final int MAX_LPPM
Maximum length of PPM marker segment- See Also:
- Constant Field Values
-
SOP
static final short SOP
Start pf packet (SOP): 0xFF91- See Also:
- Constant Field Values
-
SOP_LENGTH
static final short SOP_LENGTH
Length of SOP marker (in bytes)- See Also:
- Constant Field Values
-
EPH
static final short EPH
End of packet header (EPH): 0xFF92- See Also:
- Constant Field Values
-
EPH_LENGTH
static final short EPH_LENGTH
Length of EPH marker (in bytes)- See Also:
- Constant Field Values
-
CRG
static final short CRG
Component registration (CRG): 0xFF63- See Also:
- Constant Field Values
-
COM
static final short COM
Comment (COM): 0xFF64- See Also:
- Constant Field Values
-
RCOM_GEN_USE
static final short RCOM_GEN_USE
General use registration value (COM): 0x0001- See Also:
- Constant Field Values
-
-