shithub: jbig2

ref: 9cd558cd34c857cb3fc15167a754d1619ecc57d3
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);