aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/dcadata.h
diff options
context:
space:
mode:
authorfoo86 <foobaz86@gmail.com>2016-01-07 17:15:22 +0300
committerHendrik Leppkes <h.leppkes@gmail.com>2016-01-31 17:09:38 +0100
commit9a0a3bbeaaf498061c357755443beab16b25c4f5 (patch)
tree98f90cd9c6dd2dcb3383643d096b5921eaa45d2b /libavcodec/dcadata.h
parent64f6d17b405b4b4f09071ea40acefbf0fa842b38 (diff)
downloadffmpeg-9a0a3bbeaaf498061c357755443beab16b25c4f5.tar.gz
avcodec/dca: add more tables
Diffstat (limited to 'libavcodec/dcadata.h')
-rw-r--r--libavcodec/dcadata.h24
1 files changed, 21 insertions, 3 deletions
diff --git a/libavcodec/dcadata.h b/libavcodec/dcadata.h
index 3d318fe6ec..d864251fe6 100644
--- a/libavcodec/dcadata.h
+++ b/libavcodec/dcadata.h
@@ -27,13 +27,21 @@ extern const uint32_t ff_dca_bit_rates[32];
extern const uint8_t ff_dca_channels[16];
-extern const uint8_t ff_dca_bits_per_sample[7];
+extern const uint8_t ff_dca_bits_per_sample[8];
+
+extern const uint8_t ff_dca_dmix_primary_nch[8];
extern const int16_t ff_dca_adpcm_vb[4096][4];
extern const uint32_t ff_dca_scale_factor_quant6[64];
extern const uint32_t ff_dca_scale_factor_quant7[128];
+extern const uint32_t ff_dca_joint_scale_factors[129];
+
+extern const uint32_t ff_dca_scale_factor_adj[4];
+
+extern const uint32_t ff_dca_quant_levels[32];
+
extern const uint32_t ff_dca_lossy_quant[32];
extern const uint32_t ff_dca_lossless_quant[32];
@@ -47,12 +55,22 @@ extern const float ff_dca_lfe_fir_64[256];
extern const float ff_dca_lfe_fir_128[256];
extern const float ff_dca_fir_64bands[1024];
-#define FF_DCA_DMIXTABLE_SIZE 242
-#define FF_DCA_INV_DMIXTABLE_SIZE 201
+extern const int32_t ff_dca_fir_32bands_perfect_fixed[512];
+extern const int32_t ff_dca_fir_32bands_nonperfect_fixed[512];
+extern const int32_t ff_dca_lfe_fir_64_fixed[256];
+extern const int32_t ff_dca_fir_64bands_fixed[1024];
+
+#define FF_DCA_DMIXTABLE_SIZE 242U
+#define FF_DCA_INV_DMIXTABLE_SIZE 201U
+#define FF_DCA_DMIXTABLE_OFFSET (FF_DCA_DMIXTABLE_SIZE - FF_DCA_INV_DMIXTABLE_SIZE)
extern const uint16_t ff_dca_dmixtable[FF_DCA_DMIXTABLE_SIZE];
extern const uint32_t ff_dca_inv_dmixtable[FF_DCA_INV_DMIXTABLE_SIZE];
+extern const uint16_t ff_dca_xll_refl_coeff[128];
+
+extern const int32_t ff_dca_xll_band_coeff[20];
+
extern const int32_t ff_dca_sampling_freqs[16];
extern const int8_t ff_dca_lfe_index[16];