changes: 1) fixes problems in the original EyeTracking benchmark 2) fix a bug in...
[IRC.git] / Robust / src / Benchmarks / SSJava / EyeTrackingInfer / DummyCaptureDevice.java
index e035b65..699a620 100644 (file)
@@ -15,44 +15,38 @@ import de.darkblue.lea.ifaces.ICaptureDevice;
  */\r
 public class DummyCaptureDevice implements ICaptureDevice {\r
 \r
-  /**\r
+       /**\r
         * \r
         */\r
-  public DummyCaptureDevice() {\r
-    // TODO Auto-generated constructor stub\r
-  }\r
-\r
-  /*\r
-   * (non-Javadoc)\r
-   * \r
-   * @see de.darkblue.lea.ifaces.ICaptureDevice#close()\r
-   */\r
-  @Override\r
-  public void close() {\r
-  }\r
-\r
-  /*\r
-   * (non-Javadoc)\r
-   * \r
-   * @see de.darkblue.lea.ifaces.ICaptureDevice#getFrameRate()\r
-   */\r
-  @Override\r
-  public int getFrameRate() {\r
-    return 15;\r
-  }\r
-\r
-  /*\r
-   * (non-Javadoc)\r
-   * \r
-   * @see de.darkblue.lea.ifaces.ICaptureDevice#getImage()\r
-   */\r
-  @Override\r
-  public BufferedImage getImage() {\r
-    BufferedImage image = new BufferedImage(640, 480, BufferedImage.TYPE_INT_RGB);\r
-    Graphics2D g2d = (Graphics2D) image.getGraphics();\r
-    g2d.setColor(new Color(255, 255, 255));\r
-    g2d.fillRect(0, 0, 639, 479);\r
-    return image;\r
-  }\r
+       public DummyCaptureDevice() {\r
+               // TODO Auto-generated constructor stub\r
+       }\r
+\r
+       /* (non-Javadoc)\r
+        * @see de.darkblue.lea.ifaces.ICaptureDevice#close()\r
+        */\r
+       @Override\r
+       public void close() {\r
+       }\r
+\r
+       /* (non-Javadoc)\r
+        * @see de.darkblue.lea.ifaces.ICaptureDevice#getFrameRate()\r
+        */\r
+       @Override\r
+       public int getFrameRate() {\r
+               return 15;\r
+       }\r
+\r
+       /* (non-Javadoc)\r
+        * @see de.darkblue.lea.ifaces.ICaptureDevice#getImage()\r
+        */\r
+       @Override\r
+       public BufferedImage getImage() {\r
+               BufferedImage image = new BufferedImage(640, 480, BufferedImage.TYPE_INT_RGB);\r
+               Graphics2D g2d = (Graphics2D)image.getGraphics();\r
+               g2d.setColor(new Color(255, 255, 255));\r
+               g2d.fillRect(0, 0, 639, 479);\r
+               return image;\r
+       }\r
 \r
 }\r