/external/libxaac/decoder/ |
D | ixheaacd_hybrid.c | 62 cum1 = ixheaacd_add32_sat(cum1, ixheaacd_mult32x16in32(ptr_qmf[1], *p2_6)); in ixheaacd_filt_2_ch() 64 ixheaacd_add32_sat(cum11, ixheaacd_mult32x16in32(ptr_qmf[17], *p2_6++)); in ixheaacd_filt_2_ch() 66 cum1 = ixheaacd_add32_sat(cum1, ixheaacd_mult32x16in32(ptr_qmf[3], *p2_6)); in ixheaacd_filt_2_ch() 68 ixheaacd_add32_sat(cum11, ixheaacd_mult32x16in32(ptr_qmf[19], *p2_6++)); in ixheaacd_filt_2_ch() 70 cum1 = ixheaacd_add32_sat(cum1, ixheaacd_mult32x16in32(ptr_qmf[5], *p2_6)); in ixheaacd_filt_2_ch() 72 ixheaacd_add32_sat(cum11, ixheaacd_mult32x16in32(ptr_qmf[21], *p2_6++)); in ixheaacd_filt_2_ch() 74 cum1 = ixheaacd_add32_sat(cum1, ixheaacd_mult32x16in32(ptr_qmf[7], *p2_6)); in ixheaacd_filt_2_ch() 76 ixheaacd_add32_sat(cum11, ixheaacd_mult32x16in32(ptr_qmf[23], *p2_6++)); in ixheaacd_filt_2_ch() 78 cum1 = ixheaacd_add32_sat(cum1, ixheaacd_mult32x16in32(ptr_qmf[9], *p2_6)); in ixheaacd_filt_2_ch() 80 ixheaacd_add32_sat(cum11, ixheaacd_mult32x16in32(ptr_qmf[25], *p2_6++)); in ixheaacd_filt_2_ch() [all …]
|
D | ixheaacd_lpfuncs.c | 139 ixheaacd_mult32x16in32(coef[SIZE08 + i], window_long[2 * i]), in ixheaacd_process_win_seq() 146 ixheaacd_mult32x16in32(-(coef[SIZE15 - 1 - i]), in ixheaacd_process_win_seq() 190 ixheaacd_shl32_dir_sat_limit(ixheaacd_mult32x16in32(temp_coef, win1), in ixheaacd_process_win_seq() 198 ixheaacd_mult32x16in32(ixheaacd_negate32_sat(temp_coef), win2), in ixheaacd_process_win_seq() 222 ixheaacd_shl32_dir_sat_limit((ixheaacd_mult32x16in32(tmp1_cur, short2) - in ixheaacd_long_short_win_process() 223 ixheaacd_mult32x16in32(tmp2_cur, short1)), in ixheaacd_long_short_win_process() 231 (ixheaacd_mult32x16in32(-(tmp1_cur), short1) - in ixheaacd_long_short_win_process() 232 ixheaacd_mult32x16in32(tmp2_cur, short2)), in ixheaacd_long_short_win_process() 257 ixheaacd_mult32x16in32(current[SIZE01 + i], in ixheaacd_long_short_win_seq() 268 ixheaacd_mult32x16in32(-(current[SIZE02 - 1 - i]), in ixheaacd_long_short_win_seq() [all …]
|
D | ixheaacd_aac_imdct.c | 154 ixheaacd_mac32x16in32(ixheaacd_mult32x16in32(tempr, cos), tempi, sin); in ixheaacd_pretwiddle_compute_dec() 159 *out_ptr = ixheaacd_sub32(ixheaacd_mult32x16in32(tempi, cos), in ixheaacd_pretwiddle_compute_dec() 160 ixheaacd_mult32x16in32(tempr, sin)); in ixheaacd_pretwiddle_compute_dec() 180 *out_ptr1 = ixheaacd_sub32(ixheaacd_mult32x16in32(tempi1, cos), in ixheaacd_pretwiddle_compute_dec() 181 ixheaacd_mult32x16in32(tempr1, sin)); in ixheaacd_pretwiddle_compute_dec() 186 *out_ptr1 = ixheaacd_mac32x16in32(ixheaacd_mult32x16in32(tempr1, cos), in ixheaacd_pretwiddle_compute_dec() 192 ixheaacd_mac32x16in32(ixheaacd_mult32x16in32(tempr, sin), tempi, cos); in ixheaacd_pretwiddle_compute_dec() 196 *out_ptr = ixheaacd_sub32(ixheaacd_mult32x16in32(tempi, sin), in ixheaacd_pretwiddle_compute_dec() 197 ixheaacd_mult32x16in32(tempr, cos)); in ixheaacd_pretwiddle_compute_dec() 207 *out_ptr1 = ixheaacd_sub32(ixheaacd_mult32x16in32(tempi1, cos1), in ixheaacd_pretwiddle_compute_dec() [all …]
|
D | ixheaacd_ps_dec.c | 485 power_buf[0] = ixheaacd_mult32x16in32(re0, (WORD16)(re0 >> 16)); in ixheaacd_decorrelation_dec() 487 power_buf[0], ixheaacd_mult32x16in32(im0, (WORD16)(im0 >> 16))); in ixheaacd_decorrelation_dec() 489 power_buf[0], ixheaacd_mult32x16in32(re1, (WORD16)(re1 >> 16))); in ixheaacd_decorrelation_dec() 491 power_buf[0], ixheaacd_mult32x16in32(im1, (WORD16)(im1 >> 16))); in ixheaacd_decorrelation_dec() 498 power_buf[1] = ixheaacd_mult32x16in32(re0, (WORD16)(re0 >> 16)); in ixheaacd_decorrelation_dec() 500 power_buf[1], ixheaacd_mult32x16in32(im0, (WORD16)(im0 >> 16))); in ixheaacd_decorrelation_dec() 502 power_buf[1], ixheaacd_mult32x16in32(re1, (WORD16)(re1 >> 16))); in ixheaacd_decorrelation_dec() 504 power_buf[1], ixheaacd_mult32x16in32(im1, (WORD16)(im1 >> 16))); in ixheaacd_decorrelation_dec() 513 power_buf[bin] = ixheaacd_mult32x16in32(re, (WORD16)(re >> 16)); in ixheaacd_decorrelation_dec() 515 power_buf[bin], ixheaacd_mult32x16in32(im, (WORD16)(im >> 16))); in ixheaacd_decorrelation_dec() [all …]
|
D | ixheaacd_qmf_dec.c | 144 val1 = ixheaacd_mult32x16in32(in1, twid_re) - in ixheaacd_fftposttw() 145 ixheaacd_mult32x16in32(temp[1], twid_im); in ixheaacd_fftposttw() 146 val2 = ixheaacd_mult32x16in32(temp[1], twid_re) + in ixheaacd_fftposttw() 147 ixheaacd_mult32x16in32(in1, twid_im); in ixheaacd_fftposttw() 190 out_re = ixheaacd_sub32_sat(ixheaacd_mult32x16in32(inp_re, twid_re), in ixheaacd_posttwdct2() 191 ixheaacd_mult32x16in32(inp_im, twid_im)); in ixheaacd_posttwdct2() 192 out_im = ixheaacd_add32_sat(ixheaacd_mult32x16in32(inp_im, twid_re), in ixheaacd_posttwdct2() 193 ixheaacd_mult32x16in32(inp_re, twid_im)); in ixheaacd_posttwdct2() 205 out_re = ixheaacd_mult32x16in32(last_val, twid_re); in ixheaacd_posttwdct2() 254 val1 = ixheaacd_mult32x16in32(in1, twid_re) - in ixheaacd_fftposttw_32() [all …]
|
D | ixheaacd_lpp_tran.c | 149 ixheaacd_add32(ixheaacd_sub32(ixheaacd_mult32x16in32(prev1r, coef1r), in ixheaacd_filterstep3() 150 ixheaacd_mult32x16in32(prev1i, coef1i)), in ixheaacd_filterstep3() 151 ixheaacd_mult32x16in32(prev2r, coef2r)), in ixheaacd_filterstep3() 152 ixheaacd_mult32x16in32(prev2i, coef2i)); in ixheaacd_filterstep3() 159 ixheaacd_add32_sat(ixheaacd_mult32x16in32(prev1r, coef1i), in ixheaacd_filterstep3() 160 ixheaacd_mult32x16in32(prev1i, coef1r)), in ixheaacd_filterstep3() 161 ixheaacd_mult32x16in32(prev2r, coef2i)), in ixheaacd_filterstep3() 162 ixheaacd_mult32x16in32(prev2i, coef2r)); in ixheaacd_filterstep3() 1000 (ixheaacd_mult32x16in32(tmp_r, inverse_d) << (norm_d + 1)) >> 15); in ixheaacd_hf_generator() 1007 (ixheaacd_mult32x16in32(tmp_i, inverse_d) << (norm_d + 1)) >> 15); in ixheaacd_hf_generator() [all …]
|
D | ixheaacd_multichannel.c | 268 ixheaacd_mult32x16in32(gain_cc, *ptr_out_samp++), 3)); in ixheaacd_dec_couple_channel() 363 ixheaacd_mult32x16in32( in ixheaacd_dec_downmix_to_stereo() 372 ixheaacd_mult32x16in32( in ixheaacd_dec_downmix_to_stereo() 382 ixheaacd_mult32x16in32( in ixheaacd_dec_downmix_to_stereo() 391 ixheaacd_mult32x16in32( in ixheaacd_dec_downmix_to_stereo()
|
D | ixheaacd_env_calc.c | 1510 signal_real = ixheaacd_mult32x16in32(*ptr_real_buf, *ptr_gain_buf++); in ixheaacd_harm_idx_zerotwolp_dec() 1531 signal_real = ixheaacd_mult32x16in32(*ptr_real_buf, *ptr_gain_buf++); in ixheaacd_harm_idx_zerotwolp_dec() 1562 signal_real = ixheaacd_mult32x16in32(*ptr_real_buf, *ptr_gain_buf++); in ixheaacd_harm_idx_onethreelp() 1588 temp_mult2 = ixheaacd_mult32x16in32(FACTOR, sine_level_next); in ixheaacd_harm_idx_onethreelp() 1589 temp_mult = ixheaacd_mult32x16in32(FACTOR, sine_level); in ixheaacd_harm_idx_onethreelp() 1613 signal_real = ixheaacd_mult32x16in32(q_real, gain_m); in ixheaacd_harm_idx_onethreelp() 1635 WORD32 add_sine = ixheaacd_mult32x16in32( in ixheaacd_harm_idx_onethreelp() 1648 signal_real = ixheaacd_mult32x16in32(*ptr_real_buf, *ptr_gain_buf++); in ixheaacd_harm_idx_onethreelp() 1656 temp_mult_sine = ixheaacd_mult32x16in32(FACTOR, sine_level); in ixheaacd_harm_idx_onethreelp() 1670 temp_mult2 = ixheaacd_mult32x16in32(FACTOR, sine_level); in ixheaacd_harm_idx_onethreelp() [all …]
|
D | ixheaacd_basic_ops40.h | 85 static PLATFORM_INLINE WORD32 ixheaacd_mult32x16in32(WORD32 a, WORD16 b) { in ixheaacd_mult32x16in32() function 145 result = a + ixheaacd_mult32x16in32(b, c); in ixheaacd_mac32x16in32() 187 result = a - ixheaacd_mult32x16in32(b, c); in msu32x16in32() 231 sum += (WORD40)(ixheaacd_mult32x16in32(x[i], y[i])); in mac3216_arr40()
|
D | ixheaacd_block.c | 1197 ixheaacd_mult32x16in32(coef[size * 2 - 1 - i], window2), q_shift), in ixheaacd_over_lap_add1_dec() 1203 ixheaacd_mult32x16in32(ixheaacd_negate32(coef[size * 2 - 1 - i]), in ixheaacd_over_lap_add1_dec() 1220 ixheaacd_mult32x16in32(coef[size + i], window[2 * i]), in ixheaacd_over_lap_add2_dec() 1221 ixheaacd_mult32x16in32(prev[size - 1 - i], window[2 * i + 1])); in ixheaacd_over_lap_add2_dec() 1227 ixheaacd_mult32x16in32(ixheaacd_negate32_sat(coef[size * 2 - 1 - i]), in ixheaacd_over_lap_add2_dec() 1229 ixheaacd_mult32x16in32(prev[i], window[2 * size - 2 * i - 2])); in ixheaacd_over_lap_add2_dec()
|
D | ixheaacd_aac_tns.c | 403 acc, ixheaacd_mult32x16in32(ptr_filter_state[j - 1], lpc[j])); in ixheaacd_tns_ar_filter_dec() 418 acc, ixheaacd_mult32x16in32(ptr_filter_state[j - 1], lpc[j])); in ixheaacd_tns_ar_filter_dec()
|
/external/libxaac/decoder/generic/ |
D | ixheaacd_qmf_dec_generic.c | 97 *p_out++ = ixheaacd_mult32x16in32(temp1[0], twid_re) + in ixheaacd_dct3_32() 98 ixheaacd_mult32x16in32(temp1[1], twid_im); in ixheaacd_dct3_32() 99 *p_out++ = -ixheaacd_mult32x16in32(temp1[1], twid_re) + in ixheaacd_dct3_32() 100 ixheaacd_mult32x16in32(temp1[0], twid_im); in ixheaacd_dct3_32() 115 temp2[2] = ixheaacd_mult32x16in32(temp1[0], twid_re) + in ixheaacd_dct3_32() 116 ixheaacd_mult32x16in32(temp1[1], twid_im); in ixheaacd_dct3_32() 117 temp2[3] = -ixheaacd_mult32x16in32(temp1[1], twid_re) + in ixheaacd_dct3_32() 118 ixheaacd_mult32x16in32(temp1[0], twid_im); in ixheaacd_dct3_32() 157 temp1[4] = ixheaacd_mult32x16in32(temp1[0], twid_re) + in ixheaacd_dct3_32() 158 ixheaacd_mult32x16in32(temp1[2], twid_im); in ixheaacd_dct3_32() [all …]
|
/external/libxaac/decoder/armv8/ |
D | ixheaacd_qmf_dec_armv8.c | 103 *p_out++ = ixheaacd_mult32x16in32(temp1[0], twid_re) + in ixheaacd_dct3_32() 104 ixheaacd_mult32x16in32(temp1[1], twid_im); in ixheaacd_dct3_32() 105 *p_out++ = -ixheaacd_mult32x16in32(temp1[1], twid_re) + in ixheaacd_dct3_32() 106 ixheaacd_mult32x16in32(temp1[0], twid_im); in ixheaacd_dct3_32() 121 temp2[2] = ixheaacd_mult32x16in32(temp1[0], twid_re) + in ixheaacd_dct3_32() 122 ixheaacd_mult32x16in32(temp1[1], twid_im); in ixheaacd_dct3_32() 123 temp2[3] = -ixheaacd_mult32x16in32(temp1[1], twid_re) + in ixheaacd_dct3_32() 124 ixheaacd_mult32x16in32(temp1[0], twid_im); in ixheaacd_dct3_32() 163 temp1[4] = ixheaacd_mult32x16in32(temp1[0], twid_re) + in ixheaacd_dct3_32() 164 ixheaacd_mult32x16in32(temp1[2], twid_im); in ixheaacd_dct3_32() [all …]
|