diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2012-08-22 03:57:45 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-08-22 16:52:07 +0200 |
commit | 3f943fe6815b493741ff65f6c25ca856c38cdafc (patch) | |
tree | 9ba7524625f8a7e4421ee47da9fac192a552a381 /libavcodec/huffman.h | |
parent | 4fced11df73fb1921f60660b5b0f319bb4e723ec (diff) | |
download | ffmpeg-3f943fe6815b493741ff65f6c25ca856c38cdafc.tar.gz |
huffman/huffyuv: move lorens huffman table generation code to huffman.c/h
Reviewed-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/huffman.h')
-rw-r--r-- | libavcodec/huffman.h | 2 |
1 files changed, 2 insertions, 0 deletions
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 */ |