Home
last modified time | relevance | path

Searched refs:ptr_header_data (Results 1 – 13 of 13) sorted by relevance

/external/libxaac/decoder/
Dixheaacd_sbrdecoder.c86 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 …]
Dixheaacd_sbrdec_initfuncs.c448 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 …]
Dixheaacd_env_dec.c122 ia_sbr_header_data_struct *ptr_header_data, in ixheaacd_process_del_cod_env_data() argument
136 ((ptr_header_data->pstr_freq_band_data->num_sf_bands[LOW] << 1) - in ixheaacd_process_del_cod_env_data()
137 ptr_header_data->pstr_freq_band_data->num_sf_bands[HIGH]); in ixheaacd_process_del_cod_env_data()
143 num_sf_bands = ptr_header_data->pstr_freq_band_data->num_sf_bands[freq_res]; in ixheaacd_process_del_cod_env_data()
238 ixheaacd_wrong_timing_compensate(ia_sbr_header_data_struct *ptr_header_data, in ixheaacd_wrong_timing_compensate() argument
244 WORD16 *num_sf_bands = ptr_header_data->pstr_freq_band_data->num_sf_bands; in ixheaacd_wrong_timing_compensate()
250 (ptr_prev_data->end_position - ptr_header_data->num_time_slots); in ixheaacd_wrong_timing_compensate()
284 WORD16 ixheaacd_check_env_data(ia_sbr_header_data_struct *ptr_header_data, in ixheaacd_check_env_data() argument
305 for (i = 0; i < ptr_header_data->pstr_freq_band_data->num_sf_bands[HIGH]; in ixheaacd_check_env_data()
340 ixheaacd_limit_noise_floor_fac(ia_sbr_header_data_struct *ptr_header_data, in ixheaacd_limit_noise_floor_fac() argument
[all …]
Dixheaacd_env_extr.c252 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()
567 static VOID ixheaacd_read_extn_data(ia_sbr_header_data_struct *ptr_header_data, in ixheaacd_read_extn_data() argument
611 ptr_header_data->channel_mode = PS_STEREO; in ixheaacd_read_extn_data()
636 ia_sbr_header_data_struct *ptr_header_data) { in ixheaacd_sbr_read_pvc_sce() argument
667 for (i = 0; i < ptr_header_data->pstr_freq_band_data->num_nf_bands; i++) { in ixheaacd_sbr_read_pvc_sce()
673 ptr_pvc_data->pvc_mode = ptr_header_data->pvc_mode; in ixheaacd_sbr_read_pvc_sce()
679 ixheaacd_read_sbr_noise_floor_data(ptr_header_data, ptr_frame_data, in ixheaacd_sbr_read_pvc_sce()
[all …]
Dixheaacd_sbr_dec.c302 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
455 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 …]
Dixheaacd_freq_sca.c291 ia_sbr_header_data_struct *ptr_header_data, in ixheaacd_calc_master_frq_bnd_tbl() argument
294 WORD32 fs = ptr_header_data->out_sampling_freq; in ixheaacd_calc_master_frq_bnd_tbl()
304 WORD16 upsamp_fac = ptr_header_data->upsamp_fac; in ixheaacd_calc_master_frq_bnd_tbl()
313 err_code = ixheaacd_calc_k0_k2_bands(fs, ptr_header_data->start_freq, in ixheaacd_calc_master_frq_bnd_tbl()
314 ptr_header_data->stop_freq, upsamp_fac, in ixheaacd_calc_master_frq_bnd_tbl()
343 if (ptr_header_data->freq_scale == 0) { in ixheaacd_calc_master_frq_bnd_tbl()
345 if (ptr_header_data->alter_scale == 0) { in ixheaacd_calc_master_frq_bnd_tbl()
386 switch (ptr_header_data->freq_scale) { in ixheaacd_calc_master_frq_bnd_tbl()
413 if (ptr_header_data->alter_scale) { in ixheaacd_calc_master_frq_bnd_tbl()
567 ia_sbr_header_data_struct *ptr_header_data) { in ixheaacd_derive_hi_lo_freq_bnd_tbls() argument
[all …]
Dixheaacd_sbrdec_lpfuncs.c94 ia_sbr_header_data_struct *ptr_header_data, in ixheaacd_derive_lim_band_tbl() argument
105 WORD16 *f_lim_tbl = ptr_header_data->pstr_freq_band_data->freq_band_tbl_lim; in ixheaacd_derive_lim_band_tbl()
106 WORD16 *num_lf_bands = &ptr_header_data->pstr_freq_band_data->num_lf_bands; in ixheaacd_derive_lim_band_tbl()
108 ptr_header_data->pstr_freq_band_data->freq_band_table[LOW]; in ixheaacd_derive_lim_band_tbl()
109 WORD16 num_low_bnd = ptr_header_data->pstr_freq_band_data->num_sf_bands[LOW]; in ixheaacd_derive_lim_band_tbl()
110 WORD16 limiter_bands = ptr_header_data->limiter_bands; in ixheaacd_derive_lim_band_tbl()
193 ia_sbr_header_data_struct *ptr_header_data, in ixheaacd_lean_sbrconcealment() argument
212 cur_start_pos = ptr_prev_data->end_position - ptr_header_data->num_time_slots; in ixheaacd_lean_sbrconcealment()
213 cur_stop_pos = ptr_header_data->num_time_slots; in ixheaacd_lean_sbrconcealment()
227 ptr_header_data->pstr_freq_band_data->num_sf_bands[1]; in ixheaacd_lean_sbrconcealment()
[all …]
Dixheaacd_sbr_dec.h157 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,
Dixheaacd_env_dec.h32 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,
Dixheaacd_env_extr.h123 ia_sbr_header_data_struct *ptr_header_data,
129 ia_sbr_header_data_struct *ptr_header_data,
155 ia_sbr_header_data_struct *ptr_header_data,
165 ia_sbr_header_data_struct *ptr_header_data,
Dixheaacd_env_calc.h37 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,
Dixheaacd_freq_sca.h25 WORD32 ixheaacd_calc_frq_bnd_tbls(ia_sbr_header_data_struct *ptr_header_data,
Dixheaacd_env_calc.c670 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()
831 smooth_length = ((1 - ptr_header_data->smoothing_mode) << 2); in ixheaacd_calc_sbrenvelope()
836 if (ptr_header_data->interpol_freq) { in ixheaacd_calc_sbrenvelope()
858 ->sbr_lim_gains_m[2 * ptr_header_data->limiter_gains]; in ixheaacd_calc_sbrenvelope()
907 if (ptr_header_data->channel_mode == PS_STEREO) { in ixheaacd_calc_sbrenvelope()
934 num_cols = (ptr_header_data->num_time_slots * ptr_header_data->time_step); in ixheaacd_calc_sbrenvelope()