[]
        
(Showing Draft Content)

CSJ2K.j2k.codestream.reader.HeaderDecoder.-ctor

HeaderDecoder Constructor

HeaderDecoder(RandomAccessIO, ParameterList, HeaderInfo)

Creates a HeaderDecoder instance and read in two passes the main header of the codestream. The first and last marker segments shall be respectively SOC and SOT.

Declaration
public HeaderDecoder(RandomAccessIO ehs, ParameterList pl, HeaderInfo hi)
Parameters
Type Name Description
RandomAccessIO ehs

The encoded header stream where marker segments are extracted.

ParameterList pl

The ParameterList object of the decoder

HeaderInfo hi

The HeaderInfo holding information found in marker segments

Exceptions
Type Condition
CorruptedCodestreamException

If invalid data is found in the codestream main header.