[]
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.
public HeaderDecoder(RandomAccessIO ehs, ParameterList pl, HeaderInfo hi)
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 |
Type | Condition |
---|---|
CorruptedCodestreamException | If invalid data is found in the codestream main header. |