Class JavaEncoder

    • Constructor Detail

      • JavaEncoder

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

      • getOutputFormat

        public javax.media.Format getOutputFormat()
        Get the output format.
        Overrides:
        getOutputFormat in class net.sf.fmj.media.AbstractCodec
        Returns:
        output format
        See Also:
        AbstractCodec.getOutputFormat()
      • 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
      • getControlComponent

        public Component getControlComponent()
        Not used.
        Specified by:
        getControlComponent in interface javax.media.Control
        Returns:
        null as it is not used.