Class AbstractCodec

java.lang.Object
org.monte.media.jmf.codec.AbstractCodec
All Implemented Interfaces:
javax.media.Codec, javax.media.Controls, javax.media.PlugIn
Direct Known Subclasses:
AbstractVideoDecoder

public abstract class AbstractCodec extends Object implements javax.media.Codec
AbstractCodec.
Author:
Werner Randelshofer
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected Object[]
     
    protected String
     

    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

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
    getControl(String controlType)
     
     
     
    protected static boolean
    isSet(javax.media.Buffer buf, int flag)
     
    void
     
    void
     
    protected static void
    setFlag(javax.media.Buffer buf, int flag, boolean value)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface javax.media.Codec

    getSupportedInputFormats, getSupportedOutputFormats, process, setInputFormat, setOutputFormat
  • Field Details

    • pluginName

      protected String pluginName
    • controls

      protected Object[] controls
  • Constructor Details

    • AbstractCodec

      public AbstractCodec()
  • Method Details

    • getName

      public String getName()
      Specified by:
      getName in interface javax.media.PlugIn
    • open

      public void open() throws javax.media.ResourceUnavailableException
      Specified by:
      open in interface javax.media.PlugIn
      Throws:
      javax.media.ResourceUnavailableException
    • close

      public void close()
      Specified by:
      close in interface javax.media.PlugIn
    • reset

      public void reset()
      Specified by:
      reset in interface javax.media.PlugIn
    • getControls

      public Object[] getControls()
      Specified by:
      getControls in interface javax.media.Controls
    • getControl

      public Object getControl(String controlType)
      Specified by:
      getControl in interface javax.media.Controls
    • setFlag

      protected static void setFlag(javax.media.Buffer buf, int flag, boolean value)
    • isSet

      protected static boolean isSet(javax.media.Buffer buf, int flag)