public class V4l4jDevice extends Object implements com.github.sarxos.webcam.WebcamDevice, au.edu.jcu.v4l4j.CaptureCallback, com.github.sarxos.webcam.WebcamDevice.FPSSource
| Constructor and Description |
|---|
V4l4jDevice(File vfile) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
dispose() |
void |
exceptionReceived(au.edu.jcu.v4l4j.exceptions.V4L4JException e) |
double |
getFPS() |
BufferedImage |
getImage() |
String |
getName() |
Dimension |
getResolution() |
Dimension[] |
getResolutions() |
boolean |
isOpen() |
void |
nextFrame(au.edu.jcu.v4l4j.VideoFrame frame) |
void |
open() |
void |
setResolution(Dimension size) |
public V4l4jDevice(File vfile)
public String getName()
getName in interface com.github.sarxos.webcam.WebcamDevicepublic Dimension[] getResolutions()
getResolutions in interface com.github.sarxos.webcam.WebcamDevicepublic Dimension getResolution()
getResolution in interface com.github.sarxos.webcam.WebcamDevicepublic void setResolution(Dimension size)
setResolution in interface com.github.sarxos.webcam.WebcamDevicepublic BufferedImage getImage()
getImage in interface com.github.sarxos.webcam.WebcamDevicepublic void open()
open in interface com.github.sarxos.webcam.WebcamDevicepublic void close()
close in interface com.github.sarxos.webcam.WebcamDevicepublic void dispose()
dispose in interface com.github.sarxos.webcam.WebcamDevicepublic boolean isOpen()
isOpen in interface com.github.sarxos.webcam.WebcamDevicepublic void nextFrame(au.edu.jcu.v4l4j.VideoFrame frame)
nextFrame in interface au.edu.jcu.v4l4j.CaptureCallbackpublic void exceptionReceived(au.edu.jcu.v4l4j.exceptions.V4L4JException e)
exceptionReceived in interface au.edu.jcu.v4l4j.CaptureCallbackpublic double getFPS()
getFPS in interface com.github.sarxos.webcam.WebcamDevice.FPSSourceCopyright © 2012-2014 Bartosz Firyn (SarXos). All Rights Reserved.