/external/libxaac/decoder/drc_src/ |
D | impd_drc_dec.c | 33 ia_drc_params_struct* ia_drc_params_struct) { in impd_init_drc_params() argument 43 ia_drc_params_struct->drc_frame_size = frame_size; in impd_init_drc_params() 45 if (ia_drc_params_struct->drc_frame_size < 0.001f * sample_rate) { in impd_init_drc_params() 49 ia_drc_params_struct->sample_rate = sample_rate; in impd_init_drc_params() 51 ia_drc_params_struct->delta_tmin_default = impd_get_delta_tmin(sample_rate); in impd_init_drc_params() 53 if (ia_drc_params_struct->delta_tmin_default > in impd_init_drc_params() 54 ia_drc_params_struct->drc_frame_size) { in impd_init_drc_params() 63 ia_drc_params_struct->delay_mode = delay_mode; in impd_init_drc_params() 65 ia_drc_params_struct->drc_set_counter = 0; in impd_init_drc_params() 66 ia_drc_params_struct->multiband_sel_drc_idx = -1; in impd_init_drc_params() [all …]
|
D | impd_drc_bitbuffer.c | 121 ia_drc_params_bs_dec_struct* ia_drc_params_struct = in impd_init_drc_bitstream_dec() local 122 &p_drc_bs_dec_struct->ia_drc_params_struct; in impd_init_drc_bitstream_dec() 123 ia_drc_params_struct->drc_frame_size = frame_size; in impd_init_drc_bitstream_dec() 124 ia_drc_params_struct->delta_tmin_default = impd_get_delta_tmin(sample_rate); in impd_init_drc_bitstream_dec() 125 ia_drc_params_struct->num_gain_values_max_default = in impd_init_drc_bitstream_dec() 126 ia_drc_params_struct->drc_frame_size / in impd_init_drc_bitstream_dec() 127 ia_drc_params_struct->delta_tmin_default; in impd_init_drc_bitstream_dec() 128 ia_drc_params_struct->delay_mode = delay_mode; in impd_init_drc_bitstream_dec() 131 (ia_drc_params_struct->drc_frame_size < 0.001f * sample_rate)) { in impd_init_drc_bitstream_dec() 138 if (ia_drc_params_struct->delta_tmin_default > in impd_init_drc_bitstream_dec() [all …]
|
D | impd_drc_process.c | 37 ia_drc_params_struct* ia_drc_params_struct, in impd_apply_gains_and_add() argument 58 if (ia_drc_params_struct->delay_mode == DELAY_MODE_LOW_DELAY) { in impd_apply_gains_and_add() 59 offset = ia_drc_params_struct->drc_frame_size; in impd_apply_gains_and_add() 86 MAX_SIGNAL_DELAY - ia_drc_params_struct->gain_delay_samples - in impd_apply_gains_and_add() 87 ia_drc_params_struct->audio_delay_samples + offset; in impd_apply_gains_and_add() 95 ia_drc_params_struct->audio_delay_samples; in impd_apply_gains_and_add() 99 while (iEnd < ia_drc_params_struct->drc_frame_size) { in impd_apply_gains_and_add() 103 while ((iEnd < ia_drc_params_struct->drc_frame_size) && in impd_apply_gains_and_add() 107 iEnd = ia_drc_params_struct->drc_frame_size; in impd_apply_gains_and_add() 128 if ((iEnd < ia_drc_params_struct->drc_frame_size) && in impd_apply_gains_and_add() [all …]
|
D | impd_drc_gain_decoder.c | 49 sub_band_domain_mode, &p_drc_gain_dec_structs->ia_drc_params_struct); in impd_init_drc_decode() 54 p_drc_gain_dec_structs->ia_drc_params_struct.drc_frame_size, sample_rate, in impd_init_drc_decode() 72 ia_drc_params_struct* p_drc_params_struct = in impd_init_drc_decode_post_config() 73 &p_drc_gain_dec_structs->ia_drc_params_struct; in impd_init_drc_decode_post_config() 89 p_drc_gain_dec_structs->ia_drc_params_struct.audio_delay_samples = in impd_init_drc_decode_post_config() 90 p_drc_gain_dec_structs->ia_drc_params_struct.parametric_drc_delay; in impd_init_drc_decode_post_config() 197 (FLOAT32)p_drc_gain_dec_structs->ia_drc_params_struct.sample_rate, in impd_init_drc_decode_post_config() 198 p_drc_gain_dec_structs->ia_drc_params_struct.drc_frame_size, in impd_init_drc_decode_post_config() 199 p_drc_gain_dec_structs->ia_drc_params_struct.sub_band_domain_mode, in impd_init_drc_decode_post_config() 205 &p_drc_gain_dec_structs->ia_drc_params_struct.eq_delay); in impd_init_drc_decode_post_config() [all …]
|
D | impd_drc_dec.h | 26 ia_drc_params_struct* ia_drc_params_struct); 29 ia_drc_config* drc_config, ia_drc_params_struct* ia_drc_params_struct, 41 ia_drc_params_struct* ia_drc_params_struct,
|
D | impd_drc_uni_process_audio.h | 36 ia_drc_params_struct* ia_drc_params_struct, 45 ia_drc_params_struct* ia_drc_params_struct,
|
D | impd_drc_uni_parser.h | 51 ia_drc_params_bs_dec_struct* ia_drc_params_struct, 62 ia_drc_params_bs_dec_struct* ia_drc_params_struct, 68 ia_drc_params_bs_dec_struct* ia_drc_params_struct, 74 ia_drc_params_bs_dec_struct* ia_drc_params_struct, 80 ia_drc_params_bs_dec_struct* ia_drc_params_struct,
|
D | impd_drc_process_audio.h | 51 ia_drc_params_struct* ia_drc_params_struct, 62 ia_drc_params_struct* ia_drc_params_struct,
|
D | impd_drc_parser.h | 60 ia_drc_params_bs_dec_struct* ia_drc_params_struct, 66 ia_drc_params_bs_dec_struct* ia_drc_params_struct, 72 ia_drc_params_bs_dec_struct* ia_drc_params_struct, 78 ia_drc_params_bs_dec_struct* ia_drc_params_struct,
|
D | impd_drc_loud_eq.c | 62 ia_drc_params_struct* ia_drc_params_struct, in impd_add_drc_band_audio() argument 87 for (i = 0; i < ia_drc_params_struct->drc_frame_size; i++) { in impd_add_drc_band_audio() 105 for (i = 0; i < ia_drc_params_struct->drc_frame_size; i++) { in impd_add_drc_band_audio()
|
D | impd_drc_gain_dec.c | 598 ia_drc_params_struct* ia_drc_params_struct = in impd_get_drc_gain() local 599 &(p_drc_gain_dec_structs->ia_drc_params_struct); in impd_get_drc_gain() 601 ia_drc_params_struct->sel_drc_array[sel_drc_index].drc_instructions_index; in impd_get_drc_gain() 613 ia_drc_params_struct->sel_drc_array[sel_drc_index].drc_coeff_idx; in impd_get_drc_gain() 651 err = impd_advance_buf(ia_drc_params_struct->drc_frame_size, in impd_get_drc_gain() 696 ia_drc_params_struct->drc_frame_size, b, &interp_params_str, in impd_get_drc_gain() 704 if (ia_drc_params_struct->sub_band_domain_mode == in impd_get_drc_gain() 719 ia_drc_params_struct->drc_frame_size, 0, &interp_params_str, in impd_get_drc_gain() 727 } else if (ia_drc_params_struct->sub_band_domain_mode == in impd_get_drc_gain() 746 } else if (ia_drc_params_struct->sub_band_domain_mode != in impd_get_drc_gain() [all …]
|
D | impd_drc_uni_dec.h | 32 ia_drc_config* drc_config, ia_drc_params_struct* ia_drc_params_struct,
|
D | impd_drc_dynamic_payload.c | 308 (pstr_drc_uni_bs_dec->ia_drc_params_struct).drc_frame_size - 1; in impd_drc_uni_gain_read() 323 (FLOAT32)pstr_drc_uni_bs_dec->ia_drc_params_struct.drc_frame_size / in impd_drc_uni_gain_read() 390 -pstr_drc_uni_bs_dec->ia_drc_params_struct.delta_tmin_default + in impd_parse_spline_nodes() 391 (pstr_drc_uni_bs_dec->ia_drc_params_struct.delta_tmin_default - 1) / in impd_parse_spline_nodes() 411 (pstr_drc_uni_bs_dec->ia_drc_params_struct).drc_frame_size + in impd_parse_spline_nodes() 419 (pstr_drc_uni_bs_dec->ia_drc_params_struct).drc_frame_size + in impd_parse_spline_nodes() 438 (pstr_drc_uni_bs_dec->ia_drc_params_struct).drc_frame_size + in impd_parse_spline_nodes() 449 (pstr_drc_uni_bs_dec->ia_drc_params_struct).drc_frame_size, in impd_parse_spline_nodes() 461 (pstr_drc_uni_bs_dec->ia_drc_params_struct).delta_tmin_default, in impd_parse_spline_nodes() 462 (pstr_drc_uni_bs_dec->ia_drc_params_struct).drc_frame_size, in impd_parse_spline_nodes() [all …]
|
D | impd_drc_static_payload.c | 719 ia_drc_params_bs_dec_struct* ia_drc_params_struct, in impd_parse_ch_layout() argument 726 if (ia_drc_params_struct->lfe_channel_map_count != -1 && in impd_parse_ch_layout() 728 ia_drc_params_struct->lfe_channel_map_count) { in impd_parse_ch_layout() 745 ia_drc_params_struct->lfe_channel_map[i] = 1; in impd_parse_ch_layout() 747 ia_drc_params_struct->lfe_channel_map[i] = 0; in impd_parse_ch_layout() 759 ia_drc_params_bs_dec_struct* ia_drc_params_struct, in impd_parse_dwnmix_instructions() argument 783 if (ia_drc_params_struct->lfe_channel_map[j]) { in impd_parse_dwnmix_instructions() 895 ia_drc_params_bs_dec_struct* ia_drc_params_struct, in impd_parse_drc_config_ext() argument 940 err = impd_parse_drc_ext_v1(it_bit_buff, ia_drc_params_struct, in impd_parse_drc_config_ext() 1022 ia_drc_params_bs_dec_struct* ia_drc_params_struct, in impd_drc_gen_instructions_derived_data() argument [all …]
|
D | impd_drc_gain_decoder.h | 29 ia_drc_params_struct ia_drc_params_struct; member
|
D | impd_drc_gain_dec.h | 89 } ia_drc_params_struct; typedef
|
D | impd_drc_uni_gain_dec.h | 80 } ia_drc_params_struct; typedef
|
D | impd_drc_struct.h | 674 ia_drc_params_bs_dec_struct ia_drc_params_struct; member
|