FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
dcadata.h
Go to the documentation of this file.
1 /*
2  * DCA compatible decoder data
3  *
4  * This file is part of FFmpeg.
5  *
6  * FFmpeg is free software; you can redistribute it and/or
7  * modify it under the terms of the GNU Lesser General Public
8  * License as published by the Free Software Foundation; either
9  * version 2.1 of the License, or (at your option) any later version.
10  *
11  * FFmpeg is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14  * Lesser General Public License for more details.
15  *
16  * You should have received a copy of the GNU Lesser General Public
17  * License along with FFmpeg; if not, write to the Free Software
18  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
19  */
20 
21 #ifndef AVCODEC_DCADATA_H
22 #define AVCODEC_DCADATA_H
23 
24 #include <stdint.h>
25 
26 extern const uint32_t ff_dca_bit_rates[32];
27 
28 extern const uint8_t ff_dca_channels[16];
29 
30 extern const uint8_t ff_dca_bits_per_sample[8];
31 
32 extern const uint8_t ff_dca_dmix_primary_nch[8];
33 
34 extern const int16_t ff_dca_adpcm_vb[4096][4];
35 
36 extern const uint32_t ff_dca_scale_factor_quant6[64];
37 extern const uint32_t ff_dca_scale_factor_quant7[128];
38 
39 extern const uint32_t ff_dca_joint_scale_factors[129];
40 
41 extern const uint32_t ff_dca_scale_factor_adj[4];
42 
43 extern const uint32_t ff_dca_quant_levels[32];
44 
45 extern const uint32_t ff_dca_lossy_quant[32];
46 
47 extern const uint32_t ff_dca_lossless_quant[32];
48 
49 extern const int8_t ff_dca_high_freq_vq[1024][32];
50 
51 extern const float ff_dca_fir_32bands_perfect[512];
52 extern const float ff_dca_fir_32bands_nonperfect[512];
53 
54 extern const float ff_dca_lfe_fir_64[256];
55 extern const float ff_dca_lfe_fir_128[256];
56 extern const float ff_dca_fir_64bands[1024];
57 
60 extern const int32_t ff_dca_lfe_fir_64_fixed[256];
61 extern const int32_t ff_dca_fir_64bands_fixed[1024];
62 
63 #define FF_DCA_DMIXTABLE_SIZE 242U
64 #define FF_DCA_INV_DMIXTABLE_SIZE 201U
65 #define FF_DCA_DMIXTABLE_OFFSET (FF_DCA_DMIXTABLE_SIZE - FF_DCA_INV_DMIXTABLE_SIZE)
66 
67 extern const uint16_t ff_dca_dmixtable[FF_DCA_DMIXTABLE_SIZE];
68 extern const uint32_t ff_dca_inv_dmixtable[FF_DCA_INV_DMIXTABLE_SIZE];
69 
70 extern const uint16_t ff_dca_xll_refl_coeff[128];
71 
72 extern const int32_t ff_dca_xll_band_coeff[20];
73 
74 extern const int32_t ff_dca_sampling_freqs[16];
75 
76 extern const int8_t ff_dca_lfe_index[16];
77 
78 extern const int8_t ff_dca_channel_reorder_lfe[16][9];
79 extern const int8_t ff_dca_channel_reorder_nolfe[16][9];
80 
81 extern const uint16_t ff_dca_vlc_offs[63];
82 
83 #endif /* AVCODEC_DCADATA_H */
const float ff_dca_fir_32bands_perfect[512]
Definition: dcadata.c:6289
const float ff_dca_fir_64bands[1024]
Definition: dcadata.c:7546
const uint32_t ff_dca_scale_factor_quant7[128]
Definition: dcadata.c:4168
const uint8_t ff_dca_channels[16]
Definition: dcadata.c:41
const uint32_t ff_dca_lossy_quant[32]
Definition: dcadata.c:4219
const uint16_t ff_dca_vlc_offs[63]
Definition: dcadata.c:8775
const uint32_t ff_dca_joint_scale_factors[129]
Definition: dcadata.c:4187
const uint32_t ff_dca_scale_factor_quant6[64]
Definition: dcadata.c:4157
const uint16_t ff_dca_xll_refl_coeff[128]
Definition: dcadata.c:8701
const int32_t ff_dca_fir_64bands_fixed[1024]
Definition: dcadata.c:8367
uint8_t
const int8_t ff_dca_channel_reorder_nolfe[16][9]
Definition: dcadata.c:8756
const uint16_t ff_dca_dmixtable[FF_DCA_DMIXTABLE_SIZE]
Definition: dcadata.c:8638
const uint32_t ff_dca_inv_dmixtable[FF_DCA_INV_DMIXTABLE_SIZE]
Definition: dcadata.c:8672
const uint32_t ff_dca_bit_rates[32]
Definition: dcadata.c:32
const uint32_t ff_dca_quant_levels[32]
Definition: dcadata.c:4211
const int8_t ff_dca_high_freq_vq[1024][32]
Definition: dcadata.c:4236
const int32_t ff_dca_sampling_freqs[16]
Definition: dcadata.c:8728
const int8_t ff_dca_lfe_index[16]
Definition: dcadata.c:8733
const int16_t ff_dca_adpcm_vb[4096][4]
Definition: dcadata.c:56
int32_t
const int32_t ff_dca_xll_band_coeff[20]
Definition: dcadata.c:8720
const uint8_t ff_dca_dmix_primary_nch[8]
Definition: dcadata.c:49
const int8_t ff_dca_channel_reorder_lfe[16][9]
Definition: dcadata.c:8737
const uint8_t ff_dca_bits_per_sample[8]
Definition: dcadata.c:45
const int32_t ff_dca_fir_32bands_nonperfect_fixed[512]
Definition: dcadata.c:8201
const uint32_t ff_dca_scale_factor_adj[4]
Definition: dcadata.c:4207
#define FF_DCA_INV_DMIXTABLE_SIZE
Definition: dcadata.h:64
const float ff_dca_fir_32bands_nonperfect[512]
Definition: dcadata.c:6804
#define FF_DCA_DMIXTABLE_SIZE
Definition: dcadata.h:63
const float ff_dca_lfe_fir_128[256]
Definition: dcadata.c:7478
const int32_t ff_dca_fir_32bands_perfect_fixed[512]
Definition: dcadata.c:8070
const uint32_t ff_dca_lossless_quant[32]
Definition: dcadata.c:4227
const float ff_dca_lfe_fir_64[256]
Definition: dcadata.c:7335
const int32_t ff_dca_lfe_fir_64_fixed[256]
Definition: dcadata.c:8332