/external/aac/libFDK/src/ |
D | dct.cpp | 121 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() 145 xr = (accu1>>1) + accu3; in dct_III() 159 cplxMultDiv2(&accu2, &accu1, pDat[L - (M/2)], pDat[M/2], sin_twiddle_L64[64/4]); in dct_III() 160 tmp[M] = accu1>>1; in dct_III() 193 FIXP_DBL accu1,accu2; in dct_II() local 212 accu1 = *pdat++; in dct_II() 216 accu1 >>= 1; in dct_II() 220 *pTmp_0++ = accu1; in dct_II() [all …]
|
D | autocorr2nd.cpp | 120 FIXP_DBL accu1, accu2, accu3, accu4, accu5; in autoCorr2nd_real() local 137 accu1 = fPow2Div2(pReBuf[0]) SHIFT; in autoCorr2nd_real() 143 accu1 += ( (fPow2Div2(pReBuf[0]) + in autoCorr2nd_real() 155 accu2 += accu1; in autoCorr2nd_real() 157 accu1 += (fPow2Div2(realBuf[len - 2]) SHIFT); in autoCorr2nd_real() 164 mScale = CntLeadingZeros( (accu1 | accu2 | fAbs(accu3) | fAbs(accu4) | fAbs(accu5)) ) - 1; in autoCorr2nd_real() 168 ac->r11r = accu1 << mScale; in autoCorr2nd_real() 196 FIXP_DBL accu0, accu1,accu2, accu3, accu4, accu5, accu6, accu7, accu8; in autoCorr2nd_cplx() local 211 accu1 = accu3 = accu5 = accu7 = accu8 = FL2FXCONST_DBL(0.0f); in autoCorr2nd_cplx() 219 accu1 += ( (fPow2Div2(pReBuf[0] ) + fPow2Div2(pImBuf[0] )) >> len_scale); in autoCorr2nd_cplx() [all …]
|
D | FDK_hybrid.cpp | 426 FIXP_DBL accu1 = FL2FXCONST_DBL(0.f); in FDKhybridSynthesisApply() local 431 accu1 += pHybridReal[hybOffset+n]; in FDKhybridSynthesisApply() 434 pQmfReal[k] = accu1; 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() 614 pfft[FFT_IDX_R(1)] = accu1; in eightChannelFiltering() 617 cplxMultDiv2(&accu1, &accu2, pQmfReal[pReadIdx[0]], pQmfImag[pReadIdx[0]], p[2]); in eightChannelFiltering() 619 pfft[FFT_IDX_R(2)] = accu1 + accu3; in eightChannelFiltering() 622 cplxMultDiv2(&accu1, &accu2, pQmfReal[pReadIdx[1]], pQmfImag[pReadIdx[1]], p[4]); in eightChannelFiltering() 624 pfft[FFT_IDX_R(3)] = accu1 + accu3; in eightChannelFiltering() [all …]
|
/external/aac/libFDK/src/arm/ |
D | qmf_arm.cpp | 181 FIXP_DBL accu0, accu1; in qmfAnaPrototypeFirSlot() local 192 accu1 = SMULBB( sta1, flt); in qmfAnaPrototypeFirSlot() 194 accu1 = SMLABT( accu1, sta1, flt); in qmfAnaPrototypeFirSlot() 198 accu1 = SMLABB( accu1, sta1, flt); in qmfAnaPrototypeFirSlot() 200 accu1 = SMLABT( accu1, sta1, flt); in qmfAnaPrototypeFirSlot() 204 accu1 = SMLABB( accu1, sta1, flt); in qmfAnaPrototypeFirSlot() 205 *pData_1++ = FX_DBL2FX_QMF(accu1<<1); in qmfAnaPrototypeFirSlot() 214 accu1 = SMULBT( sta1, flt); in qmfAnaPrototypeFirSlot() 220 accu1 = SMLABB( accu1, sta1, flt); in qmfAnaPrototypeFirSlot() 225 accu1 = SMLABT( accu1, sta1, flt); in qmfAnaPrototypeFirSlot() [all …]
|
D | dct_arm.cpp | 190 FIXP_DBL accu1, accu2, accu3, accu4, accuX; in dct_IV_func2() local 193 accu1 = pDat_1[-2]; in dct_IV_func2() 211 SMLAWB accuX, accu1, val_tw, accuX in dct_IV_func2() 212 SMLAWT accu2, accu1, val_tw, accu2 in dct_IV_func2() 224 LDR accu1, [pDat_1, #-8] in dct_IV_func2() 236 SMLAWB accuX, accu1, val_tw, accuX in dct_IV_func2() 237 SMLAWT accu2, accu1, val_tw, accu2 in dct_IV_func2() 249 LDR accu1, [pDat_1, #-8] in dct_IV_func2() 262 accu1 = fMultDiv2(accu1, WTC(0x5a82799a)); in dct_IV_func2() 265 *--pDat_1 = accu1 + accu2; in dct_IV_func2() [all …]
|
/external/aac/libSBRdec/src/arm/ |
D | lpp_tran_arm.cpp | 115 FIXP_DBL real1, real2, imag1, imag2, accu1, accu2; in lppTransposer_func1() local 123 accu1 = fMultDiv2( a0r,real1); in lppTransposer_func1() 125 accu1 = fMultAddDiv2(accu1,a1r,real2); in lppTransposer_func1() 128 accu1 = accu1 - accu2; in lppTransposer_func1() 129 accu1 = accu1 >> dynamicScale; in lppTransposer_func1() 140 accu1 <<= 1; in lppTransposer_func1() 143 qmfBufferReal[i][hiBand] = accu1 + (real1>>descale); in lppTransposer_func1()
|
/external/aac/libSBRenc/src/ |
D | tran_det.cpp | 120 FIXP_DBL accu1,accu2,delta_sum,result; in spectralChange() local 140 …accu1 = ((FL2FXCONST_DBL((1.0e6*NORM_QMF_ENERGY*8.0/32))) << fixMin(scaleEnergies[0],25))>>NRG_SCA… in spectralChange() 145 accu1 += (Energies[i][j]>>NRG_SCALE); in spectralChange() 155 tmp1 = CalcLdData(accu1); in spectralChange() 162 : FDKsbrEnc_LSI_divide_scale_fract( (accu1+accu2), in spectralChange() 191 FIXP_DBL accu1 = FL2FXCONST_DBL(0.0f); in addLowbandEnergies() local 199 accu1 += Energies[ts][k] >> 6; in addLowbandEnergies() 208 nrgTotal = ( (accu1 >> fixMin(scaleEnergies[0],(DFRACT_BITS-1))) in addLowbandEnergies() 382 FIXP_DBL accu,accu0,accu1; in calculateThresholds() local 406 accu0 = accu1 = FL2FXCONST_DBL(0.0f); in calculateThresholds() [all …]
|
D | env_est.cpp | 465 FIXP_DBL nrgSum, nrg1, nrg2, accu1, accu2; in getEnvSfbEnergy() local 475 nrgSum = accu1 = accu2 = (FIXP_DBL)0; in getEnvSfbEnergy() 485 accu1 += (nrg1>>dynScale1); in getEnvSfbEnergy() 489 nrgSum += ( accu1 >> fixMin((scaleNrg0-sc0-dynScale1),(DFRACT_BITS-1)) ) in getEnvSfbEnergy()
|
/external/aac/libSBRdec/src/ |
D | psdec_hybrid.cpp | 395 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() 399 accu1 = fMultDiv2(p[n_0], accu1); \ in slotBasedEightChannelFiltering() 404 fft[FIXP_FFT_IDX_R(n_2)] = accu1 + accu3; \ in slotBasedEightChannelFiltering() 408 cplxMultDiv2(&accu1, &accu2, pQmfReal[n_0], pQmfImag[n_0], cr[n_0], ci[n_0]); \ in slotBasedEightChannelFiltering() 409 fft[FIXP_FFT_IDX_R(n_1)] = fMultDiv2(p[n_0], accu1); \ in slotBasedEightChannelFiltering()
|
D | lpp_tran.cpp | 677 FIXP_DBL accu1, accu2; in lppTransposer() local 679 … accu1 = (fMultDiv2(a0r,lowBandReal[LPC_ORDER+i-1]) - fMultDiv2(a0i,lowBandImag[LPC_ORDER+i-1]) + in lppTransposer() 684 qmfBufferReal[i][hiBand] = (lowBandReal[LPC_ORDER+i]>>descale) + (accu1<<1); in lppTransposer() 694 FIXP_DBL accu1; in lppTransposer() local 696 …accu1 = (fMultDiv2(a0r,lowBandReal[LPC_ORDER+i-1]) + fMultDiv2(a1r,lowBandReal[LPC_ORDER+i-2]))>>d… in lppTransposer() 698 qmfBufferReal[i][hiBand] = (lowBandReal[LPC_ORDER+i]>>descale) + (accu1<<1); in lppTransposer()
|
/external/aac/libAACenc/src/ |
D | aacenc_tns.cpp | 1151 FIXP_DBL accu1 = fMult(tmp, input[j]); in FDKaacEnc_AutoToParcor() local 1153 workBuffer[j] += accu1; in FDKaacEnc_AutoToParcor()
|