Package de.humatic.dsj

Examples of de.humatic.dsj.DSCapture


    }
  }

  private void comCamerasActionPerformed(ActionEvent e) {
    dsivideo = DSCapture.queryDevices(DSCapture.SKIP_AUDIO);
    graph = new DSCapture(DSFiltergraph.RENDER_NATIVE, dsivideo[0][0],
        false, DSFilterInfo.doNotRender(), this);
    // Largura e Altura da imagem
    graph.setSize(800, 600);
    BufferedImage recorte = graph.getImage().getSubimage(175, 150, 250, 300);
    jPanelImagem.add(recorte);
View Full Code Here


    }
   
   
    if(cap){
      DSFilterInfo[][] dsi = DSCapture.queryDevices();
      graph = new DSCapture(DSFiltergraph.DD7 | DSFiltergraph.FRAME_CALLBACK , dsi[0][0], false, DSFilterInfo.doNotRender(), this);
      tab1.add(java.awt.BorderLayout.CENTER, graph.asComponent());
      frame.pack();
    }else{
      java.awt.FileDialog fd = new java.awt.FileDialog(frame, "select movie", java.awt.FileDialog.LOAD);
      fd.setVisible(true);      
View Full Code Here

TOP

Related Classes of de.humatic.dsj.DSCapture

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.