Copyright 2012-04-26 Werner Randelshofer

org.monte.media.jmf.codec.video
Class ZMBVDecoder

java.lang.Object
  extended by org.monte.media.jmf.codec.AbstractCodec
      extended by org.monte.media.jmf.codec.video.AbstractVideoDecoder
          extended by org.monte.media.jmf.codec.video.ZMBVDecoder
All Implemented Interfaces:
javax.media.Codec, javax.media.Controls, javax.media.PlugIn

public class ZMBVDecoder
extends AbstractVideoDecoder

ZMBVDecoder.

Version:
1.0 2011-08-27 Created.
Author:
Werner Randelshofer

Field Summary
protected static int bMask
          RGB bit masks
protected static int gMask
           
protected static int rMask
           
 
Fields inherited from class org.monte.media.jmf.codec.video.AbstractVideoDecoder
defaultOutputFormats, inputFormat, outputFormat, supportedInputFormats
 
Fields inherited from class org.monte.media.jmf.codec.AbstractCodec
controls, pluginName
 
Fields inherited from interface javax.media.PlugIn
BUFFER_PROCESSED_FAILED, BUFFER_PROCESSED_OK, INPUT_BUFFER_NOT_CONSUMED, OUTPUT_BUFFER_NOT_FILLED, PLUGIN_TERMINATED
 
Constructor Summary
ZMBVDecoder()
           
 
Method Summary
 void close()
           
protected  javax.media.Format[] getMatchingOutputFormats(javax.media.Format input)
           
 void open()
           
 int process(javax.media.Buffer input, javax.media.Buffer output)
           
 
Methods inherited from class org.monte.media.jmf.codec.video.AbstractVideoDecoder
getInputFormat, getOutputFormat, getSupportedInputFormats, getSupportedOutputFormats, setInputFormat, setOutputFormat
 
Methods inherited from class org.monte.media.jmf.codec.AbstractCodec
getControl, getControls, getName, isSet, reset, setFlag
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

bMask

protected static final int bMask
RGB bit masks

See Also:
Constant Field Values

gMask

protected static final int gMask
See Also:
Constant Field Values

rMask

protected static final int rMask
See Also:
Constant Field Values
Constructor Detail

ZMBVDecoder

public ZMBVDecoder()
Method Detail

getMatchingOutputFormats

protected javax.media.Format[] getMatchingOutputFormats(javax.media.Format input)
Specified by:
getMatchingOutputFormats in class AbstractVideoDecoder

process

public int process(javax.media.Buffer input,
                   javax.media.Buffer output)

close

public void close()
Specified by:
close in interface javax.media.PlugIn
Overrides:
close in class AbstractCodec

open

public void open()
          throws javax.media.ResourceUnavailableException
Specified by:
open in interface javax.media.PlugIn
Overrides:
open in class AbstractCodec
Throws:
javax.media.ResourceUnavailableException

Copyright 2012-04-26 Werner Randelshofer