FFmpeg
Macros | Variables
dcadata.c File Reference
#include <stdint.h>
#include "libavutil/mem_internal.h"
#include "dca.h"
#include "dcadata.h"

Go to the source code of this file.

Macros

#define SCALE(c)   ((c) / (256.0f * 32768.0f))
 

Variables

const uint32_t ff_dca_bit_rates [32]
 
const uint8_t ff_dca_channels [16]
 
const uint8_t ff_dca_dmix_primary_nch [8]
 
const uint8_t ff_dca_quant_index_sel_nbits [DCA_CODE_BOOKS]
 
const uint8_t ff_dca_quant_index_group_size [DCA_CODE_BOOKS]
 
const int16_t ff_dca_adpcm_vb [DCA_ADPCM_VQCODEBOOK_SZ][DCA_ADPCM_COEFFS]
 
const uint32_t ff_dca_scale_factor_quant6 [64]
 
const uint32_t ff_dca_scale_factor_quant7 [128]
 
const uint32_t ff_dca_joint_scale_factors [129]
 
const uint32_t ff_dca_scale_factor_adj [4]
 
const uint32_t ff_dca_quant_levels [32]
 
const uint32_t ff_dca_lossy_quant [32]
 
const uint32_t ff_dca_lossless_quant [32]
 
const int8_t ff_dca_high_freq_vq [1024][32]
 
const float ff_dca_fir_32bands_perfect [512]
 
const float ff_dca_fir_32bands_nonperfect [512]
 
const float ff_dca_lfe_fir_64 [256]
 
const float ff_dca_lfe_fir_128 [256]
 
const float ff_dca_fir_64bands [1024]
 
const int32_t ff_dca_fir_32bands_perfect_fixed [512]
 
const int32_t ff_dca_fir_32bands_nonperfect_fixed [512]
 
const int32_t ff_dca_lfe_fir_64_fixed [256]
 
const int32_t ff_dca_fir_64bands_fixed [1024]
 
const uint16_t ff_dca_dmixtable [FF_DCA_DMIXTABLE_SIZE]
 
const uint32_t ff_dca_inv_dmixtable [FF_DCA_INV_DMIXTABLE_SIZE]
 
const uint16_t ff_dca_xll_refl_coeff [128]
 
const int32_t ff_dca_xll_band_coeff [20]
 
const uint16_t ff_dca_avg_g3_freqs [3] = { 16000, 18000, 24000 }
 
const uint16_t ff_dca_fst_amp [44]
 
const uint8_t ff_dca_freq_to_sb [32]
 
const int8_t ff_dca_ph0_shift [8]
 
const uint8_t ff_dca_grid_1_to_scf [11]
 
const uint8_t ff_dca_grid_2_to_scf [3]
 
const uint8_t ff_dca_scf_to_grid_1 [32]
 
const uint8_t ff_dca_scf_to_grid_2 [32]
 
const uint8_t ff_dca_grid_1_weights [12][32]
 
const uint8_t ff_dca_sb_reorder [8][8]
 
const int8_t ff_dca_lfe_delta_index_16 [8]
 
const int8_t ff_dca_lfe_delta_index_24 [32]
 
const uint16_t ff_dca_rsd_pack_5_in_8 [256]
 
const uint8_t ff_dca_rsd_pack_3_in_7 [128][3]
 
const float ff_dca_rsd_level_2a [2]
 
const float ff_dca_rsd_level_2b [2]
 
const float ff_dca_rsd_level_3 [3]
 
const float ff_dca_rsd_level_5 [5]
 
const float ff_dca_rsd_level_8 [8]
 
const float ff_dca_rsd_level_16 [16]
 
const float ff_dca_synth_env [32]
 
const float ff_dca_corr_cf [32][11]
 
const float ff_dca_quant_amp [57]
 
const float ff_dca_st_coeff [34]
 
const float ff_dca_long_window [128]
 
