Class JavaDecoder

  • All Implemented Interfaces:
    javax.media.Codec, javax.media.Controls, javax.media.PlugIn

    public class JavaDecoder
    extends com.ibm.media.codec.audio.AudioCodec
    • Field Summary

      • Fields inherited from class com.ibm.media.codec.audio.AudioCodec

        DEBUG, defaultOutputFormats, inputFormat, outputFormat, PLUGIN_NAME, supportedInputFormats, supportedOutputFormats
      • Fields inherited from class net.sf.fmj.media.BasicCodec

        inputFormats, opened, outputFormats, pendingEOM
      • Fields inherited from class net.sf.fmj.media.BasicPlugIn

        controls
      • 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
      JavaDecoder()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      Object[] getControls()  
      protected javax.media.Format[] getMatchingOutputFormats​(javax.media.Format in)  
      void open()
      Initializes the codec.
      int process​(javax.media.Buffer inputBuffer, javax.media.Buffer outputBuffer)
      Decodes the buffer
      • Methods inherited from class com.ibm.media.codec.audio.AudioCodec

        checkFormat, getInputFormat, getName, getOutputFormat, getSupportedInputFormats, getSupportedOutputFormats, setInputFormat, setOutputFormat
      • Methods inherited from class net.sf.fmj.media.BasicCodec

        checkEOM, checkInputBuffer, close, getArrayElementSize, isEOM, processAtEOM, propagateEOM, reset, updateOutput, updateRGBFormat
      • Methods inherited from class net.sf.fmj.media.BasicPlugIn

        error, getClassForName, getControl, getInputData, getNativeData, getOutputData, matches, plugInExists, validateByteArraySize, validateData, validateIntArraySize, validateShortArraySize
      • Methods inherited from interface javax.media.Controls

        getControl
    • Constructor Detail

      • JavaDecoder

        public JavaDecoder()
    • Method Detail

      • getControls

        public Object[] getControls()
        Specified by:
        getControls in interface javax.media.Controls
        Overrides:
        getControls in class net.sf.fmj.media.BasicPlugIn
      • getMatchingOutputFormats

        protected javax.media.Format[] getMatchingOutputFormats​(javax.media.Format in)
        Overrides:
        getMatchingOutputFormats in class com.ibm.media.codec.audio.AudioCodec
      • open

        public void open()
        Initializes the codec.
        Specified by:
        open in interface javax.media.PlugIn
        Overrides:
        open in class net.sf.fmj.media.BasicCodec
      • process

        public int process​(javax.media.Buffer inputBuffer,
                           javax.media.Buffer outputBuffer)
        Decodes the buffer