2014-02-10 01:10:30 +00:00
|
|
|
#if !defined(_huffenc_H)
|
|
|
|
# define _huffenc_H (1)
|
|
|
|
# include "huffman.h"
|
2022-09-28 00:18:11 +00:00
|
|
|
# include "bitpack.h"
|
2014-02-10 01:10:30 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
typedef th_huff_code th_huff_table[TH_NDCT_TOKENS];
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
extern const th_huff_code
|
|
|
|
TH_VP31_HUFF_CODES[TH_NHUFFMAN_TABLES][TH_NDCT_TOKENS];
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
int oc_huff_codes_pack(oggpack_buffer *_opb,
|
|
|
|
const th_huff_code _codes[TH_NHUFFMAN_TABLES][TH_NDCT_TOKENS]);
|
2022-09-28 00:18:11 +00:00
|
|
|
int oc_huff_codes_unpack(oc_pack_buf *_opb,
|
|
|
|
th_huff_code _codes[TH_NHUFFMAN_TABLES][TH_NDCT_TOKENS]);
|
2014-02-10 01:10:30 +00:00
|
|
|
|
|
|
|
#endif
|