summaryrefslogtreecommitdiff
path: root/ffmpeg/libavcodec/huffman.h
diff options
context:
space:
mode:
authorTim Redfern <tim@eclectronics.org>2013-12-29 12:19:38 +0000
committerTim Redfern <tim@eclectronics.org>2013-12-29 12:19:38 +0000
commitf7813a5324be39d13ab536c245d15dfc602a7849 (patch)
treefad99148b88823d34a5df2f0a25881a002eb291b /ffmpeg/libavcodec/huffman.h
parentb7a5a477b8ff4d4e3028b9dfb9a9df0a41463f92 (diff)
basic type mechanism working
Diffstat (limited to 'ffmpeg/libavcodec/huffman.h')
-rw-r--r--ffmpeg/libavcodec/huffman.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/ffmpeg/libavcodec/huffman.h b/ffmpeg/libavcodec/huffman.h
index 4f9ccba..cec9537 100644
--- a/ffmpeg/libavcodec/huffman.h
+++ b/ffmpeg/libavcodec/huffman.h
@@ -37,9 +37,10 @@ typedef struct Node {
#define FF_HUFFMAN_FLAG_HNODE_FIRST 0x01
#define FF_HUFFMAN_FLAG_ZERO_COUNT 0x02
+#define FF_HUFFMAN_BITS 10
typedef int (*HuffCmp)(const void *va, const void *vb);
-int ff_huff_build_tree(AVCodecContext *avctx, VLC *vlc, int nb_codes,
+int ff_huff_build_tree(AVCodecContext *avctx, VLC *vlc, int nb_codes, int nb_bits,
Node *nodes, HuffCmp cmp, int flags);
void ff_huff_gen_len_table(uint8_t *dst, const uint64_t *stats);