kaos.robots.util.jmf
Class JMFCamera

java.lang.Object
  extended by kaos.robots.util.jmf.JMFCamera
All Implemented Interfaces:
VideoCamera

public class JMFCamera
extends java.lang.Object
implements VideoCamera


Field Summary
 BufferToImage btoi
           
 Buffer buf
           
 CaptureDeviceInfo di
           
 java.awt.Image img
           
 MediaLocator ml
           
static Player player
           
 VideoFormat vf
           
 
Constructor Summary
JMFCamera()
           
 
Method Summary
 void getRGBDevices()
           
 SerializableBufferImage GrabFrameAsBuffer()
          CaptureImage
 void initialize()
           
static void main(java.lang.String[] args)
           
static void playerclose()
           
static void saveJPG(java.awt.Image img, java.lang.String s)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

player

public static Player player

di

public CaptureDeviceInfo di

ml

public MediaLocator ml

buf

public Buffer buf

img

public java.awt.Image img

vf

public VideoFormat vf

btoi

public BufferToImage btoi
Constructor Detail

JMFCamera

public JMFCamera()
          throws java.lang.Exception
Throws:
java.lang.Exception
Method Detail

initialize

public void initialize()
                throws java.lang.Exception
Throws:
java.lang.Exception

getRGBDevices

public void getRGBDevices()

GrabFrameAsBuffer

public SerializableBufferImage GrabFrameAsBuffer()
Description copied from interface: VideoCamera
CaptureImage

Specified by:
GrabFrameAsBuffer in interface VideoCamera
Returns:
Buffer buffer of image

playerclose

public static void playerclose()

saveJPG

public static void saveJPG(java.awt.Image img,
                           java.lang.String s)

main

public static void main(java.lang.String[] args)