const float ff_dca_lfe_step_size_16 [101]
 
const float ff_dca_lfe_step_size_24 [144]
 
const float ff_dca_bank_coeff [10]
 
const float ff_dca_lfe_iir [5][4]
 

Macro Definition Documentation

◆ SCALE

#define SCALE (   c)    ((c) / (256.0f * 32768.0f))

Definition at line 7338 of file dcadata.c.

Variable Documentation

◆ ff_dca_bit_rates

const uint32_t ff_dca_bit_rates[32]
Initial value:
= {
32000, 56000, 64000, 96000, 112000, 128000,
192000, 224000, 256000, 320000, 384000,
448000, 512000, 576000, 640000, 768000,
896000, 1024000, 1152000, 1280000, 1344000,
1408000, 1411200, 1472000, 1536000, 1920000,
2048000, 3072000, 3840000, 1 , 2 , 3
}

Definition at line 32 of file dcadata.c.

Referenced by encode_init(), and parse_frame_header().

◆ ff_dca_channels

const uint8_t ff_dca_channels[16]
Initial value:
= {
1, 2, 2, 2, 2, 3, 3, 4, 4, 5, 6, 6, 6, 7, 8, 8
}

Definition at line 41 of file dcadata.c.

Referenced by ff_dca_core_parse_exss(), filter_frame_fixed(), filter_frame_float(), map_prm_ch_to_spkr(), parse_aux_data(), and parse_coding_header().

◆ ff_dca_dmix_primary_nch

const uint8_t ff_dca_dmix_primary_nch[8]
Initial value:
= {
1, 2, 2, 3, 3, 4, 4, 0
}

Definition at line 45 of file dcadata.c.

Referenced by parse_aux_data(), and parse_dmix_coeffs().

◆ ff_dca_quant_index_sel_nbits

const uint8_t ff_dca_quant_index_sel_nbits[DCA_CODE_BOOKS]
Initial value:
= {
1, 2, 2, 2, 2, 3, 3, 3, 3, 3
}

Definition at line 49 of file dcadata.c.

Referenced by parse_coding_header(), parse_x96_coding_header(), and put_primary_audio_header().

◆ ff_dca_quant_index_group_size

const uint8_t ff_dca_quant_index_group_size[DCA_CODE_BOOKS]

◆ ff_dca_adpcm_vb

const int16_t ff_dca_adpcm_vb[DCA_ADPCM_VQCODEBOOK_SZ][DCA_ADPCM_COEFFS]

Definition at line 60 of file dcadata.c.

Referenced by ff_dcaadpcm_predict(), find_best_filter(), and precalc().

◆ ff_dca_scale_factor_quant6

const uint32_t ff_dca_scale_factor_quant6[64]
Initial value:
= {
1, 2, 2, 3, 3, 4, 6, 7,
10, 12, 16, 20, 26, 34, 44, 56,
72, 93, 120, 155, 200, 257, 331, 427,
550, 708, 912, 1175, 1514, 1950, 2512, 3236,
4169, 5370, 6918, 8913, 11482, 14791, 19055, 24547,
31623, 40738, 52481, 67608, 87096, 112202, 144544, 186209,
239883, 309030, 398107, 512861, 660693, 851138, 1096478, 1412538,
1819701, 2344229, 3019952, 3890451, 5011872, 6456542, 8317638, 0
}

Definition at line 4161 of file dcadata.c.

Referenced by parse_scale(), and parse_xbr_subframe().

◆ ff_dca_scale_factor_quant7

