about summary refs log tree commit diff
path: root/converter/other/cameratopam/decode.h
blob: e79a6989c31f1ce993d104d898f66f7779f746fc (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);