
BaseJpegDeocde exampe program
Dependencies: BaseJpegDecode Terminal BaseUsbHost mbed mbed-rtos
Fork of BaseJpegDecode by
Diff: HuffmanDecode.h
- Revision:
- 2:697ebeb8336f
- Parent:
- 1:58dfd5386a92
- Child:
- 3:2709bbf8baae
--- a/HuffmanDecode.h Mon Oct 08 11:38:57 2012 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,19 +0,0 @@ -#ifndef HUFFMAN_DECODE_H -#define HUFFMAN_DECODE_H -#include "BitPattern.h" - -typedef struct sthuff { - int8_t run; - int8_t value_size; - int8_t code_size; - uint16_t code; -} Huff; - -class HuffmanDecode { -public: - Huff* Lookup(int tc, int th, BitPattern* bitpat); - Huff* Lookup2(int tc, int th, BitPattern* bitpat); - int getValue(Huff* huff, BitPattern* bitpat); -}; - -#endif // HUFFMAN_DECODE_H \ No newline at end of file