FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Variables
dcadata.h File Reference
#include <stdint.h>
#include "dcahuff.h"

Go to the source code of this file.

Macros

#define DCA_ADPCM_COEFFS   4
 
#define DCA_ADPCM_VQCODEBOOK_SZ   4096
 
#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)
 

Variables

const uint32_t ff_dca_bit_rates [32]
 
const uint8_t ff_dca_channels [16]
 
const uint8_t ff_dca_bits_per_sample [8]
 
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]
 
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

#define DCA_ADPCM_COEFFS   4
#define DCA_ADPCM_VQCODEBOOK_SZ   4096

Definition at line 29 of file dcadata.h.

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

#define FF_DCA_DMIXTABLE_SIZE   242U

Definition at line 71 of file dcadata.h.

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

#define FF_DCA_INV_DMIXTABLE_SIZE   201U

Definition at line 72 of file dcadata.h.

Referenced by parse_coding_header(), and parse_dmix_coeffs().

#define FF_DCA_DMIXTABLE_OFFSET   (FF_DCA_DMIXTABLE_SIZE - FF_DCA_INV_DMIXTABLE_SIZE)

Definition at line 73 of file dcadata.h.

Referenced by parse_coding_header(), and parse_dmix_coeffs().

Variable Documentation

const uint32_t ff_dca_bit_rates[32]

Definition at line 32 of file dcadata.c.

Referenced by encode_init(), and parse_frame_header().

const uint8_t ff_dca_channels[16]
const uint8_t ff_dca_bits_per_sample[8]

Definition at line 45 of file dcadata.c.

Referenced by parse_frame_header().

const uint8_t ff_dca_dmix_primary_nch[8]

Definition at line 49 of file dcadata.c.

Referenced by parse_aux_data(), and parse_dmix_coeffs().

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]

Definition at line 64 of file dcadata.c.

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

const uint32_t ff_dca_scale_factor_quant6[64]

Definition at line 4165 of file dcadata.c.

Referenced by parse_scale(), and parse_xbr_subframe().

const uint32_t ff_dca_scale_factor_quant7[128]
const uint32_t ff_dca_joint_scale_factors[129]

Definition at line 4195 of file dcadata.c.

Referenced by parse_joint_scale().

const uint32_t ff_dca_scale_factor_adj[4]

Definition at line 4215 of file dcadata.c.

Referenced by parse_coding_header().

const uint32_t ff_dca_quant_levels[32]

Definition at line 4219 of file dcadata.c.

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

const uint32_t ff_dca_lossy_quant[32]

Definition at line 4227 of file dcadata.c.

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

const uint32_t ff_dca_lossless_quant[32]
const int8_t ff_dca_high_freq_vq[1024][32]

Definition at line 4244 of file dcadata.c.

Referenced by parse_subframe_audio(), and parse_x96_subframe_audio().

const float ff_dca_fir_32bands_perfect[512]

Definition at line 6297 of file dcadata.c.

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

const float ff_dca_fir_32bands_nonperfect[512]

Definition at line 6812 of file dcadata.c.

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

const float ff_dca_lfe_fir_64[256]

Definition at line 7343 of file dcadata.c.

Referenced by encode_init(), and filter_frame_float().

const float ff_dca_lfe_fir_128[256]

Definition at line 7486 of file dcadata.c.

Referenced by filter_frame_float().

const float ff_dca_fir_64bands[1024]

Definition at line 7554 of file dcadata.c.

Referenced by filter_frame_float().

const int32_t ff_dca_fir_32bands_perfect_fixed[512]

Definition at line 8078 of file dcadata.c.

Referenced by ff_dca_core_filter_fixed().

const int32_t ff_dca_fir_32bands_nonperfect_fixed[512]

Definition at line 8209 of file dcadata.c.

Referenced by ff_dca_core_filter_fixed().

const int32_t ff_dca_lfe_fir_64_fixed[256]

Definition at line 8340 of file dcadata.c.

Referenced by ff_dca_core_filter_fixed().

const int32_t ff_dca_fir_64bands_fixed[1024]

Definition at line 8375 of file dcadata.c.

Referenced by ff_dca_core_filter_fixed().

const uint16_t ff_dca_dmixtable[FF_DCA_DMIXTABLE_SIZE]

Definition at line 8646 of file dcadata.c.

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

const uint32_t ff_dca_inv_dmixtable[FF_DCA_INV_DMIXTABLE_SIZE]