const uint32_t ff_dca_scale_factor_quant7[128]
Initial value:
= {
1, 1, 2, 2, 2, 2, 3, 3,
3, 4, 4, 5, 6, 7, 7, 8,
10, 11, 12, 14, 16, 18, 20, 23,
26, 30, 34, 38, 44, 50, 56, 64,
72, 82, 93, 106, 120, 136, 155, 176,
200, 226, 257, 292, 331, 376, 427, 484,
550, 624, 708, 804, 912, 1035, 1175, 1334,
1514, 1718, 1950, 2213, 2512, 2851, 3236, 3673,
4169, 4732, 5370, 6095, 6918, 7852, 8913, 10116,
11482, 13032, 14791, 16788, 19055, 21627, 24547, 27861,
31623, 35892, 40738, 46238, 52481, 59566, 67608, 76736,
87096, 98855, 112202, 127350, 144544, 164059, 186209, 211349,
239883, 272270, 309030, 350752, 398107, 451856, 512861, 582103,
660693, 749894, 851138, 966051, 1096478, 1244515, 1412538, 1603245,
1819701, 2065380, 2344229, 2660725, 3019952, 3427678, 3890451, 4415704,
5011872, 5688529, 6456542, 7328245, 8317638, 0, 0, 0
}

Definition at line 4172 of file dcadata.c.

Referenced by fill_in_adpcm_bufer(), parse_scale(), parse_subframe_audio(), parse_xbr_subframe(), and quantize_adpcm_subband().

◆ ff_dca_joint_scale_factors

const uint32_t ff_dca_joint_scale_factors[129]
Initial value:
= {
3288, 3490, 3691, 3909, 4144, 4387, 4647, 4924,
5218, 5528, 5855, 6199, 6568, 6963, 7374, 7810,
8271, 8758, 9278, 9831, 10410, 11031, 11685, 12373,
13103, 13883, 14705, 15578, 16500, 17482, 18514, 19613,
20770, 22003, 23312, 24688, 26156, 27699, 29343, 31080,
32925, 34871, 36943, 39133, 41448, 43906, 46506, 49258,
52177, 55273, 58544, 62017, 65691, 69584, 73711, 78073,
82703, 87602, 92795, 98289, 104111, 110285, 116820, 123740,
131072, 138840, 147069, 155776, 165012, 174785, 185145, 196117,
207735, 220042, 233086, 246894, 261523, 277017, 293434, 310823,
329236, 348748, 369409, 391303, 414490, 439043, 465064, 492621,
521805, 552725, 585475, 620170, 656920, 695843, 737073, 780745,
827008, 876014, 927923, 982902, 1041144, 1102834, 1168181, 1237404,
1310720, 1388382, 1470649, 1557790, 1650098, 1747876, 1851441, 1961147,
2077355, 2200441, 2330825, 2468935, 2615232, 2770195, 2934335, 3108206,
3292378, 3487463, 3694108, 3913000, 4144862, 4390455, 4650611, 4926176,
5218066
}

Definition at line 4191 of file dcadata.c.

Referenced by parse_joint_scale().

◆ ff_dca_scale_factor_adj

const uint32_t ff_dca_scale_factor_adj[4]
Initial value:
= {
4194304, 4718592, 5242880, 6029312
}

Definition at line 4211 of file dcadata.c.

Referenced by parse_coding_header().

◆ ff_dca_quant_levels

const uint32_t ff_dca_quant_levels[32]
Initial value:
= {
1, 3, 5, 7, 9, 13, 17, 25,
32, 64, 128, 256, 512, 1024, 2048, 4096,
8192, 16384, 32768, 65536, 131072, 262144, 524288, 1048576,
2097152, 4194304, 8388608, 0, 0, 0, 0, 0
}

Definition at line 4215 of file dcadata.c.

Referenced by calc_one_scale(), parse_block_codes(), and put_subframe_samples().

◆ ff_dca_lossy_quant

const uint32_t ff_dca_lossy_quant[32]
Initial value:
= {
0, 6710886, 4194304, 3355443, 2474639, 2097152, 1761608, 1426063,
796918, 461373, 251658, 146801, 79692, 46137, 27263, 16777,
10486, 5872, 3355, 1887, 1258, 713, 336, 168,
84, 42, 21, 0, 0, 0, 0, 0
}

