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
FieldsModifier and TypeFieldDescriptionstatic final shortCoding style component (COC): 0xFF53static final shortCoding style default (COD): 0xFF52static final shortComment (COM): 0xFF64static final shortComponent registration (CRG): 0xFF63static final shortEnd of codestream (EOC): 0xFFD9static final shortEnd of packet header (EPH): 0xFF92static final shortLength of EPH marker (in bytes)static final intThe "segmentation symbols used" flag within Sers: 2static final intThe "SOP marker segments used" flag within Sers: 1static final intThe maximum number of component bitdepthstatic final intMaximum length of PPM marker segmentstatic final intMaximum length of PPT marker segmentstatic final shortPacket length, main header (PLM): 0xFF57static final shortPacket length, tile-part header (PLT): 0xFF58static final shortstatic final shortPacked packet headers, main header (PPM): 0xFF60static final shortPacked packet headers, tile-part header (PPT): 0xFF61static final intThe default size exponent of the precinctsstatic final shortQuantization component (QCC): 0xFF5Dstatic final shortQuantization default (QCD): 0xFF5Cstatic final shortGeneral use registration value (COM): 0x0001static final shortRegion-of-interest (RGN): 0xFF5Estatic final intNo special capabilities (baseline) in codestream, in Rsiz field of SIZ marker: 0x00.static final intError resilience marker flag bit in Rsiz field in SIZ marker: 0x01static final intROI present marker flag bit in Rsiz field in SIZ marker: 0x02static final intHorizontal code-block partition origin is at x=1static final intPrecinct used flagstatic final intUse end of packet header markerstatic final intUse start of packet markerstatic final intVertical code-block partition origin is at y=1static final shortSIZ marker (Image and tile size): 0xFF51static final shortStart of codestream (SOC): 0xFF4Fstatic final shortStart of data (SOD): 0xFF93static final shortStart pf packet (SOP): 0xFF91static final shortLength of SOP marker (in bytes)static final shortStart of tile-part (SOT): 0xFF90static final intExponent bitmask in SPQCX when no quantization: 3static final intExponent shift in SPQCX when no quantization: 3static final intGuard bits mask in SQCX field: 7static final intGuard bits shift in SQCX field: 5static final intNo quantization (i.e.static final intScalar derived (i.e.static final intScalar expounded (i.e.static final intImplicit (i.e.static final intComponent bitdepth bits in Ssiz field in SIZ marker: 7static final shortTile-part lengths (TLM): 0xFF55
-
Field Details
-
SOC
static final short SOCStart of codestream (SOC): 0xFF4F- See Also:
-
SOT
static final short SOTStart of tile-part (SOT): 0xFF90- See Also:
-
SOD
static final short SODStart of data (SOD): 0xFF93- See Also:
-
EOC
static final short EOCEnd of codestream (EOC): 0xFFD9- See Also:
-
SIZ
static final short SIZSIZ marker (Image and tile size): 0xFF51- See Also:
-
RSIZ_BASELINE
static final int RSIZ_BASELINENo special capabilities (baseline) in codestream, in Rsiz field of SIZ marker: 0x00. All flag bits are turned off- See Also:
-
RSIZ_ER_FLAG
static final int RSIZ_ER_FLAGError resilience marker flag bit in Rsiz field in SIZ marker: 0x01- See Also:
-
RSIZ_ROI
static final int RSIZ_ROIROI present marker flag bit in Rsiz field in SIZ marker: 0x02- See Also:
-
SSIZ_DEPTH_BITS
static final int SSIZ_DEPTH_BITSComponent bitdepth bits in Ssiz field in SIZ marker: 7- See Also:
-
MAX_COMP_BITDEPTH
static final int MAX_COMP_BITDEPTHThe maximum number of component bitdepth- See Also:
-
COD
static final short CODCoding style default (COD): 0xFF52- See Also:
-
COC
static final short COCCoding style component (COC): 0xFF53- See Also:
-
SCOX_PRECINCT_PARTITION
static final int SCOX_PRECINCT_PARTITIONPrecinct used flag- See Also:
-
SCOX_USE_SOP
static final int SCOX_USE_SOPUse start of packet marker- See Also:
-
SCOX_USE_EPH
static final int SCOX_USE_EPHUse end of packet header marker- See Also:
-
SCOX_HOR_CB_PART
static final int SCOX_HOR_CB_PARTHorizontal code-block partition origin is at x=1- See Also:
-
SCOX_VER_CB_PART
static final int SCOX_VER_CB_PARTVertical code-block partition origin is at y=1- See Also:
-
PRECINCT_PARTITION_DEF_SIZE
static final int PRECINCT_PARTITION_DEF_SIZEThe default size exponent of the precincts- See Also:
-
RGN
static final short RGNRegion-of-interest (RGN): 0xFF5E- See Also:
-
SRGN_IMPLICIT
static final int SRGN_IMPLICITImplicit (i.e. max-shift) ROI flag for Srgn field in RGN marker segment: 0x00- See Also:
-
QCD
static final short QCDQuantization default (QCD): 0xFF5C- See Also:
-
QCC
static final short QCCQuantization component (QCC): 0xFF5D- See Also:
-
SQCX_GB_SHIFT
static final int SQCX_GB_SHIFTGuard bits shift in SQCX field: 5- See Also:
-
SQCX_GB_MSK
static final int SQCX_GB_MSKGuard bits mask in SQCX field: 7- See Also:
-
SQCX_NO_QUANTIZATION
static final int SQCX_NO_QUANTIZATIONNo quantization (i.e. embedded reversible) flag for Sqcd or Sqcc (Sqcx) fields: 0x00.- See Also:
-
SQCX_SCALAR_DERIVED
static final int SQCX_SCALAR_DERIVEDScalar derived (i.e. LL values only) quantization flag for Sqcd or Sqcc (Sqcx) fields: 0x01.- See Also:
-
SQCX_SCALAR_EXPOUNDED
static final int SQCX_SCALAR_EXPOUNDEDScalar expounded (i.e. all values) quantization flag for Sqcd or Sqcc (Sqcx) fields: 0x02.- See Also:
-
SQCX_EXP_SHIFT
static final int SQCX_EXP_SHIFTExponent shift in SPQCX when no quantization: 3- See Also:
-
SQCX_EXP_MASK
static final int SQCX_EXP_MASKExponent bitmask in SPQCX when no quantization: 3- See Also:
-
ERS_SOP
static final int ERS_SOPThe "SOP marker segments used" flag within Sers: 1- See Also:
-
ERS_SEG_SYMBOLS
static final int ERS_SEG_SYMBOLSThe "segmentation symbols used" flag within Sers: 2- See Also:
-
POC
static final short POC- See Also:
-
TLM
static final short TLMTile-part lengths (TLM): 0xFF55- See Also:
-
PLM
static final short PLMPacket length, main header (PLM): 0xFF57- See Also:
-
PLT
static final short PLTPacket length, tile-part header (PLT): 0xFF58- See Also:
-
PPM
static final short PPMPacked packet headers, main header (PPM): 0xFF60- See Also:
-
PPT
static final short PPTPacked packet headers, tile-part header (PPT): 0xFF61- See Also:
-
MAX_LPPT
static final int MAX_LPPTMaximum length of PPT marker segment- See Also:
-
MAX_LPPM
static final int MAX_LPPMMaximum length of PPM marker segment- See Also:
-
SOP
static final short SOPStart pf packet (SOP): 0xFF91- See Also:
-
SOP_LENGTH
static final short SOP_LENGTHLength of SOP marker (in bytes)- See Also:
-
EPH
static final short EPHEnd of packet header (EPH): 0xFF92- See Also:
-
EPH_LENGTH
static final short EPH_LENGTHLength of EPH marker (in bytes)- See Also:
-
CRG
static final short CRGComponent registration (CRG): 0xFF63- See Also:
-
COM
static final short COMComment (COM): 0xFF64- See Also:
-
RCOM_GEN_USE
static final short RCOM_GEN_USEGeneral use registration value (COM): 0x0001- See Also:
-