Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
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 21:17:12 +0300
commitc2500d62c68a1e4c929cd5096f6617b56268d4e8 (patch)
tree85e45e6a869a9a263791388d5cab4e3aff320a6f /libavcodec/dcadata.c
parenta6191d098a03f94685ae4c072bfdf10afcd86223 (diff)
dcaenc: Implementation of Huffman codes for DCA encoder
Reviewed-by: Rostislav Pehlivanov <atomnuker@gmail.com>
Diffstat (limited to 'libavcodec/dcadata.c')
-rw-r--r--libavcodec/dcadata.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/libavcodec/dcadata.c b/libavcodec/dcadata.c
index b2e0f6cfb1..193247b18b 100644
--- a/libavcodec/dcadata.c
+++ b/libavcodec/dcadata.c
@@ -50,6 +50,14 @@ const uint8_t ff_dca_dmix_primary_nch[8] = {
1, 2, 2, 3, 3, 4, 4, 0
};
+const uint8_t ff_dca_quant_index_sel_nbits[DCA_CODE_BOOKS] = {
+ 1, 2, 2, 2, 2, 3, 3, 3, 3, 3
+};
+
+const uint8_t ff_dca_quant_index_group_size[DCA_CODE_BOOKS] = {
+ 1, 3, 3, 3, 3, 7, 7, 7, 7, 7
+};
+
/* ADPCM data */
/* 16 bits signed fractional Q13 binary codes */