Class JavaDecoder

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

    public class JavaDecoder
    extends AbstractCodec2
    Author:
    Lyubomir Marinov
    • Constructor Detail

      • JavaDecoder

        public JavaDecoder()
        Initializes a new JavaDecoder instance.
    • Method Detail

      • doOpen

        protected void doOpen()
                       throws javax.media.ResourceUnavailableException
        Opens this Codec and acquires the resources that it needs to operate. A call to PlugIn.open() on this instance will result in a call to doOpen only if AbstractCodec.opened is false. All required input and/or output formats are assumed to have been set on this Codec before doOpen is called.
        Specified by:
        doOpen in class AbstractCodec2
        Throws:
        javax.media.ResourceUnavailableException - if any of the resources that this Codec needs to operate cannot be acquired
        See Also:
        AbstractCodec2.doOpen()
      • doProcess

        protected int doProcess​(javax.media.Buffer inBuffer,
                                javax.media.Buffer outBuffer)
        Specified by:
        doProcess in class AbstractCodec2