[]
        
(Showing Draft Content)

CSJ2K.j2k.codestream.reader.BitstreamReaderAgent.createInstance

createInstance Method

createInstance(RandomAccessIO, HeaderDecoder, ParameterList, DecoderSpecs, bool, HeaderInfo)

Creates a bit stream reader of the correct type that works on the provided RandomAccessIO, with the special parameters from the parameter list.

Declaration
public static BitstreamReaderAgent createInstance(RandomAccessIO in_Renamed, HeaderDecoder hd, ParameterList pl, DecoderSpecs decSpec, bool cdstrInfo, HeaderInfo hi)
Parameters
Type Name Description
RandomAccessIO in_Renamed
HeaderDecoder hd

Header of the codestream.

ParameterList pl

The parameter list containing parameters applicable to the bit stream read (other parameters may also be present).

DecoderSpecs decSpec

The decoder specifications

bool cdstrInfo

Whether or not to print information found in codestream.

HeaderInfo hi

Reference to the HeaderInfo instance.

Returns
Type Description
BitstreamReaderAgent