Package net.sf.jdshow

Examples of net.sf.jdshow.IVideoWindow


      hr = graphBuilder.QueryInterface(Com.IID_IVideoWindow, p);
      if (Com.FAILED(hr))
        throw new ComException(hr);
     
      // determine video size:
      final IVideoWindow videoWindow = new IVideoWindow(p[0]);

      {
        long[] width = new long[1];
        hr = videoWindow.get_Width(width);
        if (Com.FAILED(hr))
          throw new ComException(hr);
        //logger.fine("width: " + width[0]);
       
        long[] height = new long[1];
        hr = videoWindow.get_Height(height);
        if (Com.FAILED(hr))
          throw new ComException(hr);
        //logger.fine("height: " + height[0]);
       
        videoSize = new Dimension((int) width[0], (int) height[0]);
      }
     
      videoWindow.Release();
     
     
    }
    catch (ComException e)
    {
View Full Code Here

TOP

Related Classes of net.sf.jdshow.IVideoWindow

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.