2014-02-10 09:10:30 +08:00
|
|
|
#if !defined(_huffenc_H)
|
|
|
|
# define _huffenc_H (1)
|
|
|
|
# include "huffman.h"
|
2022-09-28 08:18:11 +08:00
|
|
|
# include "bitpack.h"
|
2014-02-10 09:10:30 +08: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 08:18:11 +08:00
|
|
|
int oc_huff_codes_unpack(oc_pack_buf *_opb,
|
|
|
|
th_huff_code _codes[TH_NHUFFMAN_TABLES][TH_NDCT_TOKENS]);
|
2014-02-10 09:10:30 +08:00
|
|
|
|
|
|
|
#endif
|