X-Git-Url: http://plrg.eecs.uci.edu/git/?p=IRC.git;a=blobdiff_plain;f=Robust%2Fsrc%2FBenchmarks%2FSSJava%2FEyeTrackingInfer%2FICaptureDevice.java;h=f050a978e7abec7918a46ab904e540407813b372;hp=2caa04a9d06fb45fadec794ef994ef02ed6d4c8f;hb=9d767c1f5cef3242ff67473368e5ad327c340bfa;hpb=8d750e51bc5fa6b54ed568859dd8a6a25ad9e4c4 diff --git a/Robust/src/Benchmarks/SSJava/EyeTrackingInfer/ICaptureDevice.java b/Robust/src/Benchmarks/SSJava/EyeTrackingInfer/ICaptureDevice.java index 2caa04a9..f050a978 100644 --- a/Robust/src/Benchmarks/SSJava/EyeTrackingInfer/ICaptureDevice.java +++ b/Robust/src/Benchmarks/SSJava/EyeTrackingInfer/ICaptureDevice.java @@ -17,34 +17,36 @@ * along with LEA. If not, see . */ + import java.awt.image.BufferedImage; /** - * Describes a capture device. For now it is only tested with images in 640x480 at - * RGB or YUV color space. + * Describes a capture device. For now it is only tested + * with images in 640x480 at RGB or YUV color space. * * @author Florian Frankenberger */ public interface ICaptureDevice { - /** - * Returns the frame rate of the image source per second - * - * @return the frame rate (e.g. 15 = 15 frames per second) - */ - public int getFrameRate(); - - /** - * Will be called a maximum of getFrameRate()-times in a second and returns the actual image of - * the capture device - * - * @return the actual image of the capture device - */ - public BufferedImage getImage(); - - /** - * LEA calls this when it cleans up. You should put your own cleanup code in here. - */ - public void close(); + /** + * Returns the frame rate of the image source per second + * + * @return the frame rate (e.g. 15 = 15 frames per second) + */ + public int getFrameRate(); + /** + * Will be called a maximum of getFrameRate()-times in a second and returns + * the actual image of the capture device + * + * @return the actual image of the capture device + */ + public BufferedImage getImage(); + + /** + * LEA calls this when it cleans up. You should put your own cleanup code in here. + */ + public void close(); + + }