From 3f943fe6815b493741ff65f6c25ca856c38cdafc Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Wed, 22 Aug 2012 03:57:45 +0200 Subject: huffman/huffyuv: move lorens huffman table generation code to huffman.c/h Reviewed-by: Derek Buitenhuis Signed-off-by: Michael Niedermayer --- 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 5e0787a5e8..956ac1fbce 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_generate_len_table(uint8_t *dst, const uint64_t *stats); + #endif /* AVCODEC_HUFFMAN_H */ -- cgit v1.2.3