/external/aac/libFDK/src/ |
D | dct.cpp | 181 FIXP_DBL xr, accu1, accu2; in dct_III() local 198 cplxMultDiv2(&accu2, &accu1, pDat[L - i], pDat[i], sin_twiddle[i * inc]); in dct_III() 208 ((accu2 >> 1) + accu4), sin_twiddle[index]); in dct_III() 210 cplxMultDiv2(&accu6, &accu5, ((accu2 >> 1) + accu4), in dct_III() 218 xr = (accu2 >> 1) - accu4; in dct_III() 235 cplxMultDiv2(&accu2, &accu1, pDat[L - (M / 2)], pDat[M / 2], in dct_III() 238 tmp[M + 1] = accu2 >> 1; in dct_III() 295 FIXP_DBL accu1, accu2; in dct_II() local 328 cplxMultDiv2(&accu1, &accu2, a2, a1, sin_twiddle[index]); in dct_II() 330 cplxMultDiv2(&accu1, &accu2, a1, a2, sin_twiddle[index]); in dct_II() [all …]
|
D | autocorr2nd.cpp | 118 FIXP_DBL accu1, accu2, accu3, accu4, accu5; in autoCorr2nd_real() local 153 accu2 = (fPow2Div2(realBuf[-2]) >> len_scale); in autoCorr2nd_real() 154 accu2 += accu1; in autoCorr2nd_real() 164 (accu1 | accu2 | fAbs(accu3) | fAbs(accu4) | fAbs(accu5))) - in autoCorr2nd_real() 170 ac->r22r = accu2 << mScale; in autoCorr2nd_real() 194 FIXP_DBL accu0, accu1, accu2, accu3, accu4, accu5, accu6, accu7, accu8; in autoCorr2nd_cplx() local 236 accu2 = ((fPow2Div2(realBuf[-2]) + fPow2Div2(imagBuf[-2])) >> len_scale); in autoCorr2nd_cplx() 237 accu2 += accu1; in autoCorr2nd_cplx() 265 CntLeadingZeros((accu0 | accu1 | accu2 | fAbs(accu3) | fAbs(accu4) | in autoCorr2nd_cplx() 273 ac->r22r = (FIXP_DBL)accu2 << mScale; in autoCorr2nd_cplx()
|
D | FDK_hybrid.cpp | 484 FIXP_DBL accu2 = FL2FXCONST_DBL(0.f); in FDKhybridSynthesisApply() local 489 accu2 += pHybridImag[hybOffset + n] >> scale; in FDKhybridSynthesisApply() 492 pQmfImag[k] = SATURATE_LEFT_SHIFT(accu2, scale, DFRACT_BITS); in FDKhybridSynthesisApply() 701 FIXP_DBL accu1, accu2, accu3, accu4; in eightChannelFiltering() local 711 cplxMultDiv2(&accu1, &accu2, pQmfReal[pReadIdx[7]], pQmfImag[pReadIdx[7]], in eightChannelFiltering() 714 pfft[FFT_IDX_I(1)] = accu2; in eightChannelFiltering() 716 cplxMultDiv2(&accu1, &accu2, pQmfReal[pReadIdx[0]], pQmfImag[pReadIdx[0]], in eightChannelFiltering() 721 pfft[FFT_IDX_I(2)] = accu2 + accu4; in eightChannelFiltering() 723 cplxMultDiv2(&accu1, &accu2, pQmfReal[pReadIdx[1]], pQmfImag[pReadIdx[1]], in eightChannelFiltering() 728 pfft[FFT_IDX_I(3)] = accu2 + accu4; in eightChannelFiltering() [all …]
|
D | FDK_lpc.cpp | 467 FIXP_DBL accu2 = fMult(tmp, workBuffer[j]); in CLpc_AutoToParcor() local 469 acorr[j] += accu2; in CLpc_AutoToParcor()
|
/external/libxaac/decoder/ |
D | ixheaacd_mps_res_tns.c | 35 WORD32 accu1, accu2; in ixheaacd_res_tns_parcor_2_lpc_32x16() local 59 accu2 = ixheaacd_deposit16h_in32(z[j]); in ixheaacd_res_tns_parcor_2_lpc_32x16() 60 accu2 = ixheaacd_mac16x16in32_shl_sat(accu2, parcor[j], w[j]); in ixheaacd_res_tns_parcor_2_lpc_32x16() 61 z[j + 1] = ixheaacd_round16(accu2); in ixheaacd_res_tns_parcor_2_lpc_32x16() 62 if (ixheaacd_abs32_sat(accu2) == 0x7fffffff) status = 1; in ixheaacd_res_tns_parcor_2_lpc_32x16()
|
D | ixheaacd_aac_tns.c | 101 WORD32 accu1, accu2; in ixheaacd_tns_parcor_to_lpc() local 127 accu2 = (z[j]); in ixheaacd_tns_parcor_to_lpc() 128 accu2 = ixheaacd_add32_sat(accu2, in ixheaacd_tns_parcor_to_lpc() 130 z[j + 1] = (accu2); in ixheaacd_tns_parcor_to_lpc() 131 if (ixheaacd_abs32_sat(accu2) == 0x7fffffff) status = 1; in ixheaacd_tns_parcor_to_lpc() 155 WORD32 accu1, accu2; in ixheaacd_tns_parcor_lpc_convert_dec() local 183 accu2 = ixheaacd_deposit16h_in32(temp_buf1[j]); in ixheaacd_tns_parcor_lpc_convert_dec() 184 accu2 = ixheaacd_mac16x16in32_shl_sat(accu2, parcor[j], temp_buf2[j]); in ixheaacd_tns_parcor_lpc_convert_dec() 185 temp_buf1[j + 1] = ixheaacd_round16(accu2); in ixheaacd_tns_parcor_lpc_convert_dec() 186 if (ixheaacd_abs32_sat(accu2) == 0x7fffffff) { in ixheaacd_tns_parcor_lpc_convert_dec()
|
D | ixheaacd_tns.c | 87 WORD32 accu1, accu2; in ixheaacd_tns_parcor_lpc_convert_usac() local 114 accu2 = (temp_buf1[j]); in ixheaacd_tns_parcor_lpc_convert_usac() 115 accu2 = ixheaacd_add32_sat( in ixheaacd_tns_parcor_lpc_convert_usac() 116 accu2, ixheaacd_mult32_shl_sat(parcor[j], temp_buf2[j])); in ixheaacd_tns_parcor_lpc_convert_usac() 117 temp_buf1[j + 1] = (accu2); in ixheaacd_tns_parcor_lpc_convert_usac() 119 if (ixheaacd_abs32_sat(accu2) == 0x7fffffff) status = 1; in ixheaacd_tns_parcor_lpc_convert_usac()
|
D | ixheaacd_mps_polyphase.c | 1041 WORD64 accu1 = 0, accu2 = 0; in ixheaacd_calc_ana_filt_bank() local 1128 accu2 = (WORD64)((WORD64)ptr_pf_r[-1] * (WORD64)fp2[k]); in ixheaacd_calc_ana_filt_bank() 1129 accu2 += (WORD64)((WORD64)ptr_pf_r[-2] * (WORD64)fp2[128 + k]); in ixheaacd_calc_ana_filt_bank() 1130 accu2 += (WORD64)((WORD64)ptr_pf_r[-3] * (WORD64)fp2[256 + k]); in ixheaacd_calc_ana_filt_bank() 1131 accu2 += (WORD64)((WORD64)ptr_pf_r[-4] * (WORD64)fp2[384 + k]); in ixheaacd_calc_ana_filt_bank() 1132 accu2 += (WORD64)((WORD64)ptr_pf_r[-5] * (WORD64)fp2[512 + k]); in ixheaacd_calc_ana_filt_bank() 1135 syn_buffer[qmf_bands - 1 - k] = (WORD32)((WORD64)accu2 >> 21); in ixheaacd_calc_ana_filt_bank()
|
D | ixheaacd_fft_ifft_32x32.c | 198 FLOAT32 accu1, accu2; in ixheaacd_hbe_apply_tw_mult_ifft() local 214 CPLX_MPY_IFFT(accu1, accu2, inp[2 * i + 0], inp[2 * i + 1], tw[2 * i + 1], tw[2 * i]); in ixheaacd_hbe_apply_tw_mult_ifft() 216 op[2 * i + 1] = accu2; in ixheaacd_hbe_apply_tw_mult_ifft() 226 FLOAT32 accu1, accu2; in ixheaacd_hbe_apply_tw_mult_fft() local 242 CPLX_MPY_FFT(accu1, accu2, inp[2 * i + 0], inp[2 * i + 1], tw[2 * i + 1], tw[2 * i]); in ixheaacd_hbe_apply_tw_mult_fft() 244 op[2 * i + 1] = accu2; in ixheaacd_hbe_apply_tw_mult_fft()
|
/external/aac/libSBRenc/src/ |
D | tran_det.cpp | 198 FIXP_DBL accu2 = FL2FXCONST_DBL(0.f); in spectralChange() local 208 accu2 += scaleValue(Energies[i][j], -energies_e_diff[i]); in spectralChange() 214 accu2 = fMax(accu2, (FIXP_DBL)len2); in spectralChange() 218 tmp0 = fLog2(accu2, accu_e) - fLog2(accu1, accu_e); in spectralChange() 226 accu2 >>= 1; in spectralChange() 232 accu2 >>= 1; in spectralChange() 235 delta_sum += fMult(sqrtFixp(accu1 + accu2), delta); in spectralChange() 270 FIXP_DBL accu2 = FL2FXCONST_DBL(0.0f); in addLowbandEnergies() local 293 accu2 += Energies[ts][k] >> sc2; in addLowbandEnergies() 297 nrgTotal_m = fAddNorm(accu1, (sc1 - 5) - scaleEnergies[0], accu2, in addLowbandEnergies()
|
D | env_est.cpp | 618 FIXP_DBL nrgSum, nrg1, nrg2, accu1, accu2; in getEnvSfbEnergy() local 630 nrgSum = accu1 = accu2 = (FIXP_DBL)0; in getEnvSfbEnergy() 641 accu2 += (nrg2 >> dynScale2); in getEnvSfbEnergy() 646 (accu2 >> fixMin((scaleNrg1 - sc1 - dynScale2), (DFRACT_BITS - 1))); in getEnvSfbEnergy()
|
/external/aac/libSBRdec/src/ |
D | lpp_tran.cpp | 748 FIXP_DBL accu1, accu2; in lppTransposer() local 750 accu2 = lowBandImag[LPC_ORDER + i] >> descale; in lppTransposer() 755 accu2 = scaleValueSaturate( in lppTransposer() 756 fMultDiv2(accu2, preWhiteningGains[loBand]), in lppTransposer() 760 qmfBufferImag[i][hiBand] = accu2; in lppTransposer() 778 FIXP_DBL accu1, accu2; in lppTransposer() local 786 accu2 = ((fMultDiv2(a0i, lowBandReal[LPC_ORDER + i - 1]) + in lppTransposer() 795 accu2 = in lppTransposer() 796 (lowBandImag[LPC_ORDER + i] >> descale) + (accu2 >> dynscale); in lppTransposer() 802 fMultDiv2(accu2, preWhiteningGains[loBand]), in lppTransposer() [all …]
|