/external/aac/libFDK/src/ |
D | dct.cpp | 185 FIXP_DBL xr, accu1, accu2; in dct_III() local 202 cplxMultDiv2(&accu2, &accu1, pDat[L - i], pDat[i], sin_twiddle[i * inc]); in dct_III() 212 ((accu2 >> 1) + accu4), sin_twiddle[index]); in dct_III() 214 cplxMultDiv2(&accu6, &accu5, ((accu2 >> 1) + accu4), in dct_III() 222 xr = (accu2 >> 1) - accu4; in dct_III() 239 cplxMultDiv2(&accu2, &accu1, pDat[L - (M / 2)], pDat[M / 2], in dct_III() 242 tmp[M + 1] = accu2 >> 1; in dct_III() 299 FIXP_DBL accu1, accu2; in dct_II() local 333 cplxMultDiv2(&accu1, &accu2, a2, a1, sin_twiddle[index]); in dct_II() 335 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 | 482 FIXP_DBL accu2 = FL2FXCONST_DBL(0.f); in FDKhybridSynthesisApply() local 487 accu2 += pHybridImag[hybOffset + n]; in FDKhybridSynthesisApply() 490 pQmfImag[k] = accu2; in FDKhybridSynthesisApply() 699 FIXP_DBL accu1, accu2, accu3, accu4; in eightChannelFiltering() local 709 cplxMultDiv2(&accu1, &accu2, pQmfReal[pReadIdx[7]], pQmfImag[pReadIdx[7]], in eightChannelFiltering() 712 pfft[FFT_IDX_I(1)] = accu2; in eightChannelFiltering() 714 cplxMultDiv2(&accu1, &accu2, pQmfReal[pReadIdx[0]], pQmfImag[pReadIdx[0]], in eightChannelFiltering() 719 pfft[FFT_IDX_I(2)] = accu2 + accu4; in eightChannelFiltering() 721 cplxMultDiv2(&accu1, &accu2, pQmfReal[pReadIdx[1]], pQmfImag[pReadIdx[1]], in eightChannelFiltering() 726 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/libFDK/src/arm/ |
D | dct_arm.cpp | 257 FIXP_DBL accu1, accu2, accu3, accu4, accuX; in dct_IV_func2() local 261 accu2 = pDat_1[-1]; in dct_IV_func2() 274 SMULWT accuX, accu2, val_tw in dct_IV_func2() 275 SMULWB accu2, accu2, val_tw in dct_IV_func2() 278 SMLAWT accu2, accu1, val_tw, accu2 in dct_IV_func2() 280 STR accu2, [pDat_1, #-4] ! in dct_IV_func2() 291 LDR accu2, [pDat_1, #-4] in dct_IV_func2() 299 SMULWT accuX, accu2, val_tw in dct_IV_func2() 300 SMULWB accu2, accu2, val_tw in dct_IV_func2() 303 SMLAWT accu2, accu1, val_tw, accu2 in dct_IV_func2() [all …]
|
/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 | 106 WORD32 accu1, accu2; in ixheaacd_tns_parcor_to_lpc() local 132 accu2 = (z[j]); in ixheaacd_tns_parcor_to_lpc() 133 accu2 = ixheaacd_add32_sat(accu2, in ixheaacd_tns_parcor_to_lpc() 135 z[j + 1] = (accu2); in ixheaacd_tns_parcor_to_lpc() 136 if (ixheaacd_abs32_sat(accu2) == 0x7fffffff) status = 1; in ixheaacd_tns_parcor_to_lpc() 160 WORD32 accu1, accu2; in ixheaacd_tns_parcor_lpc_convert_dec() local 188 accu2 = ixheaacd_deposit16h_in32(temp_buf1[j]); in ixheaacd_tns_parcor_lpc_convert_dec() 189 accu2 = ixheaacd_mac16x16in32_shl_sat(accu2, parcor[j], temp_buf2[j]); in ixheaacd_tns_parcor_lpc_convert_dec() 190 temp_buf1[j + 1] = ixheaacd_round16(accu2); in ixheaacd_tns_parcor_lpc_convert_dec() 191 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() 732 FIXP_DBL accu1, accu2; in lppTransposer() local 734 accu2 = lowBandImag[LPC_ORDER + i] >> descale; in lppTransposer() 739 accu2 = scaleValueSaturate( in lppTransposer() 740 fMultDiv2(accu2, preWhiteningGains[loBand]), in lppTransposer() 744 qmfBufferImag[i][hiBand] = accu2; in lppTransposer() 768 FIXP_DBL accu1, accu2; in lppTransposer() local 775 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()
|