Home
last modified time | relevance | path

Searched refs:fPow2Div2 (Results 1 – 15 of 15) sorted by relevance

/external/aac/libFDK/src/
Dautocorr2nd.cpp137 accu1 = fPow2Div2(pReBuf[0]) SHIFT; in autoCorr2nd_real()
143 accu1 += ( (fPow2Div2(pReBuf[0]) + in autoCorr2nd_real()
144 fPow2Div2(pReBuf[1])) SHIFT); in autoCorr2nd_real()
154 accu2 = (fPow2Div2(realBuf[-2]) SHIFT); in autoCorr2nd_real()
157 accu1 += (fPow2Div2(realBuf[len - 2]) SHIFT); in autoCorr2nd_real()
219 accu1 += ( (fPow2Div2(pReBuf[0] ) + fPow2Div2(pImBuf[0] )) >> len_scale); in autoCorr2nd_cplx()
226 accu2 = ( (fPow2Div2(realBuf[-2]) + fPow2Div2(imagBuf[-2])) >> len_scale); in autoCorr2nd_cplx()
229 accu1 += ( (fPow2Div2(realBuf[len-2]) + in autoCorr2nd_cplx()
230 fPow2Div2(imagBuf[len-2])) >> len_scale); in autoCorr2nd_cplx()
231 accu0 = ( (fPow2Div2(realBuf[len-1]) + in autoCorr2nd_cplx()
[all …]
DFDK_trigFcts.cpp273 result = PI_BY_4 + (delta_fix >> 1) - (fPow2Div2(delta_fix)); in fixp_atan()
279 temp = fPow2Div2(x); // q25 * q25 - (DFRACT_BITS-1) - 1 = q18 in fixp_atan()
Dfixpoint_math.cpp448 regtmp= fPow2Div2(reg1); /* a = Q^2 */ in invSqrtNorm2()
/external/aac/libSBRenc/src/
Dps_encode.cpp316 iidMeanError += fPow2Div2(dIid)>>(5-1); /* + (bands=20) scale = 5 */ in envelopeReducible()
317 iccMeanError += fPow2Div2(dIcc)>>(5-1); in envelopeReducible()
702 cNrgR = fPow2Div2((pwrCr[env][i]<<sc1)); /* squared nrg's expect explicit scaling */ in calculateICC()
703 cNrgI = fPow2Div2((pwrCi[env][i]<<sc1)); in calculateICC()
904 pwrL_env_bin += (fPow2Div2(l_real) + fPow2Div2(l_imag)) >> bScale; in FDKsbrEnc_PSEncode()
905 pwrR_env_bin += (fPow2Div2(r_real) + fPow2Div2(r_imag)) >> bScale; in FDKsbrEnc_PSEncode()
Dps_main.cpp347 stereoScaleFactor = fPow2Div2(tmpLeftReal) + fPow2Div2(tmpLeftImag) in DownmixPSQmfData()
348 + fPow2Div2(tmpRightReal) + fPow2Div2(tmpRightImag) ; in DownmixPSQmfData()
Denv_est.cpp280 energy = fPow2AddDiv2(fPow2Div2(tr0), ti0) >> 1; in FDKsbrEnc_getEnergyFromCplxQmfData()
284 energy += fPow2AddDiv2(fPow2Div2(tr1), ti1) >> 1; in FDKsbrEnc_getEnergyFromCplxQmfData()
371 energy = fPow2AddDiv2(fPow2Div2(tr0), ti0); in FDKsbrEnc_getEnergyFromCplxQmfDataFull()
/external/aac/libFDK/include/
Dfixmadd.h287 { return (x + fPow2Div2(a)); } in fixpadddiv2_D()
296 { return (x + fPow2Div2(a)); } in fixpadddiv2_S()
Dcommon_fix.h210 FDK_INLINE LONG fPow2Div2(LONG a) { return fixpow2div2_D(a); } in fPow2Div2() function
211 FDK_INLINE LONG fPow2Div2(SHORT a) { return fixpow2div2_S(a); } in fPow2Div2() function
Dfixpoint_math.h208 return ( fPow2Div2( (FIXP_DBL)tmp_inv ) >> (31-(2*tmp_exp+1)) ) ; in invFixp()
/external/aac/libAACenc/src/
Dblock_switch.cpp367 temp_windowNrg += fPow2Div2(tempUnfiltered) >> (BLOCK_SWITCH_ENERGY_SHIFT - 1 - 2); in FDKaacEnc_CalcWindowEnergy()
368 temp_windowNrgF += fPow2Div2(tempFiltred) >> (BLOCK_SWITCH_ENERGY_SHIFT - 1 - 2); in FDKaacEnc_CalcWindowEnergy()
Dintensity.cpp359 …square_l += fPow2Div2(tmp_l); // scaled with 2*(mdctScale - s + … in FDKaacEnc_prepareIntensityDecision()
360 …square_r += fPow2Div2(tmp_r); // scaled with 2*(mdctScale - s + … in FDKaacEnc_prepareIntensityDecision()
Dmetadata_compressor.cpp713 accu += fPow2Div2(y)>>(granuleShift-1); /* partial energy */ in FDK_DRC_Generator_Calc()
746 accu += fPow2Div2((FIXP_PCM)pSamples[i*drcComp->channels])>>(granuleShift-1); in FDK_DRC_Generator_Calc()
Daacenc_tns.cpp1076 gaussExp_m = -fPow2Div2(gaussExp_m); in FDKaacEnc_CalcGaussWindow()
/external/aac/libAACdec/src/
Dconceal.cpp1341 enAccu += fPow2Div2(*(spectrum + line)) >> sfbScale; in CConcealment_CalcBandEnergy()
1356 enAccu += (enAccu + (fPow2Div2(*(spectrum + line)) >> sfbScale)) >> 3; in CConcealment_CalcBandEnergy()
1375 enAccu += fPow2Div2(*(spectrum + line)) >> sfbScale; in CConcealment_CalcBandEnergy()
1390 enAccu += fPow2Div2(*(spectrum + (line >> 3))) >> sfbScale; in CConcealment_CalcBandEnergy()
/external/aac/libSBRdec/src/
Denv_calc.cpp1534 sumLine += fPow2Div2(temp); in calcNrgPerSfb()
1536 sumLine += fPow2Div2(temp); in calcNrgPerSfb()
1542 sumLine += fPow2Div2(temp); in calcNrgPerSfb()
1544 sumLine += fPow2Div2(temp); in calcNrgPerSfb()
1552 sumLine += fPow2Div2(temp); in calcNrgPerSfb()
1557 sumLine += fPow2Div2(temp); in calcNrgPerSfb()