Definition at line 4223 of file dcadata.c.

Referenced by get_step_size(), parse_subframe_audio(), and parse_x96_subframe_audio().

◆ ff_dca_lossless_quant

const uint32_t ff_dca_lossless_quant[32]
Initial value:
= {
0, 4194304, 2097152, 1384120, 1048576, 696254, 524288, 348127,
262144, 131072, 65431, 33026, 16450, 8208, 4100, 2049,
1024, 512, 256, 128, 64, 32, 16, 8,
4, 2, 1, 0, 0, 0, 0, 0
}

Definition at line 4231 of file dcadata.c.

Referenced by get_step_size(), parse_subframe_audio(), parse_x96_subframe_audio(), and parse_xbr_subframe().

◆ ff_dca_high_freq_vq

const int8_t ff_dca_high_freq_vq[1024][32]

Definition at line 4240 of file dcadata.c.

Referenced by parse_subframe_audio(), and parse_x96_subframe_audio().

◆ ff_dca_fir_32bands_perfect

const float ff_dca_fir_32bands_perfect[512]

Definition at line 6293 of file dcadata.c.

Referenced by checkasm_check_synth_filter(), encode_init(), and filter_frame_float().

◆ ff_dca_fir_32bands_nonperfect

const float ff_dca_fir_32bands_nonperfect[512]

Definition at line 6808 of file dcadata.c.

Referenced by checkasm_check_synth_filter(), encode_init(), and filter_frame_float().

◆ ff_dca_lfe_fir_64

const float ff_dca_lfe_fir_64[256]

Definition at line 7339 of file dcadata.c.

Referenced by encode_init(), and filter_frame_float().

◆ ff_dca_lfe_fir_128

const float ff_dca_lfe_fir_128[256]

Definition at line 7482 of file dcadata.c.

Referenced by filter_frame_float().

◆ ff_dca_fir_64bands

const float ff_dca_fir_64bands[1024]

Definition at line 7550 of file dcadata.c.

Referenced by filter_frame_float().

◆ ff_dca_fir_32bands_perfect_fixed

const int32_t ff_dca_fir_32bands_perfect_fixed[512]

Definition at line 8074 of file dcadata.c.

Referenced by ff_dca_core_filter_fixed().

◆ ff_dca_fir_32bands_nonperfect_fixed

const int32_t ff_dca_fir_32bands_nonperfect_fixed[512]

Definition at line 8205 of file dcadata.c.

Referenced by ff_dca_core_filter_fixed().

◆ ff_dca_lfe_fir_64_fixed

const int32_t ff_dca_lfe_fir_64_fixed[256]

Definition at line 8336 of file dcadata.c.

Referenced by ff_dca_core_filter_fixed().

◆ ff_dca_fir_64bands_fixed

const int32_t ff_dca_fir_64bands_fixed[1024]

Definition at line 8371 of file dcadata.c.

Referenced by ff_dca_core_filter_fixed().

◆ ff_dca_dmixtable

const uint16_t ff_dca_dmixtable[FF_DCA_DMIXTABLE_SIZE]

Definition at line 8642 of file dcadata.c.

Referenced by parse_aux_data(), parse_coding_header(), and parse_dmix_coeffs().

◆ ff_dca_inv_dmixtable

