public class JP2KStreamDecoder extends Object implements CompressedStreamParser
Decoder used by the BinaryDataParser to decode a binary block compressed in JPEG 2000.
Modifier and Type | Field and Description |
---|---|
protected long |
fixedSize |
protected JP2KDecoder |
jp2kDecoder |
Constructor and Description |
---|
JP2KStreamDecoder() |
JP2KStreamDecoder(long fixedSize) |
Modifier and Type | Method and Description |
---|---|
void |
decode(DataInputExt inputStream,
DataComponent blockComponent)
Reads compressed data from input stream and assigns result to the component data block
|
void |
init(DataComponent blockComponent,
BinaryBlock binaryBlock)
Initializes decoder with block data component and its binary encoding info
|
protected JP2KDecoder jp2kDecoder
protected long fixedSize
public JP2KStreamDecoder()
public JP2KStreamDecoder(long fixedSize)
public void init(DataComponent blockComponent, BinaryBlock binaryBlock) throws CDMException
CompressedStreamParser
init
in interface CompressedStreamParser
CDMException
public void decode(DataInputExt inputStream, DataComponent blockComponent) throws CDMException
CompressedStreamParser
decode
in interface CompressedStreamParser
CDMException
Copyright © 2016 Sensia Software LLC. All rights reserved.