/external/libxaac/decoder/ |
D | ixheaacd_sbrdecoder.c | 86 ia_sbr_header_data_struct *ptr_header_data, in ixheaacd_sbr_dec_reset() argument 95 WORD32 upsample_ratio_idx = ptr_header_data->sbr_ratio_idx; in ixheaacd_sbr_dec_reset() 97 WORD32 hbe_flag = ptr_header_data->hbe_flag; in ixheaacd_sbr_dec_reset() 98 WORD32 usac_flag = ptr_header_data->usac_flag; in ixheaacd_sbr_dec_reset() 100 if (ptr_header_data->is_usf_4) { in ixheaacd_sbr_dec_reset() 106 new_lsb = ptr_header_data->pstr_freq_band_data->sub_band_start; in ixheaacd_sbr_dec_reset() 109 ptr_header_data->pstr_freq_band_data->sub_band_end; in ixheaacd_sbr_dec_reset() 141 start_band = ptr_header_data->pstr_freq_band_data->qmf_sb_prev; in ixheaacd_sbr_dec_reset() 142 stop_band = ptr_header_data->pstr_freq_band_data->sub_band_start; in ixheaacd_sbr_dec_reset() 161 ptr_header_data->pstr_freq_band_data->freq_band_table, in ixheaacd_sbr_dec_reset() [all …]
|
D | ixheaacd_sbrdec_initfuncs.c | 448 ia_sbr_header_data_struct *ptr_header_data, WORD32 sample_rate_dec, in ixheaacd_init_headerdata() argument 455 memcpy(ptr_header_data, in ixheaacd_init_headerdata() 460 if (audio_obj_type == AOT_ER_AAC_ELD) ptr_header_data->time_step -= 1; in ixheaacd_init_headerdata() 466 ptr_header_data->pstr_freq_band_data = pstr_freq_band_data; in ixheaacd_init_headerdata() 468 ptr_header_data->core_frame_size = samp_per_frame; in ixheaacd_init_headerdata() 469 ptr_header_data->out_sampling_freq = sample_rate_dec << 1; in ixheaacd_init_headerdata() 472 tmp = ptr_header_data->time_step + 4; in ixheaacd_init_headerdata() 475 ptr_header_data->num_time_slots = in ixheaacd_init_headerdata() 478 ptr_header_data->num_time_slots = in ixheaacd_init_headerdata() 481 ptr_header_data->time_step = 1; in ixheaacd_init_headerdata() [all …]
|
D | ixheaacd_env_dec.c | 127 ia_sbr_header_data_struct *ptr_header_data, in ixheaacd_process_del_cod_env_data() argument 141 ((ptr_header_data->pstr_freq_band_data->num_sf_bands[LOW] << 1) - in ixheaacd_process_del_cod_env_data() 142 ptr_header_data->pstr_freq_band_data->num_sf_bands[HIGH]); in ixheaacd_process_del_cod_env_data() 148 num_sf_bands = ptr_header_data->pstr_freq_band_data->num_sf_bands[freq_res]; in ixheaacd_process_del_cod_env_data() 243 ixheaacd_wrong_timing_compensate(ia_sbr_header_data_struct *ptr_header_data, in ixheaacd_wrong_timing_compensate() argument 249 WORD16 *num_sf_bands = ptr_header_data->pstr_freq_band_data->num_sf_bands; in ixheaacd_wrong_timing_compensate() 255 (ptr_prev_data->end_position - ptr_header_data->num_time_slots); in ixheaacd_wrong_timing_compensate() 289 WORD16 ixheaacd_check_env_data(ia_sbr_header_data_struct *ptr_header_data, in ixheaacd_check_env_data() argument 310 for (i = 0; i < ptr_header_data->pstr_freq_band_data->num_sf_bands[HIGH]; in ixheaacd_check_env_data() 345 ixheaacd_limit_noise_floor_fac(ia_sbr_header_data_struct *ptr_header_data, in ixheaacd_limit_noise_floor_fac() argument [all …]
|
D | ixheaacd_env_extr.c | 252 ia_sbr_header_data_struct *ptr_header_data, in ixheaacd_read_sbr_addi_data() argument 265 for (i = 0; i < ptr_header_data->pstr_freq_band_data->num_sf_bands[HIGH]; in ixheaacd_read_sbr_addi_data() 494 ia_sbr_header_data_struct *ptr_header_data, in ixheaacd_sbr_sin_coding_data() argument 500 i = ptr_header_data->pstr_freq_band_data->num_sf_bands[HIGH]; in ixheaacd_sbr_sin_coding_data() 568 ia_sbr_header_data_struct *ptr_header_data, ia_ps_dec_struct *ptr_ps_dec, in ixheaacd_read_extn_data() argument 610 ptr_header_data->channel_mode = PS_STEREO; in ixheaacd_read_extn_data() 635 ia_sbr_header_data_struct *ptr_header_data) { in ixheaacd_sbr_read_pvc_sce() argument 666 for (i = 0; i < ptr_header_data->pstr_freq_band_data->num_nf_bands; i++) { in ixheaacd_sbr_read_pvc_sce() 672 ptr_pvc_data->pvc_mode = ptr_header_data->pvc_mode; in ixheaacd_sbr_read_pvc_sce() 677 ixheaacd_read_sbr_noise_floor_data(ptr_header_data, ptr_frame_data, in ixheaacd_sbr_read_pvc_sce() [all …]
|
D | ixheaacd_sbr_dec.c | 302 ia_sbr_header_data_struct *ptr_header_data, WORD32 stereo_config_idx, in ixheaacd_esbr_synthesis_regrp() argument 310 if (ptr_header_data->sbr_ratio_idx == SBR_UPSAMPLE_IDX_4_1) { in ixheaacd_esbr_synthesis_regrp() 315 x_over_band = ptr_header_data->pstr_freq_band_data->qmf_sb_prev; in ixheaacd_esbr_synthesis_regrp() 341 x_over_band = ptr_header_data->pstr_freq_band_data->sub_band_start; in ixheaacd_esbr_synthesis_regrp() 381 x_over_band = ptr_header_data->pstr_freq_band_data->sub_band_start; in ixheaacd_esbr_synthesis_regrp() 449 ia_sbr_dec_struct *ptr_sbr_dec, ia_sbr_header_data_struct *ptr_header_data, in ixheaacd_esbr_synthesis_filt_block() argument 475 ptr_sbr_dec, ptr_frame_data, ptr_header_data, in ixheaacd_esbr_synthesis_filt_block() 553 ptr_header_data->pstr_freq_band_data->qmf_sb_prev = in ixheaacd_esbr_synthesis_filt_block() 554 ptr_header_data->pstr_freq_band_data->sub_band_start; in ixheaacd_esbr_synthesis_filt_block() 559 ia_sbr_header_data_struct *ptr_header_data, in ixheaacd_sbr_dec() argument [all …]
|
D | ixheaacd_freq_sca.c | 284 ia_sbr_header_data_struct *ptr_header_data, in ixheaacd_calc_master_frq_bnd_tbl() argument 287 WORD32 fs = ptr_header_data->out_sampling_freq; in ixheaacd_calc_master_frq_bnd_tbl() 297 WORD16 upsamp_fac = ptr_header_data->upsamp_fac; in ixheaacd_calc_master_frq_bnd_tbl() 305 ixheaacd_calc_k0_k2_bands(fs, ptr_header_data->start_freq, in ixheaacd_calc_master_frq_bnd_tbl() 306 ptr_header_data->stop_freq, upsamp_fac, &k0, &k2); in ixheaacd_calc_master_frq_bnd_tbl() 333 if (ptr_header_data->freq_scale == 0) { in ixheaacd_calc_master_frq_bnd_tbl() 335 if (ptr_header_data->alter_scale == 0) { in ixheaacd_calc_master_frq_bnd_tbl() 376 switch (ptr_header_data->freq_scale) { in ixheaacd_calc_master_frq_bnd_tbl() 403 if (ptr_header_data->alter_scale) { in ixheaacd_calc_master_frq_bnd_tbl() 562 ia_sbr_header_data_struct *ptr_header_data) { in ixheaacd_derive_hi_lo_freq_bnd_tbls() argument [all …]
|
D | ixheaacd_sbrdec_lpfuncs.c | 93 ia_sbr_header_data_struct *ptr_header_data, in ixheaacd_derive_lim_band_tbl() argument 104 WORD16 *f_lim_tbl = ptr_header_data->pstr_freq_band_data->freq_band_tbl_lim; in ixheaacd_derive_lim_band_tbl() 105 WORD16 *num_lf_bands = &ptr_header_data->pstr_freq_band_data->num_lf_bands; in ixheaacd_derive_lim_band_tbl() 107 ptr_header_data->pstr_freq_band_data->freq_band_table[LOW]; in ixheaacd_derive_lim_band_tbl() 108 WORD16 num_low_bnd = ptr_header_data->pstr_freq_band_data->num_sf_bands[LOW]; in ixheaacd_derive_lim_band_tbl() 109 WORD16 limiter_bands = ptr_header_data->limiter_bands; in ixheaacd_derive_lim_band_tbl() 192 ia_sbr_header_data_struct *ptr_header_data, in ixheaacd_lean_sbrconcealment() argument 211 cur_start_pos = ptr_prev_data->end_position - ptr_header_data->num_time_slots; in ixheaacd_lean_sbrconcealment() 212 cur_stop_pos = ptr_header_data->num_time_slots; in ixheaacd_lean_sbrconcealment() 226 ptr_header_data->pstr_freq_band_data->num_sf_bands[1]; in ixheaacd_lean_sbrconcealment() [all …]
|
D | ixheaacd_sbr_dec.h | 157 ia_sbr_header_data_struct *ptr_header_data, 172 ia_sbr_header_data_struct *ptr_header_data, 203 ia_sbr_header_data_struct *ptr_header_data); 208 ia_sbr_dec_struct *ptr_sbr_dec, ia_sbr_header_data_struct *ptr_header_data, 224 ia_sbr_header_data_struct *ptr_header_data); 234 ia_sbr_header_data_struct *ptr_header_data,
|
D | ixheaacd_env_dec.h | 32 ia_sbr_header_data_struct *ptr_header_data, 59 WORD32 ixheaacd_dec_envelope(ia_sbr_header_data_struct *ptr_header_data, 65 VOID ixheaacd_lean_sbrconcealment(ia_sbr_header_data_struct *ptr_header_data,
|
D | ixheaacd_env_extr.h | 121 WORD8 ixheaacd_sbr_read_sce(ia_sbr_header_data_struct *ptr_header_data, 128 WORD8 ixheaacd_sbr_read_cpe(ia_sbr_header_data_struct *ptr_header_data, 154 ia_sbr_header_data_struct *ptr_header_data, 164 ia_sbr_header_data_struct *ptr_header_data,
|
D | ixheaacd_env_calc.h | 37 ia_sbr_header_data_struct *ptr_header_data, 49 ia_sbr_header_data_struct *ptr_header_data, 130 ia_sbr_header_data_struct *ptr_header_data,
|
D | ixheaacd_freq_sca.h | 25 WORD32 ixheaacd_calc_frq_bnd_tbls(ia_sbr_header_data_struct *ptr_header_data,
|
D | ixheaacd_env_calc.c | 670 ia_sbr_header_data_struct *ptr_header_data, in ixheaacd_calc_sbrenvelope() argument 687 ptr_header_data->pstr_freq_band_data; in ixheaacd_calc_sbrenvelope() 827 smooth_length = ((1 - ptr_header_data->smoothing_mode) << 2); in ixheaacd_calc_sbrenvelope() 832 if (ptr_header_data->interpol_freq) { in ixheaacd_calc_sbrenvelope() 854 ->sbr_lim_gains_m[2 * ptr_header_data->limiter_gains]; in ixheaacd_calc_sbrenvelope() 903 if (ptr_header_data->channel_mode == PS_STEREO) { in ixheaacd_calc_sbrenvelope() 930 num_cols = (ptr_header_data->num_time_slots * ptr_header_data->time_step); in ixheaacd_calc_sbrenvelope()
|