/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 | 119 ia_drc_params_bs_dec_struct* ia_drc_params_struct = in impd_init_drc_bitstream_dec() local 120 &p_drc_bs_dec_struct->ia_drc_params_struct; in impd_init_drc_bitstream_dec() 121 ia_drc_params_struct->drc_frame_size = frame_size; in impd_init_drc_bitstream_dec() 125 ia_drc_params_struct->delta_tmin_default = impd_get_delta_tmin(sample_rate); in impd_init_drc_bitstream_dec() 126 ia_drc_params_struct->num_gain_values_max_default = in impd_init_drc_bitstream_dec() 127 ia_drc_params_struct->drc_frame_size / in impd_init_drc_bitstream_dec() 128 ia_drc_params_struct->delta_tmin_default; in impd_init_drc_bitstream_dec() 129 ia_drc_params_struct->delay_mode = delay_mode; in impd_init_drc_bitstream_dec() 132 (ia_drc_params_struct->drc_frame_size < 0.001f * sample_rate)) { in impd_init_drc_bitstream_dec() 136 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_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_gain_dec.c | 591 ia_drc_params_struct* ia_drc_params_struct = in impd_get_drc_gain() local 592 &(p_drc_gain_dec_structs->ia_drc_params_struct); in impd_get_drc_gain() 594 ia_drc_params_struct->sel_drc_array[sel_drc_index].drc_instructions_index; in impd_get_drc_gain() 606 ia_drc_params_struct->sel_drc_array[sel_drc_index].drc_coeff_idx; in impd_get_drc_gain() 644 impd_advance_buf(ia_drc_params_struct->drc_frame_size, in impd_get_drc_gain() 688 ia_drc_params_struct->drc_frame_size, b, &interp_params_str, in impd_get_drc_gain() 696 if (ia_drc_params_struct->sub_band_domain_mode == in impd_get_drc_gain() 711 ia_drc_params_struct->drc_frame_size, 0, &interp_params_str, in impd_get_drc_gain() 719 } else if (ia_drc_params_struct->sub_band_domain_mode == in impd_get_drc_gain() 738 } 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_process_audio.h | 51 ia_drc_params_struct* ia_drc_params_struct,
|
D | impd_drc_dynamic_payload.c | 316 (pstr_drc_uni_bs_dec->ia_drc_params_struct).drc_frame_size - 1; in impd_drc_uni_gain_read() 331 (FLOAT32)pstr_drc_uni_bs_dec->ia_drc_params_struct.drc_frame_size / in impd_drc_uni_gain_read() 398 -pstr_drc_uni_bs_dec->ia_drc_params_struct.delta_tmin_default + in impd_parse_spline_nodes() 399 (pstr_drc_uni_bs_dec->ia_drc_params_struct.delta_tmin_default - 1) / in impd_parse_spline_nodes() 422 (pstr_drc_uni_bs_dec->ia_drc_params_struct).drc_frame_size + in impd_parse_spline_nodes() 433 (pstr_drc_uni_bs_dec->ia_drc_params_struct).drc_frame_size + in impd_parse_spline_nodes() 452 (pstr_drc_uni_bs_dec->ia_drc_params_struct).drc_frame_size + in impd_parse_spline_nodes() 463 (pstr_drc_uni_bs_dec->ia_drc_params_struct).drc_frame_size, in impd_parse_spline_nodes() 475 (pstr_drc_uni_bs_dec->ia_drc_params_struct).delta_tmin_default, in impd_parse_spline_nodes() 476 (pstr_drc_uni_bs_dec->ia_drc_params_struct).drc_frame_size, in impd_parse_spline_nodes() [all …]
|
D | impd_drc_gain_decoder.h | 29 ia_drc_params_struct ia_drc_params_struct; member
|
D | impd_drc_static_payload.c | 727 ia_drc_params_bs_dec_struct* ia_drc_params_struct, in impd_parse_ch_layout() argument 736 if (ia_drc_params_struct->lfe_channel_map_count != -1 && in impd_parse_ch_layout() 738 ia_drc_params_struct->lfe_channel_map_count) { in impd_parse_ch_layout() 755 ia_drc_params_struct->lfe_channel_map[i] = 1; in impd_parse_ch_layout() 757 ia_drc_params_struct->lfe_channel_map[i] = 0; in impd_parse_ch_layout() 769 ia_drc_params_bs_dec_struct* ia_drc_params_struct, in impd_parse_dwnmix_instructions() argument 795 if (ia_drc_params_struct->lfe_channel_map[j]) { in impd_parse_dwnmix_instructions() 907 ia_drc_params_bs_dec_struct* ia_drc_params_struct, in impd_parse_drc_config_ext() argument 952 err = impd_parse_drc_ext_v1(it_bit_buff, ia_drc_params_struct, in impd_parse_drc_config_ext() 1034 ia_drc_params_bs_dec_struct* ia_drc_params_struct, in impd_drc_gen_instructions_derived_data() argument [all …]
|
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
|