const uint32_t ff_dca_inv_dmixtable[FF_DCA_INV_DMIXTABLE_SIZE]
Initial value:
= {
6553600, 6186997, 5840902, 5514167, 5205710, 4914507, 4639593, 4380059,
4135042, 3903731, 3685360, 3479204, 3284581, 3100844, 2927386, 2763630,
2609035, 2463088, 2325305, 2195230, 2072430, 2013631, 1956500, 1900990,
1847055, 1794651, 1743733, 1694260, 1646190, 1599484, 1554103, 1510010,
1467168, 1425542, 1385096, 1345798, 1307615, 1270515, 1234468, 1199444,
1165413, 1132348, 1100221, 1069005, 1038676, 1009206, 980573, 952752,
925721, 899456, 873937, 849141, 825049, 801641, 778897, 756798,
735326, 714463, 694193, 674497, 655360, 636766, 618700, 601146,
584090, 567518, 551417, 535772, 520571, 505801, 491451, 477507,
463959, 450796, 438006, 425579, 413504, 401772, 390373, 379297,
368536, 363270, 358080, 352964, 347920, 342949, 338049, 333219,
328458, 323765, 319139, 314579, 310084, 305654, 301287, 296982,
292739, 288556, 284433, 280369, 276363, 272414, 268522, 264685,
260904, 257176, 253501, 249879, 246309, 242790, 239321, 235901,
232531, 229208, 225933, 222705, 219523, 216386, 213295, 210247,
207243, 204282, 201363, 198486, 195650, 192855, 190099, 187383,
184706, 182066, 179465, 176901, 174373, 171882, 169426, 167005,
164619, 162267, 159948, 157663, 155410, 153190, 151001, 148844,
146717, 144621, 142554, 140517, 138510, 136531, 134580, 132657,
130762, 128893, 127052, 125236, 123447, 121683, 119944, 118231,
116541, 114876, 113235, 111617, 110022, 108450, 106901, 105373,
103868, 102383, 100921, 99479, 98057, 96656, 95275, 93914,
92682, 91249, 89946, 88660, 87394, 86145, 84914, 83701,
82505, 81326, 80164, 79019, 77890, 76777, 75680, 74598,
73533, 72482, 71446, 70425, 69419, 68427, 67450, 66486,
65536,
}

Definition at line 8676 of file dcadata.c.

Referenced by parse_coding_header(), and parse_dmix_coeffs().

◆ ff_dca_xll_refl_coeff

const uint16_t ff_dca_xll_refl_coeff[128]
Initial value:
= {
0, 3070, 5110, 7140, 9156, 11154, 13132, 15085,
17010, 18904, 20764, 22588, 24373, 26117, 27818, 29474,
31085, 32648, 34164, 35631, 37049, 38418, 39738, 41008,
42230, 43404, 44530, 45609, 46642, 47630, 48575, 49477,
50337, 51157, 51937, 52681, 53387, 54059, 54697, 55302,
55876, 56421, 56937, 57426, 57888, 58326, 58741, 59132,
59502, 59852, 60182, 60494, 60789, 61066, 61328, 61576,
61809, 62029, 62236, 62431, 62615, 62788, 62951, 63105,
63250, 63386, 63514, 63635, 63749, 63855, 63956, 64051,
64140, 64224, 64302, 64376, 64446, 64512, 64573, 64631,
64686, 64737, 64785, 64830, 64873, 64913, 64950, 64986,
65019, 65050, 65079, 65107, 65133, 65157, 65180, 65202,
65222, 65241, 65259, 65275, 65291, 65306, 65320, 65333,
65345, 65357, 65368, 65378, 65387, 65396, 65405, 65413,
65420, 65427, 65434, 65440, 65446, 65451, 65456, 65461,
65466, 65470, 65474, 65478, 65481, 65485, 65488, 65491
}

Definition at line 8705 of file dcadata.c.

Referenced by chs_parse_header().

◆ ff_dca_xll_band_coeff

const int32_t ff_dca_xll_band_coeff[20]
Initial value:
= {
868669, -5931642, -1228483, 4194304,
-20577, 122631, -393647, 904476,
-1696305, 2825313, -4430736, 6791313,
41153, -245210, 785564, -1788164,
3259333, -5074941, 6928550, -8204883
}

Definition at line 8724 of file dcadata.c.

Referenced by chs_assemble_freq_bands().

◆ ff_dca_avg_g3_freqs

const uint16_t ff_dca_avg_g3_freqs[3] = { 16000, 18000, 24000 }

