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:
2:5b1dd4e34857
Parent:
1:bfbc18000cca
Child:
3:a7547692071d
--- a/BaseJpegDecode.h	Thu Oct 25 11:00:05 2012 +0000
+++ b/BaseJpegDecode.h	Tue Oct 30 13:22:08 2012 +0000
@@ -33,7 +33,7 @@
     int m_block;
     int m_scan;
     Huff* m_huff;
-    int m_old_DC_value[2];
+    int m_pre_DC_value[3];
     BitPattern m_bitpat;
     uint8_t m_mark;
     HuffmanDecode* pHD;