summaryrefslogtreecommitdiff
path: root/libavcodec/huffman.h
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2012-08-27 16:00:47 +0200
committerLuca Barbato <lu_zero@gentoo.org>2012-08-28 17:43:25 +0200
commit5a582bd3b500918432996317b704071f462578ca (patch)
tree92e96224e35f662c16e4cca9475ec43195e9459c /libavcodec/huffman.h
parent998f92d680554cbefb4d34c7b3a0a791f94e8f00 (diff)
huffman: add ff_huff_gen_len_table
The function will be used by utvideo as well. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
Diffstat (limited to 'libavcodec/huffman.h')
-rw-r--r--libavcodec/huffman.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/huffman.h b/libavcodec/huffman.h
index 5625313ac7..881c30db47 100644
--- a/libavcodec/huffman.h
+++ b/libavcodec/huffman.h
@@ -42,4 +42,6 @@ typedef int (*HuffCmp)(const void *va, const void *vb);
int ff_huff_build_tree(AVCodecContext *avctx, VLC *vlc, int nb_codes,
Node *nodes, HuffCmp cmp, int flags);
+void ff_huff_gen_len_table(uint8_t *dst, const uint64_t *stats);
+
#endif /* AVCODEC_HUFFMAN_H */