Definition at line 8732 of file dcadata.c.

Referenced by parse_decoder_init().

◆ ff_dca_fst_amp

const uint16_t ff_dca_fst_amp[44]
Initial value:
= {
0, 1, 2, 3,
4, 6, 8, 10,
12, 16, 20, 24,
28, 36, 44, 52,
60, 76, 92, 108,
124, 156, 188, 220,
252, 316, 380, 444,
508, 636, 764, 892,
1020, 1276, 1532, 1788,
2044, 2556, 3068, 3580,
4092, 5116, 6140, 7164
}

Definition at line 8734 of file dcadata.c.

Referenced by parse_tonal().

◆ ff_dca_freq_to_sb

const uint8_t ff_dca_freq_to_sb[32]
Initial value:
= {
0, 1, 2, 2, 3, 3, 3, 3, 4, 4, 4, 4, 4, 4, 4, 4,
5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5
}

Definition at line 8748 of file dcadata.c.

Referenced by parse_tonal().

◆ ff_dca_ph0_shift

const int8_t ff_dca_ph0_shift[8]
Initial value:
= {
-32, +96, -96, +32, +96, -32, +32, -96
}

Definition at line 8753 of file dcadata.c.

Referenced by parse_tonal().

◆ ff_dca_grid_1_to_scf

const uint8_t ff_dca_grid_1_to_scf[11]
Initial value:
= {
0, 1, 2, 3, 4, 6, 7, 10, 14, 19, 26
}

Definition at line 8757 of file dcadata.c.

Referenced by parse_grid_1_chunk(), and parse_grid_1_sec_ch().

◆ ff_dca_grid_2_to_scf

const uint8_t ff_dca_grid_2_to_scf[3]
Initial value:
= {
4, 10, 18
}

Definition at line 8761 of file dcadata.c.

Referenced by parse_grid_2().

◆ ff_dca_scf_to_grid_1

const uint8_t ff_dca_scf_to_grid_1[32]
Initial value:
= {
0, 1, 2, 3, 4, 4, 5, 5, 5, 6, 6, 6, 6, 7, 7, 7,
7, 7, 8, 8, 8, 8, 8, 8, 9, 9, 9, 9, 9, 9, 9, 10
}

Definition at line 8765 of file dcadata.c.

Referenced by decode_grid(), parse_grid_1_chunk(), and parse_grid_1_sec_ch().

◆ ff_dca_scf_to_grid_2

const uint8_t ff_dca_scf_to_grid_2[32]
Initial value:
= {
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1,
1, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2
}

Definition at line 8770 of file dcadata.c.

Referenced by filter_ts(), and parse_grid_2().

◆ ff_dca_grid_1_weights

const uint8_t ff_dca_grid_1_weights[12][32]

Definition at line 8775 of file dcadata.c.

Referenced by decode_grid().

◆ ff_dca_sb_reorder

const uint8_t ff_dca_sb_reorder[8][8]
Initial value:
= {
{ 0, 1, 2, 3, 4, 5, 6, 7 },
{ 1, 0, 2, 3, 4, 5, 6, 7 },
{ 3, 1, 0, 2, 4, 5, 6, 7 },
{ 1, 2, 3, 0, 4, 5, 6, 7 },
{ 1, 2, 5, 3, 0, 4, 6, 7 },
{ 1, 2, 2, 5, 3, 0, 4, 6 },
{ 1, 2, 2, 6, 5, 3, 0, 4 },
{ 1, 2, 2, 6, 5, 4, 0, 3 }
}

Definition at line 8836 of file dcadata.c.

Referenced by parse_high_res_grid().

◆ ff_dca_lfe_delta_index_16

const int8_t ff_dca_lfe_delta_index_16[8]
Initial value:
= {
-4, -3, -2, -1, 2, 4, 6, 8
}

Definition at line 8847 of file dcadata.c.

Referenced by parse_lfe_16().

◆ ff_dca_lfe_delta_index_24

