FFmpeg
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_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

◆ DCA_ADPCM_COEFFS

#define DCA_ADPCM_COEFFS   4

Definition at line 28 of file dcadata.h.

◆ DCA_ADPCM_VQCODEBOOK_SZ

#define DCA_ADPCM_VQCODEBOOK_SZ   4096

Definition at line 29 of file dcadata.h.

◆ FF_DCA_DMIXTABLE_SIZE

#define FF_DCA_DMIXTABLE_SIZE   242U

Definition at line 69 of file dcadata.h.

◆ FF_DCA_INV_DMIXTABLE_SIZE

#define FF_DCA_INV_DMIXTABLE_SIZE   201U

Definition at line 70 of file dcadata.h.

◆ FF_DCA_DMIXTABLE_OFFSET

#define FF_DCA_DMIXTABLE_OFFSET   (FF_DCA_DMIXTABLE_SIZE - FF_DCA_INV_DMIXTABLE_SIZE)

Definition at line 71 of file dcadata.h.

Variable Documentation

◆ ff_dca_bit_rates

const uint32_t ff_dca_bit_rates[32]

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]

◆ ff_dca_dmix_primary_nch

const uint8_t ff_dca_dmix_primary_nch[8]

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]

◆ 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]

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]

◆ ff_dca_joint_scale_factors

const uint32_t ff_dca_joint_scale_factors[129]

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]

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]

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]

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]

◆ 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]

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]

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]

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]

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]

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]

Definition at line 8748 of file dcadata.c.

Referenced by parse_tonal().

◆ ff_dca_ph0_shift

const int8_t ff_dca_ph0_shift[8]

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]

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]

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]

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]

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]

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]

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]

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]

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]

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]

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]

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]

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]

Definition at line 8946 of file dcadata.c.

Referenced by parse_ch().

◆ ff_dca_synth_env

const float ff_dca_synth_env[32]

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]

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]

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]

Definition at line 9184 of file dcadata.c.

Referenced by transform_channel().

◆ ff_dca_lfe_iir

const float ff_dca_lfe_iir[5][4]

Definition at line 9190 of file dcadata.c.

Referenced by ff_dca_lbr_filter_frame().