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

/external/aac/libFDK/src/
H A Dautocorr2nd.cpp137 accu1 = fPow2Div2(pReBuf[0]) SHIFT;
143 accu1 += ( (fPow2Div2(pReBuf[0]) +
144 fPow2Div2(pReBuf[1])) SHIFT);
154 accu2 = (fPow2Div2(realBuf[-2]) SHIFT);
157 accu1 += (fPow2Div2(realBuf[len - 2]) SHIFT);
219 accu1 += ( (fPow2Div2(pReBuf[0] ) + fPow2Div2(pImBuf[0] )) >> len_scale);
226 accu2 = ( (fPow2Div2(realBuf[-2]) + fPow2Div2(imagBuf[-2])) >> len_scale);
229 accu1 += ( (fPow2Div2(realBu
[all...]
H A DFDK_trigFcts.cpp273 result = PI_BY_4 + (delta_fix >> 1) - (fPow2Div2(delta_fix));
279 temp = fPow2Div2(x); // q25 * q25 - (DFRACT_BITS-1) - 1 = q18
H A Dfixpoint_math.cpp406 regtmp= fPow2Div2(reg1); /* a = Q^2 */
/external/aac/libFDK/include/
H A Dfixmadd.h287 { return (x + fPow2Div2(a)); }
296 { return (x + fPow2Div2(a)); }
H A Dcommon_fix.h210 FDK_INLINE LONG fPow2Div2(LONG a) { return fixpow2div2_D(a); } function
211 FDK_INLINE LONG fPow2Div2(SHORT a) { return fixpow2div2_S(a); } function
H A Dfixpoint_math.h179 return ( fPow2Div2( (FIXP_DBL)tmp_inv ) >> (31-(2*tmp_exp+1)) ) ;
/external/aac/libSBRenc/src/
H A Dps_encode.cpp316 iidMeanError += fPow2Div2(dIid)>>(5-1); /* + (bands=20) scale = 5 */
317 iccMeanError += fPow2Div2(dIcc)>>(5-1);
702 cNrgR = fPow2Div2((pwrCr[env][i]<<sc1)); /* squared nrg's expect explicit scaling */
703 cNrgI = fPow2Div2((pwrCi[env][i]<<sc1));
904 pwrL_env_bin += (fPow2Div2(l_real) + fPow2Div2(l_imag)) >> bScale;
905 pwrR_env_bin += (fPow2Div2(r_real) + fPow2Div2(r_imag)) >> bScale;
H A Dps_main.cpp345 stereoScaleFactor = fPow2Div2(tmpLeftReal) + fPow2Div2(tmpLeftImag)
346 + fPow2Div2(tmpRightReal) + fPow2Div2(tmpRightImag) ;
H A Denv_est.cpp175 energy = fPow2AddDiv2(fPow2Div2(tr0), ti0) >> 1;
179 energy += fPow2AddDiv2(fPow2Div2(tr1), ti1) >> 1;
266 energy = fPow2AddDiv2(fPow2Div2(tr0), ti0);
/external/aac/libAACenc/src/
H A Dblock_switch.cpp379 temp_windowNrg += fPow2Div2(tempUnfiltered) >> (BLOCK_SWITCH_ENERGY_SHIFT - 1 - 2);
380 temp_windowNrgF += fPow2Div2(tempFiltred) >> (BLOCK_SWITCH_ENERGY_SHIFT - 1 - 2);
H A Dintensity.cpp360 square_l += fPow2Div2(tmp_l); // scaled with 2*(mdctScale - s + inv_n) + 1
361 square_r += fPow2Div2(tmp_r); // scaled with 2*(mdctScale - s + inv_n) + 1
H A Dmetadata_compressor.cpp702 accu += fPow2Div2(y)>>(granuleShift-1); /* partial energy */
735 accu += fPow2Div2((FIXP_PCM)pSamples[i*drcComp->channels])>>(granuleShift-1);
H A Daacenc_tns.cpp1087 gaussExp_m = -fPow2Div2(gaussExp_m);
/external/aac/libAACdec/src/
H A Dconceal.cpp1340 enAccu += fPow2Div2(*(spectrum + line)) >> sfbScale;
1355 enAccu += (enAccu + (fPow2Div2(*(spectrum + line)) >> sfbScale)) >> 3;
1374 enAccu += fPow2Div2(*(spectrum + line)) >> sfbScale;
1389 enAccu += fPow2Div2(*(spectrum + (line >> 3))) >> sfbScale;
/external/aac/libSBRdec/src/
H A Denv_calc.cpp1514 sumLine += fPow2Div2(temp);
1516 sumLine += fPow2Div2(temp);
1522 sumLine += fPow2Div2(temp);
1524 sumLine += fPow2Div2(temp);
1532 sumLine += fPow2Div2(temp);
1537 sumLine += fPow2Div2(temp);

Completed in 295 milliseconds