/external/libxaac/decoder/ |
D | ixheaacd_mps_blind.c | 65 ia_mps_dec_auxilary_struct *p_aux_struct = pstr_mps_state->aux_struct; in ixheaacd_init_blind() local 110 memset(p_aux_struct->temp_shape_enable_channel_stp, 0, in ixheaacd_init_blind() 111 MAX_OUTPUT_CHANNELS_MPS * sizeof(p_aux_struct->temp_shape_enable_channel_stp[0])); in ixheaacd_init_blind() 112 memset(p_aux_struct->temp_shape_enable_channel_ges, 0, in ixheaacd_init_blind() 113 MAX_OUTPUT_CHANNELS_MPS * sizeof(p_aux_struct->temp_shape_enable_channel_ges[0])); in ixheaacd_init_blind() 120 ia_mps_dec_auxilary_struct *p_aux_struct = pstr_mps_state->aux_struct; in ixheaacd_signal_2_parameters() local 188 p_aux_struct->ott_cld[0][ps][pb] = in ixheaacd_signal_2_parameters() 192 p_aux_struct->ott_cld[0][ps][pb] = in ixheaacd_signal_2_parameters() 193 ixheaacd_mps_add32(p_aux_struct->ott_cld[0][ps][pb], temp_1, &qtemp, qtemp1); in ixheaacd_signal_2_parameters() 198 p_aux_struct->ott_cld[0][ps][pb] = in ixheaacd_signal_2_parameters() [all …]
|
D | ixheaacd_mps_calc_m1m2_tree_52xx.c | 46 ia_mps_dec_auxilary_struct *p_aux_struct = pstr_mps_state->aux_struct; in ixheaacd_calc_m1m2_5227() local 90 for (pb = p_aux_struct->ttt_config[i][0].start_band; in ixheaacd_calc_m1m2_5227() 91 pb < p_aux_struct->ttt_config[i][0].stop_band; pb++) { in ixheaacd_calc_m1m2_5227() 98 if (p_aux_struct->ttt_config[i][0].mode >= 2) { in ixheaacd_calc_m1m2_5227() 99 mtx_inversion = mtx_inversion && (p_aux_struct->ttt_config[i][0].mode == 2 || in ixheaacd_calc_m1m2_5227() 100 p_aux_struct->ttt_config[i][0].mode == 4); in ixheaacd_calc_m1m2_5227() 103 ixheaacd_calculate_ttt(pstr_mps_state, ps, pb, p_aux_struct->ttt_config[i][0].mode, in ixheaacd_calc_m1m2_5227() 137 ixheaacd_calculate_mtx_inv(pstr_mps_state, ps, pb, p_aux_struct->ttt_config[i][0].mode, in ixheaacd_calc_m1m2_5227() 229 for (pb = p_aux_struct->ttt_config[i][0].start_band; in ixheaacd_calc_m1m2_5227() 230 pb < p_aux_struct->ttt_config[i][0].stop_band; pb++) { in ixheaacd_calc_m1m2_5227() [all …]
|
D | ixheaacd_mps_bitdec.c | 879 ia_mps_dec_auxilary_struct *p_aux_struct = pstr_mps_state->aux_struct; in ixheaacd_parse_frame() local 949 if (p_aux_struct->ttt_config[0][i].mode < 2) { in ixheaacd_parse_frame() 952 p_aux_struct->ttt_config[0][i].bitstream_start_band, in ixheaacd_parse_frame() 953 p_aux_struct->ttt_config[0][i].bitstream_stop_band); in ixheaacd_parse_frame() 956 p_aux_struct->ttt_config[0][i].bitstream_start_band, in ixheaacd_parse_frame() 957 p_aux_struct->ttt_config[0][i].bitstream_stop_band); in ixheaacd_parse_frame() 960 p_aux_struct->ttt_config[0][i].bitstream_start_band, in ixheaacd_parse_frame() 961 p_aux_struct->ttt_config[0][i].bitstream_stop_band); in ixheaacd_parse_frame() 965 p_aux_struct->ttt_config[0][i].bitstream_start_band, in ixheaacd_parse_frame() 966 p_aux_struct->ttt_config[0][i].bitstream_stop_band); in ixheaacd_parse_frame() [all …]
|
D | ixheaacd_mps_calc_m1m2_tree_727x.c | 46 ia_mps_dec_auxilary_struct *p_aux_struct = pstr_mps_state->aux_struct; in ixheaacd_calc_m1m2_7271() local 47 ia_mps_dec_m2_param_struct *m2_param = p_aux_struct->m2_param; in ixheaacd_calc_m1m2_7271() 77 WORD32 mode_0 = p_aux_struct->ttt_config[0][0].mode; in ixheaacd_calc_m1m2_7271() 78 WORD32 mode_1 = p_aux_struct->ttt_config[1][0].mode; in ixheaacd_calc_m1m2_7271() 121 (p_aux_struct->ttt_config[1][0].start_band >= p_aux_struct->ttt_config[1][0].stop_band)) in ixheaacd_calc_m1m2_7271() 123 else if (mode_0 == 0 && (p_aux_struct->ttt_config[0][0].start_band >= in ixheaacd_calc_m1m2_7271() 124 p_aux_struct->ttt_config[0][0].stop_band)) in ixheaacd_calc_m1m2_7271() 139 for (pb = p_aux_struct->ttt_config[i][0].start_band; in ixheaacd_calc_m1m2_7271() 140 pb < p_aux_struct->ttt_config[i][0].stop_band; pb++) { in ixheaacd_calc_m1m2_7271() 145 if (p_aux_struct->ttt_config[i][0].mode >= 2) { in ixheaacd_calc_m1m2_7271() [all …]
|
D | ixheaacd_mps_calc_m1m2_emm.c | 46 ia_mps_dec_auxilary_struct *p_aux_struct = pstr_mps_state->aux_struct; in ixheaacd_calc_m1m2_emm() local 47 ia_mps_dec_m2_param_struct *m2_param = p_aux_struct->m2_param; in ixheaacd_calc_m1m2_emm() 73 WORD32 m11 = p_aux_struct->ttt_cpc_1[0][ps][pb] + ONE_IN_Q16; in ixheaacd_calc_m1m2_emm() 74 WORD32 m12 = p_aux_struct->ttt_cpc_2[0][ps][pb] - ONE_IN_Q15; in ixheaacd_calc_m1m2_emm() 75 WORD32 m21 = p_aux_struct->ttt_cpc_1[0][ps][pb] - ONE_IN_Q15; in ixheaacd_calc_m1m2_emm() 76 WORD32 m22 = p_aux_struct->ttt_cpc_2[0][ps][pb] + ONE_IN_Q16; in ixheaacd_calc_m1m2_emm() 77 WORD32 m31 = ONE_IN_Q15 - p_aux_struct->ttt_cpc_1[0][ps][pb]; in ixheaacd_calc_m1m2_emm() 78 WORD32 m32 = ONE_IN_Q15 - p_aux_struct->ttt_cpc_2[0][ps][pb]; in ixheaacd_calc_m1m2_emm() 88 p_aux_struct->ttt_cpc_1[0][ps][pb], p_aux_struct->ttt_cpc_2[0][ps][pb], &weight1, in ixheaacd_calc_m1m2_emm()
|
D | ixheaacd_mps_calc_m1m2_common.c | 416 ia_mps_dec_auxilary_struct *p_aux_struct = pstr_mps_state->aux_struct; in ixheaacd_param_2_umx_ps() local 419 ixheaacd_param_2_umx_ps_core_tables(p_aux_struct->ott_cld[ott_box_indx][parameter_set_indx], in ixheaacd_param_2_umx_ps() 421 p_aux_struct->num_ott_bands[ott_box_indx], res_bands, h11, in ixheaacd_param_2_umx_ps() 425 for (band = p_aux_struct->num_ott_bands[ott_box_indx]; band < num_parameter_bands; band++) { in ixheaacd_param_2_umx_ps() 520 ia_mps_dec_auxilary_struct *p_aux_struct = pstr_mps_state->aux_struct; in ixheaacd_calculate_ttt() local 524 m_ttt[0][0] = (p_aux_struct->ttt_cpc_1[0][ps][pb] + ONE_IN_Q16); in ixheaacd_calculate_ttt() 525 m_ttt[0][1] = (p_aux_struct->ttt_cpc_2[0][ps][pb] - ONE_IN_Q15); in ixheaacd_calculate_ttt() 526 m_ttt[1][0] = (p_aux_struct->ttt_cpc_1[0][ps][pb] - ONE_IN_Q15); in ixheaacd_calculate_ttt() 527 m_ttt[1][1] = (p_aux_struct->ttt_cpc_2[0][ps][pb] + ONE_IN_Q16); in ixheaacd_calculate_ttt() 528 m_ttt[2][0] = (ONE_IN_Q15 - p_aux_struct->ttt_cpc_1[0][ps][pb]); in ixheaacd_calculate_ttt() [all …]
|
D | ixheaacd_mps_calc_m1m2_tree_51sx.c | 50 ia_mps_dec_auxilary_struct *p_aux_struct = pstr_mps_state->aux_struct; in ixheaacd_calc_m1m2_51s1() local 51 ia_mps_dec_m2_param_struct *m2_param = p_aux_struct->m2_param; in ixheaacd_calc_m1m2_51s1() 128 temp_1 = ixheaacd_mps_mult32_shr_15(temp_1, p_aux_struct->ott_icc[3][ps][pb]); in ixheaacd_calc_m1m2_51s1() 131 temp_2 = ixheaacd_mps_mult32_shr_15(temp_2, p_aux_struct->ott_icc[3][ps][pb]); in ixheaacd_calc_m1m2_51s1() 181 ia_mps_dec_auxilary_struct *p_aux_struct = pstr_mps_state->aux_struct; in ixheaacd_calc_m1m2_51s2() local 182 ia_mps_dec_m2_param_struct *m2_param = p_aux_struct->m2_param; in ixheaacd_calc_m1m2_51s2() 244 cross = ixheaacd_mps_mult32_shr_15(temp_1, p_aux_struct->ott_icc[1][ps][pb]); in ixheaacd_calc_m1m2_51s2() 251 temp_1 = ixheaacd_mps_mult32_shr_15(temp_1, p_aux_struct->ott_icc[0][ps][pb]); in ixheaacd_calc_m1m2_51s2() 259 temp_1 = ixheaacd_mps_mult32_shr_15(temp_1, p_aux_struct->ott_icc[0][ps][pb]); in ixheaacd_calc_m1m2_51s2() 267 temp_1 = ixheaacd_mps_mult32_shr_15(temp_1, p_aux_struct->ott_icc[0][ps][pb]); in ixheaacd_calc_m1m2_51s2()
|
D | ixheaacd_mps_process.c | 267 ia_mps_dec_auxilary_struct *p_aux_struct = pstr_mps_state->aux_struct; in ixheaacd_merge_res_decor() local 293 if ((kernels_ptr[qs] < ((UWORD32)(p_aux_struct->ttt_config[0][0].stop_band)) && in ixheaacd_merge_res_decor() 294 p_aux_struct->ttt_config[0][0].use_ttt_decorr) || in ixheaacd_merge_res_decor() 295 (kernels_ptr[qs] >= ((UWORD32)p_aux_struct->ttt_config[1][0].start_band) && in ixheaacd_merge_res_decor() 296 p_aux_struct->ttt_config[1][0].use_ttt_decorr)) { in ixheaacd_merge_res_decor()
|
D | ixheaacd_mps_calc_m1m2_tree_757x.c | 46 ia_mps_dec_auxilary_struct *p_aux_struct = pstr_mps_state->aux_struct; in ixheaacd_calc_m1m2_7571() local 47 ia_mps_dec_m2_param_struct *m2_param = p_aux_struct->m2_param; in ixheaacd_calc_m1m2_7571() 131 ia_mps_dec_auxilary_struct *p_aux_struct = pstr_mps_state->aux_struct; in ixheaacd_calc_m1m2_7572() local 132 ia_mps_dec_m2_param_struct *m2_param = p_aux_struct->m2_param; in ixheaacd_calc_m1m2_7572()
|
D | ixheaacd_mps_calc_m1m2_tree_515x.c | 46 ia_mps_dec_auxilary_struct *p_aux_struct = pstr_mps_state->aux_struct; in ixheaacd_calc_m1m2_5151() local 47 ia_mps_dec_m2_param_struct *m2_param = p_aux_struct->m2_param; in ixheaacd_calc_m1m2_5151() 122 for (pb = 0; pb < p_aux_struct->num_ott_bands[4]; pb++) { in ixheaacd_calc_m1m2_5151() 130 for (pb = p_aux_struct->num_ott_bands[4]; pb < num_parameter_bands; pb++) { in ixheaacd_calc_m1m2_5151() 258 ia_mps_dec_auxilary_struct *p_aux_struct = pstr_mps_state->aux_struct; in ixheaacd_calc_m1m2_5152() local 259 ia_mps_dec_m2_param_struct *m2_param = p_aux_struct->m2_param; in ixheaacd_calc_m1m2_5152() 325 for (pb = 0; pb < p_aux_struct->num_ott_bands[2]; pb++) { in ixheaacd_calc_m1m2_5152() 333 for (pb = p_aux_struct->num_ott_bands[2]; pb < num_parameter_bands; pb++) { in ixheaacd_calc_m1m2_5152()
|
D | ixheaacd_mps_m1m2_common.c | 189 ia_mps_dec_auxilary_struct *p_aux_struct = pstr_mps_state->aux_struct; in ixheaacd_update_alpha() local 190 WORD32 *arbdmx_alpha = p_aux_struct->arbdmx_alpha; in ixheaacd_update_alpha() 201 if (p_aux_struct->arbdmx_residual_abs[ch]) { in ixheaacd_update_alpha()
|
D | ixheaacd_mps_reshape_bb_env.c | 386 ia_mps_dec_auxilary_struct *p_aux_struct = pstr_mps_state->aux_struct; in ixheaacd_reshape_bb_env() local 387 WORD32 *temp_shape_enable_channel_ges = p_aux_struct->temp_shape_enable_channel_ges; in ixheaacd_reshape_bb_env() 422 WORD32 *env = &p_aux_struct->env_shape_data[ch2][0]; in ixheaacd_reshape_bb_env()
|
D | ixheaacd_mps_smoothing.c | 258 ia_mps_dec_auxilary_struct *p_aux_struct = pstr_mps_state->aux_struct; in ixheaacd_smooth_m1m2() local 259 ia_mps_dec_m2_param_struct *m2_param = p_aux_struct->m2_param; in ixheaacd_smooth_m1m2()
|