/external/aac/libSBRdec/src/arm/ |
lpp_tran_arm.cpp | 115 FIXP_DBL real1, real2, imag1, imag2, accu1, accu2; local 123 accu1 = fMultDiv2( a0r,real1); 125 accu1 = fMultAddDiv2(accu1,a1r,real2); 128 accu1 = accu1 - accu2; 129 accu1 = accu1 >> dynamicScale; 140 accu1 <<= 1; 143 qmfBufferReal[i][hiBand] = accu1 + (real1>>descale) [all...] |
/external/aac/libFDK/src/arm/ |
dct_arm.cpp | 105 r4 accu1 119 LDR r4, [r3, #0] // accu1 = pDat_1[0] 124 SMLAWT r5, r4, r8, r5 // accu2 = accu2*val_tw.h + accu1*val_tw.l 125 SMLAWB r4, r4, r8, r9 // accu1 = accu1*val_tw.h - accu2*val_tw.l 138 STR r4, [r2], #4 // *pDat_0++ = accu1 145 LDR r4, [r3, #0] // accu1 = pDat_1[0] 150 SMLAWT r5, r4, r8, r5 // accu2 = accu2*val_tw.h + accu1*val_tw.l 151 SMLAWB r4, r4, r8, r9 // accu1 = accu1*val_tw.h - accu2*val_tw. 190 FIXP_DBL accu1, accu2, accu3, accu4, accuX; local 211 SMLAWB accuX, accu1, val_tw, accuX local 212 SMLAWT accu2, accu1, val_tw, accu2 local 224 LDR accu1, [pDat_1, #-8] local 236 SMLAWB accuX, accu1, val_tw, accuX local 237 SMLAWT accu2, accu1, val_tw, accu2 local 249 LDR accu1, [pDat_1, #-8] local 359 FIXP_DBL accu1,accu2,accu3,accu4; local 386 RSB accu1, accu1, #0 \/\/ accu1 = -accu1 local 388 SMULWT accu4, accu1, val_tw \/\/ accu4 = (-accu1)*val_tw.l local 390 SMLAWB accu1, accu1, val_tw, accu3 \/\/ accu1 = -accu1*val_tw.h-(-accu2)*val_tw.l local 392 STR accu1, [pDat_1], #-4 \/\/ *pDat_1-- = accu1 local 401 SMULWB accu1, accu3, val_tw \/\/ accu1 = (-accu3)*val_tw.h local 403 RSB accu1, accu1, #0 \/\/ accu1 = -(-accu3)*val_tw.h local 407 LDR accu1, [pDat_1, #-4] \/\/ accu1 = pDat_1[-1] local 418 RSB accu1, accu1, #0 \/\/ accu1 = -accu1 local 420 SMULWT accu4, accu1, val_tw \/\/ accu4 = (-accu1)*val_tw.l local 422 SMLAWB accu1, accu1, val_tw, accu3 \/\/ accu1 = -accu1*val_tw.h-(-accu2)*val_tw.l local 424 STR accu1, [pDat_1], #-4 \/\/ *pDat_1-- = accu1 local 433 SMULWB accu1, accu3, val_tw \/\/ accu1 = (-accu3)*val_tw.h local 435 RSB accu1, accu1, #0 \/\/ accu1 = -(-accu3)*val_tw.h local 439 LDR accu1, [pDat_1, #-4] \/\/ accu1 = pDat_1[-1] local [all...] |
qmf_arm.cpp | 181 FIXP_DBL accu0, accu1; local 192 accu1 = SMULBB( sta1, flt); 194 accu1 = SMLABT( accu1, sta1, flt); 198 accu1 = SMLABB( accu1, sta1, flt); 200 accu1 = SMLABT( accu1, sta1, flt); 204 accu1 = SMLABB( accu1, sta1, flt) [all...] |
/external/aac/libFDK/src/ |
autocorr2nd.cpp | 120 FIXP_DBL accu1, accu2, accu3, accu4, accu5; local 137 accu1 = fPow2Div2(pReBuf[0]) SHIFT; 143 accu1 += ( (fPow2Div2(pReBuf[0]) + 155 accu2 += accu1; 157 accu1 += (fPow2Div2(realBuf[len - 2]) SHIFT); 164 mScale = CntLeadingZeros( (accu1 | accu2 | fAbs(accu3) | fAbs(accu4) | fAbs(accu5)) ) - 1; 168 ac->r11r = accu1 << mScale; 196 FIXP_DBL accu0, accu1,accu2, accu3, accu4, accu5, accu6, accu7, accu8; local 211 accu1 = accu3 = accu5 = accu7 = accu8 = FL2FXCONST_DBL(0.0f); 219 accu1 += ( (fPow2Div2(pReBuf[0] ) + fPow2Div2(pImBuf[0] )) >> len_scale) [all...] |
dct.cpp | 121 FIXP_DBL xr, accu1, accu2; local 139 cplxMultDiv2(&accu2, &accu1, pDat[L - i], pDat[i], sin_twiddle_L64[i*inc]); 144 cplxMultDiv2(&accu6, &accu5, (accu3 - (accu1>>1)), ((accu2>>1) + accu4), sin_twiddle_L64[(4*i)*inc]); 145 xr = (accu1>>1) + accu3; 159 cplxMultDiv2(&accu2, &accu1, pDat[L - (M/2)], pDat[M/2], sin_twiddle_L64[64/4]); 160 tmp[M] = accu1>>1; 193 FIXP_DBL accu1,accu2; local 212 accu1 = *pdat++; 216 accu1 >>= 1; 220 *pTmp_0++ = accu1; 332 register FIXP_DBL accu1,accu2,accu3,accu4; local 345 register FIXP_DBL accu1,accu2; local 366 register FIXP_DBL accu1,accu2,accu3,accu4; local 458 register FIXP_DBL accu1,accu2,accu3,accu4; local 471 register FIXP_DBL accu1,accu2; local 491 register FIXP_DBL accu1,accu2,accu3,accu4; local [all...] |
FDK_hybrid.cpp | 426 FIXP_DBL accu1 = FL2FXCONST_DBL(0.f); local 431 accu1 += pHybridReal[hybOffset+n]; 434 pQmfReal[k] = accu1; 607 FIXP_DBL accu1, accu2, accu3, accu4; local 613 cplxMultDiv2(&accu1, &accu2, pQmfReal[pReadIdx[7]], pQmfImag[pReadIdx[7]], p[1]); 614 pfft[FFT_IDX_R(1)] = accu1; 617 cplxMultDiv2(&accu1, &accu2, pQmfReal[pReadIdx[0]], pQmfImag[pReadIdx[0]], p[2]); 619 pfft[FFT_IDX_R(2)] = accu1 + accu3; 622 cplxMultDiv2(&accu1, &accu2, pQmfReal[pReadIdx[1]], pQmfImag[pReadIdx[1]], p[4]); 624 pfft[FFT_IDX_R(3)] = accu1 + accu3 [all...] |
/frameworks/av/media/libstagefright/codecs/aacenc/src/ |
block_switch.c | 302 Word32 accu1, accu2, accu3; local 307 accu1 = L_mpy_ls(Coeff1, tempUnfiltered); 309 accu3 = accu1 - states0; 312 states0 = accu1; 341 Word32 accu1, accu2, accu3; local 344 accu1 = L_mpy_ls(coeff[1], in); 345 accu3 = accu1 - states[0]; 349 states[0] = accu1;
|
tns.c | 750 Word32 accu1, accu2; local 751 accu1 = L_add(pWorkBuffer[j], fixmul(refc, workBuffer[j - i])); 753 pWorkBuffer[j] = accu1;
|
/external/aac/libSBRdec/src/ |
lpp_tran.cpp | 677 FIXP_DBL accu1, accu2; local 679 accu1 = (fMultDiv2(a0r,lowBandReal[LPC_ORDER+i-1]) - fMultDiv2(a0i,lowBandImag[LPC_ORDER+i-1]) + 684 qmfBufferReal[i][hiBand] = (lowBandReal[LPC_ORDER+i]>>descale) + (accu1<<1); 694 FIXP_DBL accu1; local 696 accu1 = (fMultDiv2(a0r,lowBandReal[LPC_ORDER+i-1]) + fMultDiv2(a1r,lowBandReal[LPC_ORDER+i-2]))>>dynamicScale; 698 qmfBufferReal[i][hiBand] = (lowBandReal[LPC_ORDER+i]>>descale) + (accu1<<1); [all...] |
psdec_hybrid.cpp | 395 FIXP_DBL accu1, accu2, accu3, accu4; local 398 cplxMultDiv2(&accu1, &accu2, pQmfReal[n_0], pQmfImag[n_0], cr[n_0], ci[n_0]); \ 399 accu1 = fMultDiv2(p[n_0], accu1); \ 404 fft[FIXP_FFT_IDX_R(n_2)] = accu1 + accu3; \ 408 cplxMultDiv2(&accu1, &accu2, pQmfReal[n_0], pQmfImag[n_0], cr[n_0], ci[n_0]); \ 409 fft[FIXP_FFT_IDX_R(n_1)] = fMultDiv2(p[n_0], accu1); \
|
/external/aac/libSBRenc/src/ |
tran_det.cpp | 120 FIXP_DBL accu1,accu2,delta_sum,result; local 140 accu1 = ((FL2FXCONST_DBL((1.0e6*NORM_QMF_ENERGY*8.0/32))) << fixMin(scaleEnergies[0],25))>>NRG_SCALE; /* complex init for compare with original version */ 145 accu1 += (Energies[i][j]>>NRG_SCALE); 155 tmp1 = CalcLdData(accu1); 162 : FDKsbrEnc_LSI_divide_scale_fract( (accu1+accu2), 191 FIXP_DBL accu1 = FL2FXCONST_DBL(0.0f); local 199 accu1 += Energies[ts][k] >> 6; 208 nrgTotal = ( (accu1 >> fixMin(scaleEnergies[0],(DFRACT_BITS-1))) 382 FIXP_DBL accu,accu0,accu1; local 406 accu0 = accu1 = FL2FXCONST_DBL(0.0f) [all...] |
env_est.cpp | 462 FIXP_DBL nrgSum, nrg1, nrg2, accu1, accu2; local 472 nrgSum = accu1 = accu2 = (FIXP_DBL)0; 482 accu1 += (nrg1>>dynScale1); 486 nrgSum += ( accu1 >> fixMin((scaleNrg0-sc0-dynScale1),(DFRACT_BITS-1)) ) [all...] |