Package javax.media.renderer

Examples of javax.media.renderer.VideoRenderer


    {
   
      final RendererNode rendererNode = filterGraph.getRendererNode(videoTrackIndex);
     
      if (rendererNode != null) {
        final VideoRenderer videoRenderer = (VideoRenderer) rendererNode.getRenderer();
        final VideoFormat videoRendererInputFormat = (VideoFormat) rendererNode.getInputFormat();
        // TODO: we need to start the demux
        visualComponent = videoRenderer.getComponent();
        visualComponent.setSize(videoRendererInputFormat.getSize());
        //logger.fine("Video size: " + videoRendererInputFormat.getSize());
        videoRenderer.setBounds(new Rectangle(videoRendererInputFormat.getSize()));
      }
    }
   
    // TODO:
    // Sun's AudioRenderer implements Prefetchable, Drainable, Clock
View Full Code Here

TOP

Related Classes of javax.media.renderer.VideoRenderer

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.