about summary refs log tree commit diff
path: root/converter/other/cameratopam/decode.h
blob: b0addc82d53b993675e4781ef9861e1bd6493dd8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
struct decode {
  struct decode *branch[2];
  int leaf;
}; 

extern struct decode * free_decode;
extern struct decode first_decode[2048];
extern struct decode * second_decode;

void 
init_decoder(void);

void 
crw_init_tables(unsigned int const table);

const int * 
make_decoder_int (const int * const source, 
                  int         const level);

unsigned char * 
make_decoder(const unsigned char * const source, 
             int                   const level);