[]
        
(Showing Draft Content)

CSJ2K.j2k.codestream.reader.PktDecoder.-ctor

PktDecoder Constructor

PktDecoder(DecoderSpecs, HeaderDecoder, RandomAccessIO, BitstreamReaderAgent, bool, int)

Creates an empty PktDecoder object associated with given decoder specifications and HeaderDecoder. This object must be initialized thanks to the restart method before being used.

Declaration
public PktDecoder(DecoderSpecs decSpec, HeaderDecoder hd, RandomAccessIO ehs, BitstreamReaderAgent src, bool isTruncMode, int maxCB)
Parameters
Type Name Description
DecoderSpecs decSpec

The decoder specifications.

HeaderDecoder hd

The HeaderDecoder instance.

RandomAccessIO ehs

The stream where to read data from.

BitstreamReaderAgent src

The bit stream reader agent.

bool isTruncMode

Whether or not truncation mode is required.

int maxCB

The maximum number of code-blocks to read before ncbquit