Class ZMBVDecoder
java.lang.Object
org.monte.media.jmf.codec.AbstractCodec
org.monte.media.jmf.codec.video.AbstractVideoDecoder
org.monte.media.jmf.codec.video.ZMBVDecoder
- All Implemented Interfaces:
javax.media.Codec,javax.media.Controls,javax.media.PlugIn
ZMBVDecoder.- Author:
- Werner Randelshofer
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final intRGB bit masksprotected static final intprotected static final intFields inherited from class org.monte.media.jmf.codec.video.AbstractVideoDecoder
defaultOutputFormats, inputFormat, outputFormat, supportedInputFormatsFields inherited from class org.monte.media.jmf.codec.AbstractCodec
controls, pluginNameFields inherited from interface javax.media.PlugIn
BUFFER_PROCESSED_FAILED, BUFFER_PROCESSED_OK, INPUT_BUFFER_NOT_CONSUMED, OUTPUT_BUFFER_NOT_FILLED, PLUGIN_TERMINATED -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()protected javax.media.Format[]getMatchingOutputFormats(javax.media.Format input) voidopen()intprocess(javax.media.Buffer input, javax.media.Buffer output) static voidRegisters this codec with the JMF PluginManager.Methods inherited from class org.monte.media.jmf.codec.video.AbstractVideoDecoder
getInputFormat, getOutputFormat, getSupportedInputFormats, getSupportedOutputFormats, setInputFormat, setOutputFormatMethods inherited from class org.monte.media.jmf.codec.AbstractCodec
getControl, getControls, getName, isSet, reset, setFlag
-
Field Details
-
bMask
protected static final int bMaskRGB bit masks- See Also:
-
gMask
protected static final int gMask- See Also:
-
rMask
protected static final int rMask- See Also:
-
-
Constructor Details
-
ZMBVDecoder
public ZMBVDecoder()
-
-
Method Details
-
getMatchingOutputFormats
protected javax.media.Format[] getMatchingOutputFormats(javax.media.Format input) - Specified by:
getMatchingOutputFormatsin classAbstractVideoDecoder
-
process
public int process(javax.media.Buffer input, javax.media.Buffer output) -
close
public void close()- Specified by:
closein interfacejavax.media.PlugIn- Overrides:
closein classAbstractCodec
-
open
public void open() throws javax.media.ResourceUnavailableException- Specified by:
openin interfacejavax.media.PlugIn- Overrides:
openin classAbstractCodec- Throws:
javax.media.ResourceUnavailableException
-
registerWithJMF
public static void registerWithJMF()Registers this codec with the JMF PluginManager.
-