shithub: jbig2

ref: fa37e9a7b8c933da66c2850a22c10559f38c68bb
dir: /jbig2_huffman.h/

View raw version
typedef struct _Jbig2HuffmanState Jbig2HuffmanState;
typedef struct _Jbig2HuffmanTable Jbig2HuffmanTable;
typedef struct _Jbig2HuffmanParams Jbig2HuffmanParams;

Jbig2HuffmanState *
jbig2_huffman_new (Jbig2WordStream *ws);

int32
jbig2_huffman_get (Jbig2HuffmanState *hs,
		   const Jbig2HuffmanTable *table, bool *oob);

Jbig2HuffmanTable *
jbig2_build_huffman_table (const Jbig2HuffmanParams *params);