public class MPEG2StreamDecoder extends Object implements CompressedStreamParser
Decoder used by the BinaryDataParser to decode a binary block compressed in MPEG2.
Modifier and Type | Field and Description |
---|---|
protected byte[] |
frameData |
protected net.sourceforge.jffmpeg.VideoDecoder |
mpegDecoder |
Constructor and Description |
---|
MPEG2StreamDecoder() |
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 net.sourceforge.jffmpeg.VideoDecoder mpegDecoder
protected byte[] frameData
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.