test

Dependencies:   Nanopb iSerial mbed BaseJpegDecode FatFileSystem SDFileSystem RingBuffer Camera_LS_Y201

extlib/BaseJpegDecode/HuffmanDecode.h

Committer:
cgraham
Date:
2014-09-18
Revision:
0:d69efd0ee139

File content as of revision 0:d69efd0ee139:

#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);
    int getValue(Huff* huff, BitPattern* bitpat);
};

#endif // HUFFMAN_DECODE_H