public static createInstance ( RandomAccessIO in_Renamed, |
||
in_Renamed | RandomAccessIO | |
hd | Header of the codestream. /// /// | |
pl | CSJ2K.j2k.util.ParameterList | The parameter list containing parameters applicable to the /// bit stream read (other parameters may also be present). /// /// |
decSpec | The decoder specifications /// /// | |
cdstrInfo | bool | Whether or not to print information found in /// codestream. /// /// |
hi | Reference to the HeaderInfo instance. /// /// | |
return |
public static BitstreamReaderAgent createInstance(RandomAccessIO in_Renamed, HeaderDecoder hd, ParameterList pl, DecoderSpecs decSpec, bool cdstrInfo, HeaderInfo hi)
{
// Check parameters
pl.checkList(BitstreamReaderAgent.OPT_PREFIX, CSJ2K.j2k.util.ParameterList.toNameArray(BitstreamReaderAgent.ParameterInfo));
return new FileBitstreamReaderAgent(hd, in_Renamed, decSpec, pl, cdstrInfo, hi);
}