[]
This interface defines the values of the different markers in the JPEG 2000 codestream. There 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.
public struct Markers
| Name | Description |
|---|---|
| COC | Coding style component (COC): 0xFF53 |
| COD | Coding style default (COD): 0xFF52 |
| COM | Comment (COM): 0xFF64 |
| CRG | Component registration (CRG): 0xFF63 |
| EOC | End of codestream (EOC): 0xFFD9 |
| EPH | End of packet header (EPH): 0xFF92 |
| EPH_LENGTH | Length of EPH marker (in bytes) |
| ERS_SEG_SYMBOLS | The "segmentation symbols used" flag within Sers: 2 |
| ERS_SOP | The "SOP marker segments used" flag within Sers: 1 |
| MAX_COMP_BITDEPTH | The maximum number of component bitdepth |
| MAX_LPPM | Maximum length of PPM marker segment |
| MAX_LPPT | Maximum length of PPT marker segment |
| PLM | Packet length, main header (PLM): 0xFF57 |
| PLT | Packet length, tile-part header (PLT): 0xFF58 |
| POC | |
| PPM | Packed packet headers, main header (PPM): 0xFF60 |
| PPT | Packed packet headers, tile-part header (PPT): 0xFF61 |
| PRECINCT_PARTITION_DEF_SIZE | The default size exponent of the precincts |
| QCC | Quantization component (QCC): 0xFF5D |
| QCD | Quantization default (QCD): 0xFF5C |
| RCOM_GEN_USE | General use registration value (COM): 0x0001 |
| RGN | Region-of-interest (RGN): 0xFF5E |
| RSIZ_BASELINE | No special capabilities (baseline) in codestream, in Rsiz field of SIZ marker: 0x00. All flag bits are turned off |
| RSIZ_ER_FLAG | Error resilience marker flag bit in Rsiz field in SIZ marker: 0x01 |
| RSIZ_ROI | ROI present marker flag bit in Rsiz field in SIZ marker: 0x02 |
| SCOX_HOR_CB_PART | Horizontal code-block partition origin is at x=1 |
| SCOX_PRECINCT_PARTITION | Precinct used flag |
| SCOX_USE_EPH | Use end of packet header marker |
| SCOX_USE_SOP | Use start of packet marker |
| SCOX_VER_CB_PART | Vertical code-block partition origin is at y=1 |
| SIZ | SIZ marker (Image and tile size): 0xFF51 |
| SOC | Start of codestream (SOC): 0xFF4F |
| SOD | Start of data (SOD): 0xFF93 |
| SOP | Start pf packet (SOP): 0xFF91 |
| SOP_LENGTH | Length of SOP marker (in bytes) |
| SOT | Start of tile-part (SOT): 0xFF90 |
| SQCX_EXP_MASK | Exponent bitmask in SPQCX when no quantization: 3 |
| SQCX_EXP_SHIFT | Exponent shift in SPQCX when no quantization: 3 |
| SQCX_GB_MSK | Guard bits mask in SQCX field: 7 |
| SQCX_GB_SHIFT | Guard bits shift in SQCX field: 5 |
| SQCX_NO_QUANTIZATION | No quantization (i.e. embedded reversible) flag for Sqcd or Sqcc (Sqcx) fields: 0x00. |
| SQCX_SCALAR_DERIVED | Scalar derived (i.e. LL values only) quantization flag for Sqcd or Sqcc (Sqcx) fields: 0x01. |
| SQCX_SCALAR_EXPOUNDED | Scalar expounded (i.e. all values) quantization flag for Sqcd or Sqcc (Sqcx) fields: 0x02. |
| SRGN_IMPLICIT | Implicit (i.e. max-shift) ROI flag for Srgn field in RGN marker segment: 0x00 |
| SSIZ_DEPTH_BITS | Component bitdepth bits in Ssiz field in SIZ marker: 7 |
| TLM | Tile-part lengths (TLM): 0xFF55 |