const int8_t ff_dca_lfe_delta_index_24[32]
Initial value:
= {
-8, -8, -7, -7, -6, -6, -5, -5, -4, -4, -3, -3, -2, -2, -1, -1,
1, 1, 2, 2, 3, 3, 4, 4, 5, 5, 6, 6, 7, 7, 8, 8
}

Definition at line 8851 of file dcadata.c.

Referenced by parse_lfe_24().

◆ ff_dca_rsd_pack_5_in_8

const uint16_t ff_dca_rsd_pack_5_in_8[256]

Definition at line 8856 of file dcadata.c.

Referenced by parse_ch().

◆ ff_dca_rsd_pack_3_in_7

const uint8_t ff_dca_rsd_pack_3_in_7[128][3]

Definition at line 8891 of file dcadata.c.

Referenced by parse_ch().

◆ ff_dca_rsd_level_2a

const float ff_dca_rsd_level_2a[2]
Initial value:
= {
-0.47, 0.47
}

Definition at line 8926 of file dcadata.c.

Referenced by parse_ch().

◆ ff_dca_rsd_level_2b

const float ff_dca_rsd_level_2b[2]
Initial value:
= {
-0.645, 0.645
}

Definition at line 8930 of file dcadata.c.

Referenced by parse_ch().

◆ ff_dca_rsd_level_3

const float ff_dca_rsd_level_3[3]
Initial value:
= {
-0.645, 0.0, 0.645
}

Definition at line 8934 of file dcadata.c.

Referenced by parse_ch().

◆ ff_dca_rsd_level_5

const float ff_dca_rsd_level_5[5]
Initial value:
= {
-0.875, -0.375, 0.0, 0.375, 0.875
}

Definition at line 8938 of file dcadata.c.

Referenced by parse_ch().

◆ ff_dca_rsd_level_8

const float ff_dca_rsd_level_8[8]
Initial value:
= {
-1.0, -0.625, -0.291666667, 0.0, 0.25, 0.5, 0.75, 1.0
}

Definition at line 8942 of file dcadata.c.

Referenced by parse_ch().

◆ ff_dca_rsd_level_16

const float ff_dca_rsd_level_16[16]
Initial value:
= {
-1.3125, -1.1375, -0.9625, -0.7875,
-0.6125, -0.4375, -0.2625, -0.0875,
0.0875, 0.2625, 0.4375, 0.6125,
0.7875, 0.9625, 1.1375, 1.3125
}

Definition at line 8946 of file dcadata.c.

Referenced by parse_ch().

◆ ff_dca_synth_env

const float ff_dca_synth_env[32]
Initial value:
= {
0.00240763666390, 0.00960735979838, 0.02152983213390, 0.03806023374436,
0.05903936782582, 0.08426519384873, 0.11349477331863, 0.14644660940673,
0.18280335791818, 0.22221488349020, 0.26430163158700, 0.30865828381746,
0.35485766137277, 0.40245483899194, 0.45099142983522, 0.5,
0.54900857016478, 0.59754516100806, 0.64514233862723, 0.69134171618254,
0.73569836841300, 0.77778511650980, 0.81719664208182, 0.85355339059327,
0.88650522668137, 0.91573480615127, 0.94096063217418, 0.96193976625564,
0.97847016786610, 0.99039264020162, 0.99759236333610, 1.0
}

Definition at line 8953 of file dcadata.c.

Referenced by synth_tones().

◆ ff_dca_corr_cf

const float ff_dca_corr_cf[32][11]

Definition at line 8964 of file dcadata.c.

Referenced by synth_tones().

◆ ff_dca_quant_amp

