/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 329 cplxMultDiv2(&accu1, &accu2, a2, a1, sin_twiddle[index]); in dct_II() 331 cplxMultDiv2(&accu1, &accu2, a1, a2, sin_twiddle[index]); in dct_II() [all …]
|
D | autocorr2nd.cpp | 123 FIXP_DBL accu1, accu2, accu3, accu4, accu5; in autoCorr2nd_real() local 154 accu2 = (fPow2Div2(realBuf[-2]) SHIFT); in autoCorr2nd_real() 155 accu2 += accu1; in autoCorr2nd_real() 165 (accu1 | accu2 | fAbs(accu3) | fAbs(accu4) | fAbs(accu5))) - in autoCorr2nd_real() 171 ac->r22r = accu2 << mScale; in autoCorr2nd_real() 195 FIXP_DBL accu0, accu1, accu2, accu3, accu4, accu5, accu6, accu7, accu8; in autoCorr2nd_cplx() local 237 accu2 = ((fPow2Div2(realBuf[-2]) + fPow2Div2(imagBuf[-2])) >> len_scale); in autoCorr2nd_cplx() 238 accu2 += accu1; in autoCorr2nd_cplx() 266 CntLeadingZeros((accu0 | accu1 | accu2 | fAbs(accu3) | fAbs(accu4) | in autoCorr2nd_cplx() 274 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/aac/libSBRdec/src/arm/ |
D | lpp_tran_arm.cpp | 119 FIXP_DBL real1, real2, imag1, imag2, accu1, accu2; in lppTransposer_func1() local 127 accu2 = fMultDiv2(a0i, imag1); in lppTransposer_func1() 129 accu2 = fMultAddDiv2(accu2, a1i, imag2); in lppTransposer_func1() 131 accu1 = accu1 - accu2; in lppTransposer_func1() 134 accu2 = fMultAddDiv2(real2, a1r, imag2); in lppTransposer_func1() 137 accu2 = fMultAddDiv2(accu2, a0i, real1); in lppTransposer_func1() 139 accu2 = fMultAddDiv2(accu2, a0r, imag1); in lppTransposer_func1() 141 accu2 = accu2 >> dynamicScale; in lppTransposer_func1() 144 accu2 <<= 1; in lppTransposer_func1() 146 accu2 += (imag1 >> descale); in lppTransposer_func1() [all …]
|
/external/libxaac/decoder/ |
D | ixheaacd_aac_tns.c | 98 WORD32 accu1, accu2; in ixheaacd_tns_parcor_to_lpc() local 124 accu2 = (z[j]); in ixheaacd_tns_parcor_to_lpc() 125 accu2 = ixheaacd_add32_sat(accu2, in ixheaacd_tns_parcor_to_lpc() 127 z[j + 1] = (accu2); in ixheaacd_tns_parcor_to_lpc() 128 if (ixheaacd_abs32_sat(accu2) == 0x7fffffff) status = 1; in ixheaacd_tns_parcor_to_lpc() 152 WORD32 accu1, accu2; in ixheaacd_tns_parcor_lpc_convert_dec() local 180 accu2 = ixheaacd_deposit16h_in32(temp_buf1[j]); in ixheaacd_tns_parcor_lpc_convert_dec() 181 accu2 = ixheaacd_mac16x16in32_shl_sat(accu2, parcor[j], temp_buf2[j]); in ixheaacd_tns_parcor_lpc_convert_dec() 182 temp_buf1[j + 1] = ixheaacd_round16(accu2); in ixheaacd_tns_parcor_lpc_convert_dec() 183 if (ixheaacd_abs32_sat(accu2) == 0x7fffffff) { in ixheaacd_tns_parcor_lpc_convert_dec()
|
D | ixheaacd_tns.c | 85 WORD32 accu1, accu2; in ixheaacd_tns_parcor_lpc_convert_usac() local 112 accu2 = (temp_buf1[j]); in ixheaacd_tns_parcor_lpc_convert_usac() 113 accu2 = ixheaacd_add32_sat( in ixheaacd_tns_parcor_lpc_convert_usac() 114 accu2, ixheaacd_mult32_shl_sat(parcor[j], temp_buf2[j])); in ixheaacd_tns_parcor_lpc_convert_usac() 115 temp_buf1[j + 1] = (accu2); in ixheaacd_tns_parcor_lpc_convert_usac() 117 if (ixheaacd_abs32_sat(accu2) == 0x7fffffff) status = 1; in ixheaacd_tns_parcor_lpc_convert_usac()
|
/external/aac/libSBRdec/src/ |
D | lpp_tran.cpp | 225 FIXP_DBL accu1, accu2; in calc_qmfBufferReal() local 234 accu2 = (lowBandReal[i + 2] >> descale); in calc_qmfBufferReal() 235 qmfBufferReal[i + startSample][hiBand] = accu1 + accu2; in calc_qmfBufferReal() 750 FIXP_DBL accu1, accu2; in lppTransposer() local 752 accu2 = lowBandImag[LPC_ORDER + i] >> descale; in lppTransposer() 757 accu2 = scaleValueSaturate( in lppTransposer() 758 fMultDiv2(accu2, preWhiteningGains[loBand]), in lppTransposer() 762 qmfBufferImag[i][hiBand] = accu2; in lppTransposer() 786 FIXP_DBL accu1, accu2; in lppTransposer() local 793 accu2 = (fMultDiv2(a0i, lowBandReal[LPC_ORDER + i - 1]) + in lppTransposer() [all …]
|
/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()
|