[]
        
(Showing Draft Content)

CSJ2K.j2k.codestream.reader.HeaderDecoder.extractTilePartMarkSeg

extractTilePartMarkSeg Method

extractTilePartMarkSeg(short, RandomAccessIO, int, int)

This method extracts a marker segment in a tile-part header and stores it into a byte buffer for the second pass. The marker is first recognized, then its flag is activated and, finally, its content is buffered in an element of byte arrays accessible thanks to a hashTable. If a marker segment is not recognized, it prints a warning and skip it according to its length.

Declaration
public virtual void extractTilePartMarkSeg(short marker, RandomAccessIO ehs, int tileIdx, int tilePartIdx)
Parameters
Type Name Description
short marker

The marker to process

RandomAccessIO ehs

The encoded header stream

int tileIdx

The index of the current tile

int tilePartIdx

The index of the current tile part