huffmancode to decode in real-time for motion-jpeg

Dependents:   BaseJpegDecode_example SimpleJpegDecode_example Dumb_box_rev2

example code:

Import programBaseJpegDecode_example

BaseJpegDeocde exampe program

Import programSimpleJpegDecode_example

convert JPEG stream data to bitmap, BaseJpegDecode example program

Revision:
5:85e99ec2e7b5
Parent:
3:a7547692071d
--- a/BaseJpegDecode.h	Wed Dec 05 12:38:56 2012 +0000
+++ b/BaseJpegDecode.h	Sun Jan 27 11:00:50 2013 +0000
@@ -1,3 +1,4 @@
+// BaseJpegDecode.h 2013/1/27
 #ifndef BASE_JPEG_DECODE_H
 #define BASE_JPEG_DECODE_H
 #include "bjd_config.h"
@@ -27,8 +28,7 @@
     void inputSOF(uint8_t c, int pos, int len);
     void inputScan(uint8_t c);
     void restart();
-protected:
-    int m_seq;
+    uint8_t m_seq;
     int m_mcu;
     int m_block;
     int m_scan;