/external/aac/libSACdec/src/ |
D | sac_reshapeBBEnv.cpp | 165 slotNrg[0] = ((fPow2Div2((*pReal++) << maxValSF) + in getSlotNrgHQ() 166 fPow2Div2((*pImag++) << maxValSF)) >> in getSlotNrgHQ() 168 slotNrg[1] = ((fPow2Div2((*pReal++) << maxValSF) + in getSlotNrgHQ() 169 fPow2Div2((*pImag++) << maxValSF)) >> in getSlotNrgHQ() 171 slotNrg[2] = ((fPow2Div2((*pReal++) << maxValSF) + in getSlotNrgHQ() 172 fPow2Div2((*pImag++) << maxValSF)) >> in getSlotNrgHQ() 175 slotNrg[3] = ((fPow2Div2((*pReal++) << maxValSF) + in getSlotNrgHQ() 176 fPow2Div2((*pImag++) << maxValSF)) >> in getSlotNrgHQ() 179 nrg = ((fPow2Div2((*pReal++) << maxValSF) + in getSlotNrgHQ() 180 fPow2Div2((*pImag++) << maxValSF)) >> in getSlotNrgHQ() [all …]
|
D | sac_stp.cpp | 181 fMultDiv2(fPow2Div2(dmxReal << SF_DRY), pBP[n]) >> ((2 * SF_DRY) - 2) 185 fPow2Div2(dmxReal << SF_DRY) + fPow2Div2(dmxImag << SF_DRY), pBP[n]) 454 tmp = fPow2Div2(qmfOutputRealWet[ch][n] << SF_WET); in subbandTPApply() 455 tmp += fPow2Div2(qmfOutputImagWet[ch][n] << SF_WET); in subbandTPApply()
|
/external/aac/libFDK/src/ |
D | autocorr2nd.cpp | 140 accu1 = fPow2Div2(pReBuf[0]) SHIFT; in autoCorr2nd_real() 145 accu1 += ((fPow2Div2(pReBuf[0]) + 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() 222 accu1 += ((fPow2Div2(pReBuf[0]) + fPow2Div2(pImBuf[0])) >> len_scale); in autoCorr2nd_cplx() 237 accu2 = ((fPow2Div2(realBuf[-2]) + fPow2Div2(imagBuf[-2])) >> len_scale); in autoCorr2nd_cplx() 240 accu1 += ((fPow2Div2(realBuf[len - 2]) + fPow2Div2(imagBuf[len - 2])) >> in autoCorr2nd_cplx() 242 accu0 = ((fPow2Div2(realBuf[len - 1]) + fPow2Div2(imagBuf[len - 1])) >> in autoCorr2nd_cplx() 244 ((fPow2Div2(realBuf[-1]) + fPow2Div2(imagBuf[-1])) >> len_scale); in autoCorr2nd_cplx()
|
D | FDK_trigFcts.cpp | 278 result = PI_BY_4 + (delta_fix >> 1) - (fPow2Div2(delta_fix)); in fixp_atan() 283 temp = fPow2Div2(x); /* q25 * q25 - (DFRACT_BITS-1) - 1 = q18 */ in fixp_atan()
|
D | FDK_decorrelate.cpp | 1090 fAddSaturate(energy[pb], fPow2Div2(inputReal[qs] << clz) + in DuckerCalcEnergy() 1091 fPow2Div2(inputImag[qs] << clz)); in DuckerCalcEnergy() 1104 nrg = fAddSaturate(nrg, fPow2Div2(inputReal[qs] << clz)); in DuckerCalcEnergy() 1143 fAddSaturate(energy[pb], fPow2Div2(inputReal[qs] << clz) + in DuckerCalcEnergy() 1144 fPow2Div2(inputImag[qs] << clz)); in DuckerCalcEnergy() 1149 energy[pb] = fAddSaturate(energy[pb], fPow2Div2(inputReal[qs] << clz)); in DuckerCalcEnergy() 1426 duckGain = fPow2Div2(duckGain << scale); in DuckerApplyPS()
|
/external/aac/libSACenc/src/ |
D | sacenc_vectorfunctions.cpp | 153 re += fPow2Div2(x[i].v.re << cs); in sumUpCplxPow2() 154 im += fPow2Div2(x[i].v.im << cs); in sumUpCplxPow2() 159 re += fPow2Div2(x[i].v.re) >> cs; in sumUpCplxPow2() 160 im += fPow2Div2(x[i].v.im) >> cs; in sumUpCplxPow2() 204 re += fPow2Div2(x[i][j].v.re << cs); in sumUpCplxPow2Dim2() 205 im += fPow2Div2(x[i][j].v.im << cs); in sumUpCplxPow2Dim2() 212 re += fPow2Div2(x[i][j].v.re) >> cs; in sumUpCplxPow2Dim2() 213 im += fPow2Div2(x[i][j].v.im) >> cs; in sumUpCplxPow2Dim2() 338 p12ri = sqrtFixp(fPow2Div2(p12r[i] << s2) + fPow2Div2(p12i[i] << s2)); in calcCoherenceVec()
|
D | sacenc_dmx_tdom_enh.cpp | 392 partialL += fPow2Div2(inputL) >> (granuleShift - 3); in fdk_sacenc_apply_enhancedTimeDomainDmx() 393 partialR += fPow2Div2(inputR) >> (granuleShift - 3); in fdk_sacenc_apply_enhancedTimeDomainDmx()
|
/external/aac/libSBRenc/src/ |
D | ps_encode.cpp | 310 iidMeanError += fPow2Div2(dIid) >> (5 - 1); /* + (bands=20) scale = 5 */ in envelopeReducible() 311 iccMeanError += fPow2Div2(dIcc) >> (5 - 1); in envelopeReducible() 707 num_m = fPow2Div2((pwrCr[env][i] << num_e)) + in calculateICC() 708 fPow2Div2((pwrCi[env][i] << num_e)); in calculateICC() 883 pwrL_env_bin += (fPow2Div2(l_real) + fPow2Div2(l_imag)) >> bScale; in FDKsbrEnc_PSEncode() 884 pwrR_env_bin += (fPow2Div2(r_real) + fPow2Div2(r_imag)) >> bScale; in FDKsbrEnc_PSEncode()
|
D | ps_main.cpp | 343 stereoScaleFactor = fPow2Div2(tmpLeftReal) + fPow2Div2(tmpLeftImag) + in DownmixPSQmfData() 344 fPow2Div2(tmpRightReal) + fPow2Div2(tmpRightImag); in DownmixPSQmfData()
|
D | tran_det.cpp | 521 temp = fPow2Div2(temp); in calculateThresholds() 527 temp = fPow2Div2(temp); in calculateThresholds()
|
D | env_est.cpp | 301 energy = fPow2AddDiv2(fPow2Div2(tr0), ti0) >> 1; in FDKsbrEnc_getEnergyFromCplxQmfData() 305 energy += fPow2AddDiv2(fPow2Div2(tr1), ti1) >> 1; in FDKsbrEnc_getEnergyFromCplxQmfData() 398 energy = fPow2AddDiv2(fPow2Div2(tr0), ti0); in FDKsbrEnc_getEnergyFromCplxQmfDataFull()
|
/external/aac/libSBRdec/src/ |
D | hbe.cpp | 1236 FIXP_DBL energy = fPow2Div2(gammaVecReal) + fPow2Div2(gammaVecImag); in calculateCenterFIXP() 1269 *centerReal = fPow2Div2(gc_r_m) - fPow2Div2(gc_i_m); in calculateCenterFIXP() 1276 gc_r_m = fPow2Div2(gc_r_m) - fPow2Div2(gc_i_m); in calculateCenterFIXP() 1318 FIXP_DBL energy = fPow2AddDiv2(fPow2Div2(g_r_m), g_i_m); in addHighBandPart() 1730 sqmag0_F = fPow2Div2(sqmag0R_F); in QmfTransposerApply() 1731 sqmag0_F += fPow2Div2(sqmag0I_F); in QmfTransposerApply() 1756 sqmag1_F = fPow2Div2(sqmag1R_F); in QmfTransposerApply() 1757 sqmag1_F += fPow2Div2(sqmag1I_F); in QmfTransposerApply() 1765 sqmag2_F = fPow2Div2(sqmag2R_F); in QmfTransposerApply() 1766 sqmag2_F += fPow2Div2(sqmag2I_F); in QmfTransposerApply()
|
D | HFgen_preFlat.cpp | 913 nrg_ov += (fPow2Div2(sourceBufferReal[i][loBand] << reserve) + in sbrDecoder_calculateGainVec() 914 fPow2Div2(sourceBufferImag[i][loBand] << reserve)) >> in sbrDecoder_calculateGainVec() 922 nrg += (fPow2Div2(sourceBufferReal[i][loBand] << reserve) + in sbrDecoder_calculateGainVec() 923 fPow2Div2(sourceBufferImag[i][loBand] << reserve)) >> in sbrDecoder_calculateGainVec()
|
D | pvc_dec.cpp | 537 E[ksg] += (fPow2Div2(qmfR[band]) + fPow2Div2(qmfI[band])) >> 2; in pvcDecodeTimeSlot()
|
D | env_calc.cpp | 576 addme = fPow2Div2(bufferReal[j]); in apply_inter_tes() 578 addme = fPow2Div2(bufferImag[j]); in apply_inter_tes() 614 subsample_power_high[i] += fPow2Div2(bufferReal[j]) >> postShift; in apply_inter_tes() 615 subsample_power_high[i] += fPow2Div2(bufferImag[j]) >> postShift; in apply_inter_tes() 2170 sumLine += fPow2Div2(temp); in calcNrgPerSfb() 2172 sumLine += fPow2Div2(temp); in calcNrgPerSfb() 2177 sumLine += fPow2Div2(temp); in calcNrgPerSfb() 2179 sumLine += fPow2Div2(temp); in calcNrgPerSfb() 2186 sumLine += fPow2Div2(temp); in calcNrgPerSfb() 2191 sumLine += fPow2Div2(temp); in calcNrgPerSfb()
|
/external/aac/libFDK/include/ |
D | fixmadd.h | 312 return (x + fPow2Div2(a)); in fixpadddiv2_D() 325 return (x + fPow2Div2(a)); in fixpadddiv2_S()
|
D | common_fix.h | 249 FDK_INLINE LONG fPow2Div2(LONG a) { return fixpow2div2_D(a); } in fPow2Div2() function 250 FDK_INLINE LONG fPow2Div2(SHORT a) { return fixpow2div2_S(a); } in fPow2Div2() function
|
D | fixpoint_math.h | 375 tmp_inv = fPow2Div2(tmp_inv); in invFixp() 399 return fPow2Div2(tmp_inv); in invFixp()
|
/external/aac/libAACdec/src/ |
D | usacdec_lpd.cpp | 195 ener += fPow2Div2((x[i] << headroom_x)) >> width_shift; in bass_pf_1sf_delay() 198 tmp += fPow2Div2((y[i] << headroom_y)) >> width_shift; in bass_pf_1sf_delay() 271 tmp += fPow2Div2(syn[i + i_subfr] << s1) >> (SF_PITCH_TRACK); in bass_pf_1sf_delay() 272 ener += fPow2Div2(syn[i + i_subfr + T] << s2) >> (SF_PITCH_TRACK); in bass_pf_1sf_delay() 438 x0 = fPow2Div2(x0); in CLpd_AdaptLowFreqDeemph() 439 x1 = fPow2Div2(x1); in CLpd_AdaptLowFreqDeemph() 760 rms_m += fPow2Div2(r[i] << headroom) >> shift; in calcEnergy() 894 FIXP_DBL tmp = fPow2Div2(xri[i]) + fPow2Div2(xri[i + 1]); in find_mpitch()
|
D | usacdec_lpc.cpp | 251 e += fPow2Div2( in RE8_PPV() 254 e -= fPow2Div2(tmp << r); in RE8_PPV() 981 tmp += fPow2Div2((FIXP_SGL)(lsf_curr[j] - lsf_prev[j])) >> 3; in CLpc_Read()
|
D | conceal.cpp | 1150 enAccu += fPow2Div2(*(spectrum + line)) >> sfbScale; in CConcealment_CalcBandEnergy() 1168 (enAccu + (fPow2Div2(*(spectrum + line)) >> sfbScale)) >> 3; in CConcealment_CalcBandEnergy() 1190 enAccu += fPow2Div2(*(spectrum + line)) >> sfbScale; in CConcealment_CalcBandEnergy() 1207 enAccu += fPow2Div2(*(spectrum + (line >> 3))) >> sfbScale; in CConcealment_CalcBandEnergy()
|
D | usacdec_acelp.cpp | 213 ener_code += fPow2Div2(code[i]); in D_gain2_plus() 311 ener_exc += fPow2Div2(exc[i]) >> s; in calc_period_factor()
|
/external/aac/libAACenc/src/ |
D | block_switch.cpp | 397 temp_windowNrg += (LONG)fPow2Div2(temp_iirState0) >> in FDKaacEnc_CalcWindowEnergy() 399 temp_windowNrgF += (LONG)fPow2Div2(temp_iirState1) >> in FDKaacEnc_CalcWindowEnergy()
|
D | intensity.cpp | 399 fPow2Div2(tmp_l); // scaled with 2*(mdctScale - s + inv_n) + 1 in FDKaacEnc_prepareIntensityDecision() 401 fPow2Div2(tmp_r); // scaled with 2*(mdctScale - s + inv_n) + 1 in FDKaacEnc_prepareIntensityDecision()
|
D | metadata_compressor.cpp | 1311 accu += fPow2Div2(y) >> (granuleShift - 1); /* partial energy */ in FDK_DRC_Generator_Calc() 1345 accu += fPow2Div2((FIXP_PCM)pSamples[i]) >> (granuleShift - 1); in FDK_DRC_Generator_Calc()
|