summaryrefslogtreecommitdiff
path: root/thirdparty/libtheora/huffenc.h
blob: 0554cc4060fd8c33229fd1f2dffbc4c89d33401d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#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