const float ff_dca_quant_amp[57]
Initial value:
= {
4.88281250E-04, 1.46484375E-03, 2.32267031E-03, 3.28475167E-03,
4.64534014E-03, 6.56950334E-03, 9.29068029E-03, 1.31390067E-02,
1.85813606E-02, 2.62780134E-02, 3.71627212E-02, 5.25560267E-02,
7.43254423E-02, 1.05112053E-01, 1.48650885E-01, 2.10224107E-01,
2.97301769E-01, 4.20448214E-01, 5.94603539E-01, 8.40896428E-01,
1.18920708E+00, 1.68179286E+00, 2.37841415E+00, 3.36358571E+00,
4.75682831E+00, 6.72717142E+00, 9.51365662E+00, 1.34543428E+01,
1.90273132E+01, 2.69086857E+01, 3.80546265E+01, 5.38173714E+01,
7.61092529E+01, 1.07634743E+02, 1.52218506E+02, 2.15269485E+02,
3.04437012E+02, 4.30538971E+02, 6.08874023E+02, 8.61077942E+02,
1.21774805E+03, 1.72215588E+03, 2.43549609E+03, 3.44431177E+03,
4.87099219E+03, 6.88862354E+03, 9.74198438E+03, 1.37772471E+04,
1.94839688E+04, 2.75544941E+04, 3.89679375E+04, 5.51089883E+04,
7.79358750E+04, 1.10217977E+05, 1.55871750E+05, 2.20435953E+05,
0.00000000E+00,
}

Definition at line 9031 of file dcadata.c.

Referenced by filter_ts(), and synth_tones().

◆ ff_dca_st_coeff

const float ff_dca_st_coeff[34]
Initial value:
= {
2.69086857E+01, 2.69086857E+01, 1.34543419E+01, 6.72717142E+00,
3.36358571E+00, 1.68179286E+00, 8.40896428E-01, 5.94603479E-01,
4.20448214E-01, 2.97301799E-01, 2.10224107E-01, 1.48650900E-01,
1.05112098E-01, 7.43253976E-02, 5.25560006E-02, 3.71626988E-02,
3.12500000E-02, 2.62780003E-02, 1.85813997E-02, 1.31390002E-02,
9.29069985E-03, 6.56950008E-03, 4.64530010E-03, 3.28480010E-03,
2.32270011E-03, 1.64240005E-03, 1.16130000E-03, 5.80699998E-04,
2.90299999E-04, 1.45200000E-04, 7.25999998E-05, 3.62999999E-05,
1.82000003E-05, 0.00000000E+00,
}

Definition at line 9049 of file dcadata.c.

Referenced by decode_part_stereo(), and parse_st_code().

◆ ff_dca_long_window

const float ff_dca_long_window[128]

Definition at line 9061 of file dcadata.c.

Referenced by init_sample_rate().

◆ ff_dca_lfe_step_size_16

const float ff_dca_lfe_step_size_16[101]

Definition at line 9096 of file dcadata.c.

Referenced by parse_lfe_16().

◆ ff_dca_lfe_step_size_24

const float ff_dca_lfe_step_size_24[144]

Definition at line 9133 of file dcadata.c.

Referenced by parse_lfe_24().

◆ ff_dca_bank_coeff

const float ff_dca_bank_coeff[10]
Initial value:
= {
0.022810893, 0.41799772, 0.90844810, 0.99973983,
0.068974845, 0.34675997, 0.29396889, 0.19642374,
0.308658270, 0.038060233
}

Definition at line 9184 of file dcadata.c.

Referenced by transform_channel().

◆ ff_dca_lfe_iir

const float ff_dca_lfe_iir[5][4]
Initial value:
= {
{ -0.98618466, 1.9861259, 1.0, -1.9840510 },
{ -0.98883152, 1.9887193, 1.0, -1.9979848 },
{ -0.99252087, 1.9923381, 1.0, -1.9990897 },
{ -0.99591690, 1.9956781, 1.0, -1.9993745 },
{ -0.99872285, 1.9984550, 1.0, -1.9994639 }
}

Definition at line 9190 of file dcadata.c.

Referenced by ff_dca_lbr_filter_frame().