* along with LEA. If not, see <http://www.gnu.org/licenses/>.\r
*/\r
\r
+\r
import java.awt.image.BufferedImage;\r
\r
/**\r
- * Describes a capture device. For now it is only tested with images in <code>640x480</code> at\r
- * <code>RGB</code> or <code>YUV</code> color space.\r
+ * Describes a capture device. For now it is only tested\r
+ * with images in <code>640x480</code> at <code>RGB</code> or <code>YUV</code> color space.\r
* \r
* @author Florian Frankenberger\r
*/\r
public interface ICaptureDevice {\r
\r
- /**\r
- * Returns the frame rate of the image source per second\r
- * \r
- * @return the frame rate (e.g. 15 = 15 frames per second)\r
- */\r
- public int getFrameRate();\r
-\r
- /**\r
- * Will be called a maximum of getFrameRate()-times in a second and returns the actual image of\r
- * the capture device\r
- * \r
- * @return the actual image of the capture device\r
- */\r
- public BufferedImage getImage();\r
-\r
- /**\r
- * LEA calls this when it cleans up. You should put your own cleanup code in here.\r
- */\r
- public void close();\r
+ /**\r
+ * Returns the frame rate of the image source per second\r
+ * \r
+ * @return the frame rate (e.g. 15 = 15 frames per second)\r
+ */\r
+ public int getFrameRate();\r
\r
+ /**\r
+ * Will be called a maximum of getFrameRate()-times in a second and returns\r
+ * the actual image of the capture device\r
+ * \r
+ * @return the actual image of the capture device \r
+ */\r
+ public BufferedImage getImage();\r
+ \r
+ /**\r
+ * LEA calls this when it cleans up. You should put your own cleanup code in here.\r
+ */\r
+ public void close();\r
+ \r
+ \r
}\r