X-Git-Url: http://plrg.eecs.uci.edu/git/?p=IRC.git;a=blobdiff_plain;f=Robust%2Fsrc%2FBenchmarks%2FSSJava%2FEyeTrackingInfer%2FICaptureDevice.java;h=2caa04a9d06fb45fadec794ef994ef02ed6d4c8f;hp=f050a978e7abec7918a46ab904e540407813b372;hb=8d750e51bc5fa6b54ed568859dd8a6a25ad9e4c4;hpb=52bd77482e98618483034a513931c50a870b9a47 diff --git a/Robust/src/Benchmarks/SSJava/EyeTrackingInfer/ICaptureDevice.java b/Robust/src/Benchmarks/SSJava/EyeTrackingInfer/ICaptureDevice.java index f050a978..2caa04a9 100644 --- a/Robust/src/Benchmarks/SSJava/EyeTrackingInfer/ICaptureDevice.java +++ b/Robust/src/Benchmarks/SSJava/EyeTrackingInfer/ICaptureDevice.java @@ -17,36 +17,34 @@ * 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(); + /** + * 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(); - /** - * 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(); - - }