[]
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.
public PktDecoder(DecoderSpecs decSpec, HeaderDecoder hd, RandomAccessIO ehs, BitstreamReaderAgent src, bool isTruncMode, int maxCB)
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 |