array size

Fork of JPEGCamera by Hiroshi Yamaguchi

Revision:
2:609037d25e10
Parent:
1:27417b6a951d
--- a/JPEGCamera.h	Thu Nov 17 13:59:40 2011 +0000
+++ b/JPEGCamera.h	Sat Aug 22 10:12:47 2015 +0000
@@ -67,7 +67,7 @@
      * @returns true if no error in processing, false otherwise
      */
     bool processPicture();
-
+    bool processPicture_ref();
     /**
      * Perform reset oepration (it takes 4 seconds)
      *
@@ -106,10 +106,13 @@
      * @returns the size of the data read
      */
     int readData(char *dataBuf, int size, int address);
-
+    
+    //return the current value of imageSize
+    int getSizeOfimage(void);
 //private:
     Timer timer;
-    FILE *fp;
+    FILE *fp, *ir;
+    int def;
     int imageSize;
     int address;
     enum State {UNKNOWN, READY, PROCESSING, ERROR = -1} state;