/external/aac/libSBRdec/src/arm/ |
lpp_tran_arm.cpp | 115 FIXP_DBL real1, real2, imag1, imag2, accu1, accu2; local 124 accu2 = fMultDiv2( a0i,imag1); 126 accu2 = fMultAddDiv2(accu2,a1i,imag2); 128 accu1 = accu1 - accu2; 131 accu2 = fMultAddDiv2(real2,a1r,imag2); 134 accu2 = fMultAddDiv2(accu2,a0i,real1); 136 accu2 = fMultAddDiv2(accu2,a0r,imag1) [all...] |
/external/aac/libFDK/src/ |
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]); 149 xr = (accu2>>1) - accu4; 159 cplxMultDiv2(&accu2, &accu1, pDat[L - (M/2)], pDat[M/2], sin_twiddle_L64[64/4]); 161 tmp[M+1] = accu2>>1; 193 FIXP_DBL accu1,accu2; local 213 accu2 = *pdat++; 217 accu2 >>= 1; 222 *pTmp_1-- = accu2; 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...] |
autocorr2nd.cpp | 120 FIXP_DBL accu1, accu2, accu3, accu4, accu5; local 154 accu2 = (fPow2Div2(realBuf[-2]) SHIFT); 155 accu2 += accu1; 164 mScale = CntLeadingZeros( (accu1 | accu2 | fAbs(accu3) | fAbs(accu4) | fAbs(accu5)) ) - 1; 169 ac->r22r = accu2 << mScale; 196 FIXP_DBL accu0, accu1,accu2, accu3, accu4, accu5, accu6, accu7, accu8; local 226 accu2 = ( (fPow2Div2(realBuf[-2]) + fPow2Div2(imagBuf[-2])) >> len_scale); 227 accu2 += accu1; 251 mScale = CntLeadingZeros( (accu0 | accu1 | accu2 | fAbs(accu3) | fAbs(accu4) | fAbs(accu5) | 258 ac->r22r = (FIXP_DBL)accu2 << mScale [all...] |
FDK_hybrid.cpp | 427 FIXP_DBL accu2 = FL2FXCONST_DBL(0.f); local 432 accu2 += pHybridImag[hybOffset+n]; 435 pQmfImag[k] = accu2; 607 FIXP_DBL accu1, accu2, accu3, accu4; local 613 cplxMultDiv2(&accu1, &accu2, pQmfReal[pReadIdx[7]], pQmfImag[pReadIdx[7]], p[1]); 615 pfft[FFT_IDX_I(1)] = accu2; 617 cplxMultDiv2(&accu1, &accu2, pQmfReal[pReadIdx[0]], pQmfImag[pReadIdx[0]], p[2]); 620 pfft[FFT_IDX_I(2)] = accu2 + accu4; 622 cplxMultDiv2(&accu1, &accu2, pQmfReal[pReadIdx[1]], pQmfImag[pReadIdx[1]], p[4]); 625 pfft[FFT_IDX_I(3)] = accu2 + accu4 [all...] |
/external/aac/libFDK/src/arm/ |
dct_arm.cpp | 106 r5 accu2 118 LDR r5, [r2, #0] // accu2 = pDat_0[0] 121 SMULWT r9, r5, r8 // accuX = accu2*val_tw.l 122 SMULWB r5, r5, r8 // accu2 = accu2*val_tw.h 123 RSB r9, r9, #0 // accuX =-accu2*val_tw.l 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 137 STR r5, [r2], #4 // *pDat_0++ = accu2 190 FIXP_DBL accu1, accu2, accu3, accu4, accuX; local 208 SMULWT accuX, accu2, val_tw local 209 SMULWB accu2, accu2, val_tw local 212 SMLAWT accu2, accu1, val_tw, accu2 local 214 STR accu2, [pDat_1, #-4] ! local 225 LDR accu2, [pDat_1, #-4] local 233 SMULWT accuX, accu2, val_tw local 234 SMULWB accu2, accu2, val_tw local 237 SMLAWT accu2, accu1, val_tw, accu2 local 239 STR accu2, [pDat_1, #-4] ! local 250 LDR accu2, [pDat_1, #-4] local 359 FIXP_DBL accu1,accu2,accu3,accu4; local 385 RSB accu2, accu2, #0 \/\/ accu2 = -accu2 local 387 SMULWT accu3, accu2, val_tw \/\/ accu3 = (-accu2)*val_tw.l local 391 SMLAWB accu2, accu2, val_tw, accu4 \/\/ accu2 = (-accu1)*val_tw.l+(-accu2)*val_tw.h local 402 SMULWT accu2, accu3, val_tw \/\/ accu2 = (-accu3)*val_tw.l local 408 LDR accu2, [pDat_1] \/\/ accu2 = pDat_1[0] local 417 RSB accu2, accu2, #0 \/\/ accu2 = -accu2 local 419 SMULWT accu3, accu2, val_tw \/\/ accu3 = (-accu2)*val_tw.l local 423 SMLAWB accu2, accu2, val_tw, accu4 \/\/ accu2 = (-accu1)*val_tw.l+(-accu2)*val_tw.h local 434 SMULWT accu2, accu3, val_tw \/\/ accu2 = (-accu3)*val_tw.l local 440 LDR accu2, [pDat_1] \/\/ accu2 = pDat_1[0] local [all...] |
/external/aac/libSBRdec/src/ |
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]); \ 400 accu2 = fMultDiv2(p[n_0], accu2); \ 405 fft[FIXP_FFT_IDX_I(n_2)] = accu2 + accu4; 408 cplxMultDiv2(&accu1, &accu2, pQmfReal[n_0], pQmfImag[n_0], cr[n_0], ci[n_0]); \ 410 fft[FIXP_FFT_IDX_I(n_1)] = fMultDiv2(p[n_0], accu2);
|
lpp_tran.cpp | 677 FIXP_DBL accu1, accu2; local 681 accu2 = (fMultDiv2(a0i,lowBandReal[LPC_ORDER+i-1]) + fMultDiv2(a0r,lowBandImag[LPC_ORDER+i-1]) + 685 qmfBufferImag[i][hiBand] = (lowBandImag[LPC_ORDER+i]>>descale) + (accu2<<1); [all...] |
/frameworks/av/media/libstagefright/codecs/aacenc/src/ |
block_switch.c | 302 Word32 accu1, accu2, accu3; local 308 accu2 = fixmul( Coeff0, states1 ); 310 out = accu3 - accu2; 341 Word32 accu1, accu2, accu3; local 346 accu2 = fixmul( coeff[0], states[1] ); 347 out = accu3 - accu2;
|
tns.c | 750 Word32 accu1, accu2; local 752 accu2 = L_add(workBuffer[j - i], fixmul(refc, pWorkBuffer[j])); 754 workBuffer[j - i] = accu2;
|
/external/aac/libSBRenc/src/ |
tran_det.cpp | 120 FIXP_DBL accu1,accu2,delta_sum,result; local 141 accu2 = ((FL2FXCONST_DBL((1.0e6*NORM_QMF_ENERGY*8.0/32))) << fixMin(scaleEnergies[0],25))>>NRG_SCALE; /* can be simplified in dsp implementation */ 150 accu2 += (Energies[i][j]>>NRG_SCALE); 154 tmp0 = CalcLdData(accu2); 162 : FDKsbrEnc_LSI_divide_scale_fract( (accu1+accu2), 192 FIXP_DBL accu2 = FL2FXCONST_DBL(0.0f); local 204 accu2 += Energies[ts][k] >> 6; 209 + (accu2 >> fixMin(scaleEnergies[1],(DFRACT_BITS-1))) ) << (2);
|
env_est.cpp | 465 FIXP_DBL nrgSum, nrg1, nrg2, accu1, accu2; local 475 nrgSum = accu1 = accu2 = (FIXP_DBL)0; 486 accu2 += (nrg2>>dynScale2); 490 + ( accu2 >> fixMin((scaleNrg1-sc1-dynScale2),(DFRACT_BITS-1)) ); [all...] |
/frameworks/av/media/libstagefright/codecs/aacenc/src/asm/ARMV5E/ |
CalcWindowEnergy_v5.s | 61 smull r0, r8, r12, r11 @ accu2 = fixmul( Coeff0, states1 ); 67 sub r8, r0, r8 @ out = accu3 - accu2;
|
/external/aac/libAACenc/src/ |
aacenc_tns.cpp | [all...] |