virtualx-engine/thirdparty/libtheora/huffenc.h
2022-10-18 21:15:13 -03:00

22 lines
475 B
C++

#if !defined(_huffenc_H)
# define _huffenc_H (1)
# include "huffman.h"
# include "bitpack.h"
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]);
int oc_huff_codes_unpack(oc_pack_buf *_opb,
th_huff_code _codes[TH_NHUFFMAN_TABLES][TH_NDCT_TOKENS]);
#endif