aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/dcahuff.h
diff options
context:
space:
mode:
authorDaniil Cherednik <dan.cherednik@gmail.com>2017-01-07 15:18:32 +0300
committerRostislav Pehlivanov <atomnuker@gmail.com>2017-01-15 18:17:12 +0000
commitc2500d62c68a1e4c929cd5096f6617b56268d4e8 (patch)
tree85e45e6a869a9a263791388d5cab4e3aff320a6f /libavcodec/dcahuff.h
parenta6191d098a03f94685ae4c072bfdf10afcd86223 (diff)
downloadffmpeg-c2500d62c68a1e4c929cd5096f6617b56268d4e8.tar.gz
dcaenc: Implementation of Huffman codes for DCA encoder
Reviewed-by: Rostislav Pehlivanov <atomnuker@gmail.com>
Diffstat (limited to 'libavcodec/dcahuff.h')
-rw-r--r--libavcodec/dcahuff.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/libavcodec/dcahuff.h b/libavcodec/dcahuff.h
index b1d5735d57..c0176220aa 100644
--- a/libavcodec/dcahuff.h
+++ b/libavcodec/dcahuff.h
@@ -27,6 +27,7 @@
#include "avcodec.h"
#include "get_bits.h"
+#include "put_bits.h"
#define DCA_CODE_BOOKS 10
@@ -55,5 +56,7 @@ extern VLC ff_dca_vlc_grid_3;
extern VLC ff_dca_vlc_rsd;
av_cold void ff_dca_init_vlcs(void);
+uint32_t ff_dca_vlc_calc_quant_bits(int *values, uint8_t n, uint8_t sel, uint8_t abits);
+void ff_dca_vlc_enc_quant(PutBitContext *pb, int *values, uint8_t n, uint8_t sel, uint8_t abits);
#endif /* AVCODEC_DCAHUFF_H */