Home
last modified time | relevance | path

Searched refs:accu2 (Results 1 – 10 of 10) sorted by relevance

/external/aac/libFDK/src/
Ddct.cpp121 FIXP_DBL xr, accu1, accu2; in dct_III() local
139 cplxMultDiv2(&accu2, &accu1, pDat[L - i], pDat[i], sin_twiddle_L64[i*inc]); in dct_III()
144 …cplxMultDiv2(&accu6, &accu5, (accu3 - (accu1>>1)), ((accu2>>1) + accu4), sin_twiddle_L64[(4*i)*inc… in dct_III()
149 xr = (accu2>>1) - accu4; in dct_III()
159 cplxMultDiv2(&accu2, &accu1, pDat[L - (M/2)], pDat[M/2], sin_twiddle_L64[64/4]); in dct_III()
161 tmp[M+1] = accu2>>1; in dct_III()
193 FIXP_DBL accu1,accu2; in dct_II() local
213 accu2 = *pdat++; in dct_II()
217 accu2 >>= 1; in dct_II()
222 *pTmp_1-- = accu2; in dct_II()
[all …]
Dautocorr2nd.cpp120 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()
164 mScale = CntLeadingZeros( (accu1 | accu2 | fAbs(accu3) | fAbs(accu4) | fAbs(accu5)) ) - 1; in autoCorr2nd_real()
169 ac->r22r = accu2 << mScale; in autoCorr2nd_real()
196 FIXP_DBL accu0, accu1,accu2, accu3, accu4, accu5, accu6, accu7, accu8; in autoCorr2nd_cplx() local
226 accu2 = ( (fPow2Div2(realBuf[-2]) + fPow2Div2(imagBuf[-2])) >> len_scale); in autoCorr2nd_cplx()
227 accu2 += accu1; in autoCorr2nd_cplx()
251 mScale = CntLeadingZeros( (accu0 | accu1 | accu2 | fAbs(accu3) | fAbs(accu4) | fAbs(accu5) | in autoCorr2nd_cplx()
258 ac->r22r = (FIXP_DBL)accu2 << mScale; in autoCorr2nd_cplx()
DFDK_hybrid.cpp427 FIXP_DBL accu2 = FL2FXCONST_DBL(0.f); in FDKhybridSynthesisApply() local
432 accu2 += pHybridImag[hybOffset+n]; in FDKhybridSynthesisApply()
435 pQmfImag[k] = accu2; in FDKhybridSynthesisApply()
607 FIXP_DBL accu1, accu2, accu3, accu4; in eightChannelFiltering() local
613 cplxMultDiv2(&accu1, &accu2, pQmfReal[pReadIdx[7]], pQmfImag[pReadIdx[7]], p[1]); in eightChannelFiltering()
615 pfft[FFT_IDX_I(1)] = accu2; in eightChannelFiltering()
617 cplxMultDiv2(&accu1, &accu2, pQmfReal[pReadIdx[0]], pQmfImag[pReadIdx[0]], p[2]); in eightChannelFiltering()
620 pfft[FFT_IDX_I(2)] = accu2 + accu4; in eightChannelFiltering()
622 cplxMultDiv2(&accu1, &accu2, pQmfReal[pReadIdx[1]], pQmfImag[pReadIdx[1]], p[4]); in eightChannelFiltering()
625 pfft[FFT_IDX_I(3)] = accu2 + accu4; in eightChannelFiltering()
[all …]
/external/aac/libFDK/src/arm/
Ddct_arm.cpp190 FIXP_DBL accu1, accu2, accu3, accu4, accuX; in dct_IV_func2() local
194 accu2 = pDat_1[-1]; in dct_IV_func2()
208 SMULWT accuX, accu2, val_tw in dct_IV_func2()
209 SMULWB accu2, accu2, val_tw in dct_IV_func2()
212 SMLAWT accu2, accu1, val_tw, accu2 in dct_IV_func2()
214 STR accu2, [pDat_1, #-4] ! in dct_IV_func2()
225 LDR accu2, [pDat_1, #-4] in dct_IV_func2()
233 SMULWT accuX, accu2, val_tw in dct_IV_func2()
234 SMULWB accu2, accu2, val_tw in dct_IV_func2()
237 SMLAWT accu2, accu1, val_tw, accu2 in dct_IV_func2()
[all …]
/external/aac/libSBRdec/src/arm/
Dlpp_tran_arm.cpp115 FIXP_DBL real1, real2, imag1, imag2, accu1, accu2; in lppTransposer_func1() local
124 accu2 = fMultDiv2( a0i,imag1); in lppTransposer_func1()
126 accu2 = fMultAddDiv2(accu2,a1i,imag2); in lppTransposer_func1()
128 accu1 = accu1 - accu2; in lppTransposer_func1()
131 accu2 = fMultAddDiv2(real2,a1r,imag2); in lppTransposer_func1()
134 accu2 = fMultAddDiv2(accu2,a0i,real1); in lppTransposer_func1()
136 accu2 = fMultAddDiv2(accu2,a0r,imag1); in lppTransposer_func1()
138 accu2 = accu2 >> dynamicScale; in lppTransposer_func1()
141 accu2 <<= 1; in lppTransposer_func1()
144 qmfBufferImag[i][hiBand] = accu2 + (imag1>>descale); in lppTransposer_func1()
/external/aac/libSBRdec/src/
Dpsdec_hybrid.cpp395 FIXP_DBL accu1, accu2, accu3, accu4; in slotBasedEightChannelFiltering() local
398 cplxMultDiv2(&accu1, &accu2, pQmfReal[n_0], pQmfImag[n_0], cr[n_0], ci[n_0]); \ in slotBasedEightChannelFiltering()
400 accu2 = fMultDiv2(p[n_0], accu2); \ in slotBasedEightChannelFiltering()
405 fft[FIXP_FFT_IDX_I(n_2)] = accu2 + accu4; in slotBasedEightChannelFiltering()
408 cplxMultDiv2(&accu1, &accu2, pQmfReal[n_0], pQmfImag[n_0], cr[n_0], ci[n_0]); \ in slotBasedEightChannelFiltering()
410 fft[FIXP_FFT_IDX_I(n_1)] = fMultDiv2(p[n_0], accu2); in slotBasedEightChannelFiltering()
Dlpp_tran.cpp677 FIXP_DBL accu1, accu2; in lppTransposer() local
681accu2 = (fMultDiv2(a0i,lowBandReal[LPC_ORDER+i-1]) + fMultDiv2(a0r,lowBandImag[LPC_ORDER+i-1]) + in lppTransposer()
685 qmfBufferImag[i][hiBand] = (lowBandImag[LPC_ORDER+i]>>descale) + (accu2<<1); in lppTransposer()
/external/aac/libSBRenc/src/
Dtran_det.cpp126 FIXP_DBL accu1,accu2,accu1_init,accu2_init; in spectralChange() local
185 accu2 = accu2_init; in spectralChange()
195 accu2 += scaleValue(Energies[i][j], -energies_e_diff[i]); in spectralChange()
200 tmp0 = fLog2(accu2, accu_e) - fLog2(accu1, accu_e); in spectralChange()
208 accu2>>=1; in spectralChange()
212 accu2>>=1; in spectralChange()
215 delta_sum += fMult(sqrtFixp(accu1+accu2), delta); in spectralChange()
251 FIXP_DBL accu2 = FL2FXCONST_DBL(0.0f); in addLowbandEnergies() local
264 accu2 += Energies[ts][k] >> 9; in addLowbandEnergies()
269 + ( scaleValueSaturate(accu2, 4-scaleEnergies[1]) ); in addLowbandEnergies()
Denv_est.cpp570 FIXP_DBL nrgSum, nrg1, nrg2, accu1, accu2; in getEnvSfbEnergy() local
580 nrgSum = accu1 = accu2 = (FIXP_DBL)0; in getEnvSfbEnergy()
591 accu2 += (nrg2>>dynScale2); in getEnvSfbEnergy()
595 + ( accu2 >> fixMin((scaleNrg1-sc1-dynScale2),(DFRACT_BITS-1)) ); in getEnvSfbEnergy()
/external/aac/libAACenc/src/
Daacenc_tns.cpp1142 FIXP_DBL accu2 = fMult(tmp, workBuffer[j]); in FDKaacEnc_AutoToParcor() local
1144 input[j] += accu2; in FDKaacEnc_AutoToParcor()