From 5a582bd3b500918432996317b704071f462578ca Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Mon, 27 Aug 2012 16:00:47 +0200 Subject: huffman: add ff_huff_gen_len_table The function will be used by utvideo as well. Signed-off-by: Luca Barbato --- libavcodec/huffman.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libavcodec/huffman.h') 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 */ -- cgit v1.2.3