[]
        
(Showing Draft Content)

CSJ2K.j2k.codestream.reader.PktDecoder.restart

restart Method

restart(int, int[], int, CBlkInfo[][][][][], bool, MemoryStream)

Re-initialize the PktDecoder instance at the beginning of a new tile.

Declaration
public virtual CBlkInfo[][][][][] restart(int nc, int[] mdl, int nl, CBlkInfo[][][][][] cbI, bool pph, MemoryStream pphbais)
Public Overridable Function restart(nc As Integer, mdl As Integer(), nl As Integer, cbI As CBlkInfo()()()()(), pph As Boolean, pphbais As MemoryStream) As CBlkInfo()()()()()
Parameters
Type Name Description
int nc

The number of components in this tile

int[] mdl

The maximum number of decomposition level in each component of this tile

int nl

The number of layers in this tile

CBlkInfo[][][][][] cbI

The code-blocks array

bool pph

Flag indicating whether packed packet headers was used

MemoryStream pphbais

Stream containing the packed packet headers

Returns
Type Description
CBlkInfo[][][][][]