]> wimlib.net Git - wimlib/blob - include/wimlib/compress_common.h
Split prefetch() into prefetchr() and prefetchw()
[wimlib] / include / wimlib / compress_common.h
1 /*
2  * compress_common.h
3  *
4  * Header for compression code shared by multiple compression formats.
5  */
6
7 #ifndef _WIMLIB_COMPRESS_COMMON_H
8 #define _WIMLIB_COMPRESS_COMMON_H
9
10 #include "wimlib/types.h"
11
12 extern void
13 make_canonical_huffman_code(unsigned num_syms,
14                             unsigned max_codeword_len,
15                             const u32 freq_tab[restrict],
16                             u8 lens[restrict],
17                             u32 codewords[restrict]);
18
19 #endif /* _WIMLIB_COMPRESS_COMMON_H */