Definition at line 8680 of file dcadata.c.

Referenced by parse_coding_header(), and parse_dmix_coeffs().

const uint16_t ff_dca_xll_refl_coeff[128]

Definition at line 8709 of file dcadata.c.

Referenced by chs_parse_header().

const int32_t ff_dca_xll_band_coeff[20]

Definition at line 8728 of file dcadata.c.

Referenced by chs_assemble_freq_bands().

const uint16_t ff_dca_avg_g3_freqs[3]

Definition at line 8736 of file dcadata.c.

Referenced by parse_decoder_init().

const uint16_t ff_dca_fst_amp[44]

Definition at line 8738 of file dcadata.c.

Referenced by parse_tonal().

const uint8_t ff_dca_freq_to_sb[32]

Definition at line 8752 of file dcadata.c.

Referenced by parse_tonal().

const int8_t ff_dca_ph0_shift[8]

Definition at line 8757 of file dcadata.c.

Referenced by parse_tonal().

const uint8_t ff_dca_grid_1_to_scf[11]

Definition at line 8761 of file dcadata.c.

Referenced by parse_grid_1_chunk(), and parse_grid_1_sec_ch().

const uint8_t ff_dca_grid_2_to_scf[3]

Definition at line 8765 of file dcadata.c.

Referenced by parse_grid_2().

const uint8_t ff_dca_scf_to_grid_1[32]

Definition at line 8769 of file dcadata.c.

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

const uint8_t ff_dca_scf_to_grid_2[32]

Definition at line 8774 of file dcadata.c.

Referenced by filter_ts(), and parse_grid_2().

const uint8_t ff_dca_grid_1_weights[12][32]

Definition at line 8779 of file dcadata.c.

Referenced by decode_grid().

const uint8_t ff_dca_sb_reorder[8][8]

Definition at line 8840 of file dcadata.c.

Referenced by parse_high_res_grid().

const int8_t ff_dca_lfe_delta_index_16[8]

Definition at line 8851 of file dcadata.c.

Referenced by parse_lfe_16().

const int8_t ff_dca_lfe_delta_index_24[32]

Definition at line 8855 of file dcadata.c.

Referenced by parse_lfe_24().

const uint16_t ff_dca_rsd_pack_5_in_8[256]

Definition at line 8860 of file dcadata.c.

Referenced by parse_ch().

const uint8_t ff_dca_rsd_pack_3_in_7[128][3]

Definition at line 8895 of file dcadata.c.

Referenced by parse_ch().

const float ff_dca_rsd_level_2a[2]

Definition at line 8930 of file dcadata.c.

Referenced by parse_ch().

const float ff_dca_rsd_level_2b[2]

Definition at line 8934 of file dcadata.c.

Referenced by parse_ch().

const float ff_dca_rsd_level_3[3]

Definition at line 8938 of file dcadata.c.

Referenced by parse_ch().

const float ff_dca_rsd_level_5[5]

Definition at line 8942 of file dcadata.c.

Referenced by parse_ch().

const float ff_dca_rsd_level_8[8]

Definition at line 8946 of file dcadata.c.

Referenced by parse_ch().

const float ff_dca_rsd_level_16[16]

Definition at line 8950 of file dcadata.c.

Referenced by parse_ch().

const float ff_dca_synth_env[32]

Definition at line 8957 of file dcadata.c.

Referenced by synth_tones().

const float ff_dca_corr_cf[32][11]

Definition at line 8968 of file dcadata.c.

Referenced by synth_tones().

const float ff_dca_quant_amp[57]

Definition at line 9035 of file dcadata.c.

Referenced by filter_ts(), and synth_tones().

const float ff_dca_st_coeff[34]

Definition at line 9053 of file dcadata.c.

Referenced by decode_part_stereo(), and parse_st_code().

const float ff_dca_long_window[128]

Definition at line 9065 of file dcadata.c.

Referenced by init_sample_rate().

const float ff_dca_lfe_step_size_16[101]

Definition at line 9100 of file dcadata.c.

Referenced by parse_lfe_16().

const float ff_dca_lfe_step_size_24[144]

Definition at line 9137 of file dcadata.c.

Referenced by parse_lfe_24().

const float ff_dca_bank_coeff[10]

Definition at line 9188 of file dcadata.c.

Referenced by transform_channel().

const float ff_dca_lfe_iir[5][4]

Definition at line 9194 of file dcadata.c.

Referenced by ff_dca_lbr_filter_frame().