0.2.0-dev Download ZIP
22 lines ·475 B Raw
| 1 | #if !defined(_huffenc_H) |
| 2 | # define _huffenc_H (1) |
| 3 | # include "huffman.h" |
| 4 | # include "bitpack.h" |
| 5 | |
| 6 | |
| 7 | |
| 8 | typedef th_huff_code th_huff_table[TH_NDCT_TOKENS]; |
| 9 | |
| 10 | |
| 11 | |
| 12 | extern const th_huff_code |
| 13 | TH_VP31_HUFF_CODES[TH_NHUFFMAN_TABLES][TH_NDCT_TOKENS]; |
| 14 | |
| 15 | |
| 16 | |
| 17 | int oc_huff_codes_pack(oggpack_buffer *_opb, |
| 18 | const th_huff_code _codes[TH_NHUFFMAN_TABLES][TH_NDCT_TOKENS]); |
| 19 | int oc_huff_codes_unpack(oc_pack_buf *_opb, |
| 20 | th_huff_code _codes[TH_NHUFFMAN_TABLES][TH_NDCT_TOKENS]); |
| 21 | |
| 22 | #endif |