Class JNIEncoderImpl

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

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

      • JNIEncoderImpl

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

      • doOpen

        protected void doOpen()
                       throws javax.media.ResourceUnavailableException
        Description copied from class: AbstractCodec2
        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()
      • getOutputFormat

        public javax.media.Format getOutputFormat()
        Get the output Format.
        Overrides:
        getOutputFormat in class net.sf.fmj.media.AbstractCodec
        Returns:
        output Format configured for this Codec
        See Also:
        AbstractCodec.getOutputFormat()