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 final short
    Coding style component (COC): 0xFF53
    static final short
    Coding style default (COD): 0xFF52
    static final short
    Comment (COM): 0xFF64
    static final short
    Component registration (CRG): 0xFF63
    static final short
    End of codestream (EOC): 0xFFD9
    static final short
    End of packet header (EPH): 0xFF92
    static final short
    Length of EPH marker (in bytes)
    static final int
    The "segmentation symbols used" flag within Sers: 2
    static final int
    The "SOP marker segments used" flag within Sers: 1
    static final int
    The maximum number of component bitdepth
    static final int
    Maximum length of PPM marker segment
    static final int
    Maximum length of PPT marker segment
    static final short
    Packet length, main header (PLM): 0xFF57
    static final short
    Packet length, tile-part header (PLT): 0xFF58
    static final short
     
    static final short
    Packed packet headers, main header (PPM): 0xFF60
    static final short
    Packed packet headers, tile-part header (PPT): 0xFF61
    static final int
    The default size exponent of the precincts
    static final short
    Quantization component (QCC): 0xFF5D
    static final short
    Quantization default (QCD): 0xFF5C
    static final short
    General use registration value (COM): 0x0001
    static final short
    Region-of-interest (RGN): 0xFF5E
    static final int
    No special capabilities (baseline) in codestream, in Rsiz field of SIZ marker: 0x00.
    static final int
    Error resilience marker flag bit in Rsiz field in SIZ marker: 0x01
    static final int
    ROI present marker flag bit in Rsiz field in SIZ marker: 0x02
    static final int
    Horizontal code-block partition origin is at x=1
    static final int
    Precinct used flag
    static final int
    Use end of packet header marker
    static final int
    Use start of packet marker
    static final int
    Vertical code-block partition origin is at y=1
    static final short
    SIZ marker (Image and tile size): 0xFF51
    static final short
    Start of codestream (SOC): 0xFF4F
    static final short
    Start of data (SOD): 0xFF93
    static final short
    Start pf packet (SOP): 0xFF91
    static final short
    Length of SOP marker (in bytes)
    static final short
    Start of tile-part (SOT): 0xFF90
    static final int
    Exponent bitmask in SPQCX when no quantization: 3
    static final int
    Exponent shift in SPQCX when no quantization: 3
    static final int
    Guard bits mask in SQCX field: 7
    static final int
    Guard bits shift in SQCX field: 5
    static final int
    No quantization (i.e.
    static final int
    Scalar derived (i.e.
    static final int
    Scalar expounded (i.e.
    static final int
    Implicit (i.e.
    static final int
    Component bitdepth bits in Ssiz field in SIZ marker: 7
    static final short
    Tile-part lengths (TLM): 0xFF55
  • Field Details

    • SOC

      static final short SOC
      Start of codestream (SOC): 0xFF4F
      See Also:
    • SOT

      static final short SOT
      Start of tile-part (SOT): 0xFF90
      See Also:
    • SOD

      static final short SOD
      Start of data (SOD): 0xFF93
      See Also:
    • EOC

      static final short EOC
      End of codestream (EOC): 0xFFD9
      See Also:
    • SIZ

      static final short SIZ
      SIZ marker (Image and tile size): 0xFF51
      See Also:
    • 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:
    • RSIZ_ER_FLAG

      static final int RSIZ_ER_FLAG
      Error resilience marker flag bit in Rsiz field in SIZ marker: 0x01
      See Also:
    • RSIZ_ROI

      static final int RSIZ_ROI
      ROI present marker flag bit in Rsiz field in SIZ marker: 0x02
      See Also:
    • SSIZ_DEPTH_BITS

      static final int SSIZ_DEPTH_BITS
      Component bitdepth bits in Ssiz field in SIZ marker: 7
      See Also:
    • MAX_COMP_BITDEPTH

      static final int MAX_COMP_BITDEPTH
      The maximum number of component bitdepth
      See Also:
    • COD

      static final short COD
      Coding style default (COD): 0xFF52
      See Also:
    • COC

      static final short COC
      Coding style component (COC): 0xFF53
      See Also:
    • SCOX_PRECINCT_PARTITION

      static final int SCOX_PRECINCT_PARTITION
      Precinct used flag
      See Also:
    • SCOX_USE_SOP

      static final int SCOX_USE_SOP
      Use start of packet marker
      See Also:
    • SCOX_USE_EPH

      static final int SCOX_USE_EPH
      Use end of packet header marker
      See Also:
    • SCOX_HOR_CB_PART

      static final int SCOX_HOR_CB_PART
      Horizontal code-block partition origin is at x=1
      See Also:
    • SCOX_VER_CB_PART

      static final int SCOX_VER_CB_PART
      Vertical code-block partition origin is at y=1
      See Also:
    • PRECINCT_PARTITION_DEF_SIZE

      static final int PRECINCT_PARTITION_DEF_SIZE
      The default size exponent of the precincts
      See Also:
    • RGN

      static final short RGN
      Region-of-interest (RGN): 0xFF5E
      See Also:
    • SRGN_IMPLICIT

      static final int SRGN_IMPLICIT
      Implicit (i.e. max-shift) ROI flag for Srgn field in RGN marker segment: 0x00
      See Also:
    • QCD

      static final short QCD
      Quantization default (QCD): 0xFF5C
      See Also:
    • QCC

      static final short QCC
      Quantization component (QCC): 0xFF5D
      See Also:
    • SQCX_GB_SHIFT

      static final int SQCX_GB_SHIFT
      Guard bits shift in SQCX field: 5
      See Also:
    • SQCX_GB_MSK

      static final int SQCX_GB_MSK
      Guard bits mask in SQCX field: 7
      See Also:
    • 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:
    • 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:
    • 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:
    • SQCX_EXP_SHIFT

      static final int SQCX_EXP_SHIFT
      Exponent shift in SPQCX when no quantization: 3
      See Also:
    • SQCX_EXP_MASK

      static final int SQCX_EXP_MASK
      Exponent bitmask in SPQCX when no quantization: 3
      See Also:
    • ERS_SOP

      static final int ERS_SOP
      The "SOP marker segments used" flag within Sers: 1
      See Also:
    • ERS_SEG_SYMBOLS

      static final int ERS_SEG_SYMBOLS
      The "segmentation symbols used" flag within Sers: 2
      See Also:
    • POC

      static final short POC
      See Also:
    • TLM

      static final short TLM
      Tile-part lengths (TLM): 0xFF55
      See Also:
    • PLM

      static final short PLM
      Packet length, main header (PLM): 0xFF57
      See Also:
    • PLT

      static final short PLT
      Packet length, tile-part header (PLT): 0xFF58
      See Also:
    • PPM

      static final short PPM
      Packed packet headers, main header (PPM): 0xFF60
      See Also:
    • PPT

      static final short PPT
      Packed packet headers, tile-part header (PPT): 0xFF61
      See Also:
    • MAX_LPPT

      static final int MAX_LPPT
      Maximum length of PPT marker segment
      See Also:
    • MAX_LPPM

      static final int MAX_LPPM
      Maximum length of PPM marker segment
      See Also:
    • SOP

      static final short SOP
      Start pf packet (SOP): 0xFF91
      See Also:
    • SOP_LENGTH

      static final short SOP_LENGTH
      Length of SOP marker (in bytes)
      See Also:
    • EPH

      static final short EPH
      End of packet header (EPH): 0xFF92
      See Also:
    • EPH_LENGTH

      static final short EPH_LENGTH
      Length of EPH marker (in bytes)
      See Also:
    • CRG

      static final short CRG
      Component registration (CRG): 0xFF63
      See Also:
    • COM

      static final short COM
      Comment (COM): 0xFF64
      See Also:
    • RCOM_GEN_USE

      static final short RCOM_GEN_USE
      General use registration value (COM): 0x0001
      See Also: