Home
last modified time | relevance | path

Searched refs:ixheaacd_add32_sat (Results 1 – 25 of 28) sorted by relevance

12

/external/libxaac/decoder/
Dixheaacd_dsp_fft32x32s.c40 a00 = ixheaacd_add32_sat(y[0], y[8]); in ixheaacd_inv_dit_fft_8pt_dec()
43 a20 = ixheaacd_add32_sat(y[1], y[9]); in ixheaacd_inv_dit_fft_8pt_dec()
46 a10 = ixheaacd_add32_sat(y[4], y[12]); in ixheaacd_inv_dit_fft_8pt_dec()
49 a30 = ixheaacd_add32_sat(y[5], y[13]); in ixheaacd_inv_dit_fft_8pt_dec()
52 x[0] = ixheaacd_add32_sat(a00, a10); in ixheaacd_inv_dit_fft_8pt_dec()
54 x[1] = ixheaacd_add32_sat(a20, a30); in ixheaacd_inv_dit_fft_8pt_dec()
58 x[6] = ixheaacd_add32_sat(a0, a1); in ixheaacd_inv_dit_fft_8pt_dec()
59 x[3] = ixheaacd_add32_sat(a3, a2); in ixheaacd_inv_dit_fft_8pt_dec()
62 a00 = ixheaacd_add32_sat(y[2], y[10]); in ixheaacd_inv_dit_fft_8pt_dec()
65 a20 = ixheaacd_add32_sat(y[3], y[11]); in ixheaacd_inv_dit_fft_8pt_dec()
[all …]
Dixheaacd_fft.c59 result = ixheaacd_add32_sat(a, ixheaacd_mult32_sat(b, c)); in ixheaacd_mac32_sat()
100 x0r = ixheaacd_add32_sat(x0r, x2r); in ixheaacd_mps_complex_fft_64_dec()
101 x0i = ixheaacd_add32_sat(x0i, x2i); in ixheaacd_mps_complex_fft_64_dec()
104 x1r = ixheaacd_add32_sat(x1r, x3r); in ixheaacd_mps_complex_fft_64_dec()
105 x1i = ixheaacd_add32_sat(x1i, x3i); in ixheaacd_mps_complex_fft_64_dec()
109 x0r = ixheaacd_add32_sat(x0r, x1r); in ixheaacd_mps_complex_fft_64_dec()
110 x0i = ixheaacd_add32_sat(x0i, x1i); in ixheaacd_mps_complex_fft_64_dec()
113 x2r = ixheaacd_add32_sat(x2r, x3i); in ixheaacd_mps_complex_fft_64_dec()
116 x3r = ixheaacd_add32_sat(x2i, ixheaacd_shl32_sat(x3r, 1)); in ixheaacd_mps_complex_fft_64_dec()
154 x0r = ixheaacd_add32_sat(x0r, x2r); in ixheaacd_mps_complex_fft_64_dec()
[all …]
Dixheaacd_hybrid.c62 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 …]
Dixheaacd_basic_ops.c61 *dest = ixheaacd_add32_sat(*src1, ((*src2) >> (fac_q - output_q))); in ixheaacd_combine_fac()
68 *dest = ixheaacd_add32_sat(*src1, ((*src2) << (output_q - fac_q))); in ixheaacd_combine_fac()
85 *dest = ixheaacd_add32_sat( in ixheaacd_windowing_long1()
88 *(dest + (vlen - (2 * i)) - 1) = ixheaacd_add32_sat( in ixheaacd_windowing_long1()
102 *dest = ixheaacd_add32_sat( in ixheaacd_windowing_long1()
106 *(dest + (vlen - (2 * i)) - 1) = ixheaacd_add32_sat( in ixheaacd_windowing_long1()
141 dest[i] = ixheaacd_add32_sat( in ixheaacd_windowing_long2()
156 ixheaacd_add32_sat((-src1[ixheaacd_drc_offset->n_long / 2 + in ixheaacd_windowing_long2()
178 dest[i] = ixheaacd_add32_sat( in ixheaacd_windowing_long2()
193 ixheaacd_add32_sat((-src1[ixheaacd_drc_offset->n_long / 2 + in ixheaacd_windowing_long2()
[all …]
Dixheaacd_aac_imdct.c81 a = ixheaacd_add32_sat(a, (1 << (b - 1))); in ixheaacd_shr32_drc()
2249 r1 = ixheaacd_add32_sat(buf1a[2], buf1a[8]); in ixheaacd_fft_15_ld_dec()
2251 r3 = ixheaacd_add32_sat(buf1a[4], buf1a[6]); in ixheaacd_fft_15_ld_dec()
2256 r1 = ixheaacd_add32_sat(r1, r3); in ixheaacd_fft_15_ld_dec()
2258 temp1 = ixheaacd_add32_sat(buf1a[0], r1); in ixheaacd_fft_15_ld_dec()
2260 r1 = ixheaacd_add32_sat( in ixheaacd_fft_15_ld_dec()
2264 r1 = ixheaacd_add32_sat(r1, t); in ixheaacd_fft_15_ld_dec()
2266 t = ixheaacd_mult32_shl(ixheaacd_add32_sat(r4, r2), cos_51); in ixheaacd_fft_15_ld_dec()
2267 r4 = ixheaacd_add32_sat( in ixheaacd_fft_15_ld_dec()
2269 r2 = ixheaacd_add32_sat(t, ixheaacd_mult32_shl(r2, cos_53)); in ixheaacd_fft_15_ld_dec()
[all …]
Dixheaacd_ps_dec.c278 ixheaacd_add32_sat( in ixheaacd_decorr_filter1_dec()
306 (WORD16)(ixheaacd_add32_sat( in ixheaacd_decorr_filter1_dec()
385 ixheaacd_add32_sat( in ixheaacd_decorr_filter2_dec()
417 ixheaacd_add32_sat( in ixheaacd_decorr_filter2_dec()
486 power_buf[0] = ixheaacd_add32_sat( in ixheaacd_decorrelation_dec()
488 power_buf[0] = ixheaacd_add32_sat( in ixheaacd_decorrelation_dec()
490 power_buf[0] = ixheaacd_add32_sat( in ixheaacd_decorrelation_dec()
499 power_buf[1] = ixheaacd_add32_sat( in ixheaacd_decorrelation_dec()
501 power_buf[1] = ixheaacd_add32_sat( in ixheaacd_decorrelation_dec()
503 power_buf[1] = ixheaacd_add32_sat( in ixheaacd_decorrelation_dec()
[all …]
Dixheaacd_qmf_dec.c137 in1 = ixheaacd_add32_sat(temp[3], temp[1]); in ixheaacd_fftposttw()
140 temp[3] = ixheaacd_add32_sat(temp[0], temp[2]); in ixheaacd_fftposttw()
151 *p_out_fwd++ = ixheaacd_add32_sat(temp[3], val1); in ixheaacd_fftposttw()
152 *p_out_fwd++ = ixheaacd_add32_sat(in2, val2); in ixheaacd_fftposttw()
192 out_im = ixheaacd_add32_sat(ixheaacd_mult32x16in32(inp_im, twid_re), in ixheaacd_posttwdct2()
242 in1 = ixheaacd_add32_sat(temp1, temp3); in ixheaacd_fftposttw_32()
246 temp3 = ixheaacd_add32_sat(temp0, temp2); in ixheaacd_fftposttw_32()
262 *ptr_out_fwd++ = ixheaacd_add32_sat(temp3, val1); in ixheaacd_fftposttw_32()
263 *ptr_out_fwd++ = ixheaacd_add32_sat(in2, val2); in ixheaacd_fftposttw_32()
311 out_im = ixheaacd_add32_sat(ixheaacd_mult32x16in32(inp_re, twid_re), temp2); in ixheaacd_posttwdct2_32()
[all …]
Dixheaacd_lpfuncs.c101 a = ixheaacd_add32_sat(a, (1 << (b - 1))); in ixheaacd_shr32_drc()
142 accu = ixheaacd_add32_sat(temp1, ((WORD32)prev[i] << 16)); in ixheaacd_process_win_seq()
667 ixheaacd_add32_sat(ixheaacd_shl32(win_op, q_shift), *ptr_out++); in ixheaacd_eld_dec_windowing()
677 ixheaacd_add32_sat(ixheaacd_shl32(win_op, q_shift), *ptr_out++); in ixheaacd_eld_dec_windowing()
686 ixheaacd_add32_sat(ixheaacd_shl32(win_op, q_shift), *ptr_out++); in ixheaacd_eld_dec_windowing()
696 ixheaacd_add32_sat(ixheaacd_shl32(win_op, q_shift), *ptr_out++); in ixheaacd_eld_dec_windowing()
711 ixheaacd_add32_sat(ixheaacd_shl32(win_op, q_shift), *ptr_out++); in ixheaacd_eld_dec_windowing()
716 ixheaacd_add32_sat(ixheaacd_shl32(win_op, q_shift), *ptr_out++); in ixheaacd_eld_dec_windowing()
721 ixheaacd_add32_sat(ixheaacd_shl32(win_op, q_shift), *ptr_out++); in ixheaacd_eld_dec_windowing()
726 ixheaacd_add32_sat(ixheaacd_shl32(win_op, q_shift), *ptr_out++); in ixheaacd_eld_dec_windowing()
[all …]
Dixheaacd_avq_dec.c90 rem_temp[j] = ixheaacd_add32_sat(rem_temp[j], (2 << count)); in ixheaacd_nearest_neighbor_2d()
130 e0 = ixheaacd_add32_sat(ixheaacd_sat64_32((WORD64)tmp * (WORD64)tmp), e0); in ixheaacd_voronoi_search()
132 e1 = ixheaacd_add32_sat(ixheaacd_sat64_32((WORD64)tmp * (WORD64)tmp), e1); in ixheaacd_voronoi_search()
159 sum = ixheaacd_add32_sat(sum, tmp); in ixheaacd_voronoi_idx_dec()
160 y[i] = ixheaacd_add32_sat(y[i], tmp); in ixheaacd_voronoi_idx_dec()
164 y[0] = ixheaacd_add32_sat( in ixheaacd_voronoi_idx_dec()
166 ixheaacd_add32_sat(ixheaacd_sat64_32((WORD64)4 * (WORD64)kv[0]), sum)); in ixheaacd_voronoi_idx_dec()
305 ixheaacd_add32_sat(ixheaacd_sat64_32((WORD64)m * (WORD64)b[i]), c[i]); in ixheaacd_rotated_gosset_mtx_dec()
Dixheaacd_basic_funcs.c153 WORD32 a = ixheaacd_add32_sat(0x900ebee0, in ixheaacd_one_by_sqrt_calc()
156 ixheaacd_add32_sat(0x573b645a, ixheaacd_mult32x16h_in32_shl_sat(op, a)); in ixheaacd_one_by_sqrt_calc()
163 iy = ixheaacd_add32_sat(iy, ixheaacd_mult32_shl_sat(a, iy)); in ixheaacd_one_by_sqrt_calc()
168 iy = ixheaacd_add32_sat(iy, ixheaacd_mult32_shl_sat(a, iy)); in ixheaacd_one_by_sqrt_calc()
173 iy = ixheaacd_add32_sat(iy, ixheaacd_mult32_shl_sat(a, iy)); in ixheaacd_one_by_sqrt_calc()
Dixheaacd_mps_poly_filt.c74 tmp = ixheaacd_add32_sat(ixheaacd_mult32(ptr_in[k], table_re[k >> 1]), in ixheaacd_mps_synt_pre_twiddle_dec()
76 ptr_in[k + 1] = ixheaacd_add32_sat( in ixheaacd_mps_synt_pre_twiddle_dec()
88 tmp = ixheaacd_add32_sat(ixheaacd_mult32(ptr_in[k], table_re[k]), in ixheaacd_mps_synt_post_twiddle_dec()
92 ixheaacd_add32_sat(ixheaacd_mult32(-ptr_in[k], table_im[k]), in ixheaacd_mps_synt_post_twiddle_dec()
105 ixheaacd_add32_sat(ixheaacd_mult32(fin_re[l], table_re[l]), in ixheaacd_mps_synt_post_fft_twiddle_dec()
Dixheaacd_ext_ch_ele.c326 *l_spec = ixheaacd_add32_sat(temp_r, temp_l); in ixheaacd_ms_stereo()
356 *out = ixheaacd_add32_sat( in ixheaacd_filter_and_add()
363 *out = ixheaacd_add32_sat( in ixheaacd_filter_and_add()
369 *out = ixheaacd_add32_sat( in ixheaacd_filter_and_add()
376 *out = ixheaacd_add32_sat( in ixheaacd_filter_and_add()
382 *out = ixheaacd_add32_sat( in ixheaacd_filter_and_add()
390 *out = ixheaacd_add32_sat( in ixheaacd_filter_and_add()
400 *out = ixheaacd_add32_sat( in ixheaacd_filter_and_add()
411 *out = ixheaacd_add32_sat( in ixheaacd_filter_and_add()
539 l_spec[i] = ixheaacd_add32_sat(l_spec[i], mid_side); in ixheaacd_cplx_pred_upmixing()
[all …]
Dixheaacd_aac_tns.c62 result = ixheaacd_add32_sat(c, result); in ixheaacd_mac32_tns_sat()
128 accu1 = ixheaacd_add32_sat(accu1, in ixheaacd_tns_parcor_to_lpc()
134 accu2 = ixheaacd_add32_sat(accu2, in ixheaacd_tns_parcor_to_lpc()
402 acc = ixheaacd_add32_sat( in ixheaacd_tns_ar_filter_dec()
417 acc = ixheaacd_add32_sat( in ixheaacd_tns_ar_filter_dec()
Dixheaacd_stereo.c88 *l_spec++ = ixheaacd_add32_sat(left_coef, right_coef); in ixheaacd_ms_stereo_process()
90 *l_spec++ = ixheaacd_add32_sat(left_coef2, right_coef2); in ixheaacd_ms_stereo_process()
Dixheaacd_basic_ops32.h178 static PLATFORM_INLINE WORD32 ixheaacd_add32_sat(WORD32 a, WORD32 b) { in ixheaacd_add32_sat() function
383 acc = ixheaacd_add32_sat(a, acc); in ixheaacd_mac16x16in32_sat()
415 acc = ixheaacd_add32_sat(a, acc); in ixheaacd_mac16x16in32_shl_sat()
Dixheaacd_env_calc.c1284 ixheaacd_add32_sat(accumulate, ixheaacd_shr32(accu_line, 9)); in ixheaacd_enery_calc_persfb()
1525 *ptr_real_buf++ = ixheaacd_add32_sat(signal_real, sine_level); in ixheaacd_harm_idx_zerotwolp_dec()
1542 *ptr_real_buf++ = ixheaacd_add32_sat(signal_real, sine_level); in ixheaacd_harm_idx_zerotwolp_dec()
1599 *(ptr_real_buf - 1) = ixheaacd_add32_sat(*(ptr_real_buf - 1), temp_mult); in ixheaacd_harm_idx_onethreelp()
1603 signal_real = ixheaacd_add32_sat(signal_real, temp_mult2); in ixheaacd_harm_idx_onethreelp()
1638 signal_real = ixheaacd_add32_sat(signal_real, temp_mult); in ixheaacd_harm_idx_onethreelp()
1673 *ptr_real_buf++ = ixheaacd_add32_sat(signal_real, temp_mult_sine); in ixheaacd_harm_idx_onethreelp()
1682 *ptr_real_buf = ixheaacd_add32_sat(*ptr_real_buf, temp_mult2); in ixheaacd_harm_idx_onethreelp()
1731 *ptr_real_buf = ixheaacd_add32_sat(signal_real, sine_level); in ixheaacd_harm_idx_zerotwo()
1804 *ptr_imag = ixheaacd_add32_sat(sig_imag, sine_level); in ixheaacd_harm_idx_onethree()
Dixheaacd_tns.c106 accu1 = ixheaacd_add32_sat( in ixheaacd_tns_parcor_lpc_convert_usac()
113 accu2 = ixheaacd_add32_sat( in ixheaacd_tns_parcor_lpc_convert_usac()
Dixheaacd_acelp_bitparse.c538 ixheaacd_add32_sat(p_ioverlap[i + nlong / 2] << 1, p_in_idata[i]); in ixheaacd_td_frm_dec()
539 p_ioverlap[i] = ixheaacd_add32_sat(p_in_idata[i + (nlong / 2)] >> 1, in ixheaacd_td_frm_dec()
556 p_out_idata[i] = ixheaacd_add32_sat(p_ioverlap[i] << 1, p_in_idata[i]); in ixheaacd_td_frm_dec()
Dixheaacd_block.c98 acc = ixheaacd_add32_sat(a, acc); in ixheaacd_mac32x16in32_drc()
1164 accu = ixheaacd_add32_sat(accu, accu); in ixheaacd_lap1_512_480()
1165 accu = ixheaacd_add32_sat(accu, accu); in ixheaacd_lap1_512_480()
1175 accu = ixheaacd_add32_sat(accu, accu); in ixheaacd_lap1_512_480()
1176 accu = ixheaacd_add32_sat(accu, accu); in ixheaacd_lap1_512_480()
Dixheaacd_basic_ops40.h161 return (ixheaacd_add32_sat(a, ixheaacd_mult32x16in32_shl_sat(b, c))); in mac32x16in32_shl_sat()
181 return (ixheaacd_add32_sat(a, ixheaacd_mult32_shl_sat(b, c))); in mac32_shl_sat()
Dixheaacd_lpp_tran.c158 ixheaacd_add32_sat( in ixheaacd_filterstep3()
159 ixheaacd_add32_sat(ixheaacd_mult32x16in32(prev1r, coef1i), in ixheaacd_filterstep3()
957 max_val = ixheaacd_add32_sat( in ixheaacd_hf_generator()
988 ixheaacd_add32_sat( in ixheaacd_hf_generator()
Dixheaacd_freq_sca.c520 bandfactor = ixheaacd_add32_sat(bandfactor, step); in ixheaacd_calc_freq_ratio()
550 temp = ixheaacd_add32_sat(exact, 0x00400000); in ixheaacd_calc_bands()
Dixheaacd_fwd_alias_cnx.c132 ptr_overlap_buf[i] = ixheaacd_add32_sat( in ixheaacd_fwd_alias_cancel_tool()
/external/libxaac/decoder/generic/
Dixheaacd_qmf_dec_generic.c85 temp1[0] = ixheaacd_add32_sat(ixheaacd_shr32(temp1[0], LP_SHIFT_VAL), in ixheaacd_dct3_32()
295 *psubband_t++ = ixheaacd_add32_sat(ixheaacd_mult32x16in32(re, wre), in ixheaacd_cos_sin_mod()
305 *psubband_t2++ = ixheaacd_add32_sat(ixheaacd_mult32x16in32(re, wim), in ixheaacd_cos_sin_mod()
316 *psubband1_t-- = ixheaacd_add32_sat(ixheaacd_mult32x16in32(re, wre), in ixheaacd_cos_sin_mod()
322 *psubband1_t2-- = ixheaacd_add32_sat(ixheaacd_mult32x16in32(re, wim), in ixheaacd_cos_sin_mod()
333 *psubband_t++ = ixheaacd_add32_sat(ixheaacd_mult32x16in32(re, wre), in ixheaacd_cos_sin_mod()
343 *psubband_t2++ = ixheaacd_add32_sat(ixheaacd_mult32x16in32(re, wim), in ixheaacd_cos_sin_mod()
354 *psubband1_t-- = ixheaacd_add32_sat(ixheaacd_mult32x16in32(re, wre), in ixheaacd_cos_sin_mod()
361 *psubband1_t2-- = ixheaacd_add32_sat(ixheaacd_mult32x16in32(re, wim), in ixheaacd_cos_sin_mod()
402 *psubband1-- = ixheaacd_add32_sat(ixheaacd_mult32x16in32(re, wre), in ixheaacd_cos_sin_mod()
[all …]
/external/libxaac/decoder/armv8/
Dixheaacd_qmf_dec_armv8.c649 y0[h2] = ixheaacd_add32_sat(x_0, x_2); in ixheaacd_esbr_postradixcompute2()
650 y0[h2 + 1] = ixheaacd_add32_sat(x_1, x_3); in ixheaacd_esbr_postradixcompute2()
651 y1[h2] = ixheaacd_add32_sat(x_4, x_6); in ixheaacd_esbr_postradixcompute2()
652 y1[h2 + 1] = ixheaacd_add32_sat(x_5, x_7); in ixheaacd_esbr_postradixcompute2()
667 y0[h2 + 2] = ixheaacd_add32_sat(x_8, x_a); in ixheaacd_esbr_postradixcompute2()
668 y0[h2 + 3] = ixheaacd_add32_sat(x_9, x_b); in ixheaacd_esbr_postradixcompute2()
669 y1[h2 + 2] = ixheaacd_add32_sat(x_c, x_e); in ixheaacd_esbr_postradixcompute2()
670 y1[h2 + 3] = ixheaacd_add32_sat(x_d, x_f); in ixheaacd_esbr_postradixcompute2()
1219 timag = ixheaacd_add32_sat(i1, r1); in ixheaacd_shiftrountine_with_rnd_hq()
1231 timag = ixheaacd_add32_sat(i2, r2); in ixheaacd_shiftrountine_with_rnd_hq()

12