/external/aac/libFDK/src/ |
D | autocorr2nd.cpp | 135 accu5 = ((fMultDiv2(pReBuf[0], pReBuf[2]) + fMultDiv2(pReBuf[1], pReBuf[3])) in autoCorr2nd_real() 141 accu3 = fMultDiv2(pReBuf[0], pReBuf[1]) SHIFT; in autoCorr2nd_real() 147 accu3 += ((fMultDiv2(pReBuf[0], pReBuf[1]) + in autoCorr2nd_real() 148 fMultDiv2(pReBuf[1], pReBuf[2])) SHIFT); in autoCorr2nd_real() 150 accu5 += ((fMultDiv2(pReBuf[0], pReBuf[2]) + in autoCorr2nd_real() 151 fMultDiv2(pReBuf[1], pReBuf[3])) SHIFT); in autoCorr2nd_real() 159 accu4 = (fMultDiv2(realBuf[-1], realBuf[-2]) SHIFT); in autoCorr2nd_real() 162 accu3 += (fMultDiv2(realBuf[len - 1], realBuf[len - 2]) SHIFT); in autoCorr2nd_real() 176 ac->det = (fMultDiv2(ac->r11r, ac->r22r) - fMultDiv2(ac->r12r, ac->r12r)); in autoCorr2nd_real() 214 ((fMultDiv2(pReBuf[2], pReBuf[0]) + fMultDiv2(pImBuf[2], pImBuf[0])) >> in autoCorr2nd_cplx() [all …]
|
D | FDK_hybrid.cpp | 523 r1 = fMultDiv2(f0, pQmfReal[pReadIdx[1]]) + in dualChannelFiltering() 524 fMultDiv2(f0, pQmfReal[pReadIdx[11]]); in dualChannelFiltering() 525 i1 = fMultDiv2(f0, pQmfImag[pReadIdx[1]]) + in dualChannelFiltering() 526 fMultDiv2(f0, pQmfImag[pReadIdx[11]]); in dualChannelFiltering() 527 r1 += fMultDiv2(f1, pQmfReal[pReadIdx[3]]) + in dualChannelFiltering() 528 fMultDiv2(f1, pQmfReal[pReadIdx[9]]); in dualChannelFiltering() 529 i1 += fMultDiv2(f1, pQmfImag[pReadIdx[3]]) + in dualChannelFiltering() 530 fMultDiv2(f1, pQmfImag[pReadIdx[9]]); in dualChannelFiltering() 531 r1 += fMultDiv2(f2, pQmfReal[pReadIdx[5]]) + in dualChannelFiltering() 532 fMultDiv2(f2, pQmfReal[pReadIdx[7]]); in dualChannelFiltering() [all …]
|
D | FDK_decorrelate.cpp | 678 yReal = (pStates[0] + fMultDiv2(xReal, nFilt0L)) << FILTER_SF; in DecorrFilterApplyREAL() 679 yImag = (pStates[1] + fMultDiv2(xImag, nFilt0L)) << FILTER_SF; in DecorrFilterApplyREAL() 685 pStates[2] + fMultDiv2(xReal, nFilt0H) - fMultDiv2(yReal, nFilt0H); in DecorrFilterApplyREAL() 687 pStates[3] + fMultDiv2(xImag, nFilt0H) - fMultDiv2(yImag, nFilt0H); in DecorrFilterApplyREAL() 688 pStates[2] = (xReal >> FILTER_SF) - fMultDiv2(yReal, nFilt0L); in DecorrFilterApplyREAL() 689 pStates[3] = (xImag >> FILTER_SF) - fMultDiv2(yImag, nFilt0L); in DecorrFilterApplyREAL() 708 yReal = (pStates[0] + fMultDiv2(xReal, nFilt0L)) << FILTER_SF; in DecorrFilterApplyREAL() 709 yImag = (pStates[1] + fMultDiv2(xImag, nFilt0L)) << FILTER_SF; in DecorrFilterApplyREAL() 715 pStates[2] + fMultDiv2(xReal, nFilt0H) - fMultDiv2(yReal, nFilt1L); in DecorrFilterApplyREAL() 717 pStates[3] + fMultDiv2(xImag, nFilt0H) - fMultDiv2(yImag, nFilt1L); in DecorrFilterApplyREAL() [all …]
|
D | scale.cpp | 549 *vector = fMultDiv2(*vector, factor) << scalefactor; in scaleValuesWithFactor() 553 *vector = fMultDiv2(*vector, factor) << scalefactor; in scaleValuesWithFactor() 555 *vector = fMultDiv2(*vector, factor) << scalefactor; in scaleValuesWithFactor() 557 *vector = fMultDiv2(*vector, factor) << scalefactor; in scaleValuesWithFactor() 559 *vector = fMultDiv2(*vector, factor) << scalefactor; in scaleValuesWithFactor() 565 *vector = fMultDiv2(*vector, factor) >> negScalefactor; in scaleValuesWithFactor() 569 *vector = fMultDiv2(*vector, factor) >> negScalefactor; in scaleValuesWithFactor() 571 *vector = fMultDiv2(*vector, factor) >> negScalefactor; in scaleValuesWithFactor() 573 *vector = fMultDiv2(*vector, factor) >> negScalefactor; in scaleValuesWithFactor() 575 *vector = fMultDiv2(*vector, factor) >> negScalefactor; in scaleValuesWithFactor()
|
/external/aac/libFDK/include/ |
D | cplx_mul.h | 127 *c_Re = fMultDiv2(a_Re, b_Re) - fMultDiv2(a_Im, b_Im); in cplxMultDiv2() 128 *c_Im = fMultDiv2(a_Re, b_Im) + fMultDiv2(a_Im, b_Re); in cplxMultDiv2() 138 *c_Re = fMultDiv2(a_Re, b_Re) - fMultDiv2(a_Im, b_Im); in cplxMultDiv2() 139 *c_Im = fMultDiv2(a_Re, b_Im) + fMultDiv2(a_Im, b_Re); in cplxMultDiv2() 145 *c_Re = FX_DBL2FX_SGL(fMultDiv2(a_Re, b_Re) - fMultDiv2(a_Im, b_Im)); in cplxMultDiv2() 146 *c_Im = FX_DBL2FX_SGL(fMultDiv2(a_Re, b_Im) + fMultDiv2(a_Im, b_Re)); in cplxMultDiv2() 179 *c_Re -= fMultDiv2(a_Re, b_Re) - fMultDiv2(a_Im, b_Im); in cplxMultSubDiv2() 180 *c_Im -= fMultDiv2(a_Re, b_Im) + fMultDiv2(a_Im, b_Re); in cplxMultSubDiv2() 190 *c_Re = fMultDiv2(a_Re, b_Re) - fMultDiv2(a_Im, b_Im); in cplxMultDiv2() 191 *c_Im = fMultDiv2(a_Re, b_Im) + fMultDiv2(a_Im, b_Re); in cplxMultDiv2() [all …]
|
D | qmf_pcm.h | 210 sta[8] = FX_DBL2FX_QSS(fMultDiv2(p_flt[0], imag)); in qmfSynPrototypeFirSlot() 262 FIXP_DBL Are = sta[0] + FX_DBL2FX_QSS(fMultDiv2(p_fltm[4], real)); in qmfSynPrototypeFirSlot_NonSymmetric() 286 sta[0] = sta[1] + FX_DBL2FX_QSS(fMultDiv2(p_flt[4], imag)); in qmfSynPrototypeFirSlot_NonSymmetric() 287 sta[1] = sta[2] + FX_DBL2FX_QSS(fMultDiv2(p_fltm[3], real)); in qmfSynPrototypeFirSlot_NonSymmetric() 288 sta[2] = sta[3] + FX_DBL2FX_QSS(fMultDiv2(p_flt[3], imag)); in qmfSynPrototypeFirSlot_NonSymmetric() 290 sta[3] = sta[4] + FX_DBL2FX_QSS(fMultDiv2(p_fltm[2], real)); in qmfSynPrototypeFirSlot_NonSymmetric() 291 sta[4] = sta[5] + FX_DBL2FX_QSS(fMultDiv2(p_flt[2], imag)); in qmfSynPrototypeFirSlot_NonSymmetric() 292 sta[5] = sta[6] + FX_DBL2FX_QSS(fMultDiv2(p_fltm[1], real)); in qmfSynPrototypeFirSlot_NonSymmetric() 293 sta[6] = sta[7] + FX_DBL2FX_QSS(fMultDiv2(p_flt[1], imag)); in qmfSynPrototypeFirSlot_NonSymmetric() 295 sta[7] = sta[8] + FX_DBL2FX_QSS(fMultDiv2(p_fltm[0], real)); in qmfSynPrototypeFirSlot_NonSymmetric() [all …]
|
D | fixmadd.h | 125 return (x + fMultDiv2(a, b)); in fixmadddiv2_DD() 151 return x + fMultDiv2(a, b); in fixmadddiv2_SS() 157 return (x - fMultDiv2(a, b)); in fixmsubdiv2_DD() 183 return x - fMultDiv2(a, b); in fixmsubdiv2_SS() 274 return (x + fMultDiv2(a, b)) << 1; in fixmadd_SS() 303 return (x - fMultDiv2(a, b)) << 1; in fixmsub_SS()
|
D | FDK_trigFcts.h | 232 error0 = fMultDiv2(sine, residual); in inline_fixp_cos_sin() 233 error1 = fMultDiv2(cosine, residual); in inline_fixp_cos_sin() 245 error0 = fMultDiv2(sine, residual); in inline_fixp_cos_sin() 246 error1 = fMultDiv2(cosine, residual); in inline_fixp_cos_sin()
|
/external/aac/libAACenc/src/ |
D | metadata_compressor.cpp | 424 fMultDiv2(ext_leva, (FIXP_PCM)pSamples[drcComp->channelIdx[4]]) >> in findPeakLevels() 427 fMultDiv2(ext_levb, (FIXP_PCM)pSamples[drcComp->channelIdx[6]]) >> in findPeakLevels() 433 fMultDiv2(ext_leva, (FIXP_PCM)pSamples[drcComp->channelIdx[4]]) >> in findPeakLevels() 436 fMultDiv2(ext_levb, (FIXP_PCM)pSamples[drcComp->channelIdx[7]]) >> in findPeakLevels() 444 fMultDiv2(ext_levb, (FIXP_PCM)pSamples[drcComp->channelIdx[7]]) >> in findPeakLevels() 449 fMultDiv2(ext_leva, (FIXP_PCM)pSamples[drcComp->channelIdx[0]]) >> in findPeakLevels() 452 fMultDiv2(ext_levb, (FIXP_PCM)pSamples[drcComp->channelIdx[7]]) >> in findPeakLevels() 465 fMultDiv2(ext_leva, (FIXP_PCM)pSamples[drcComp->channelIdx[5]]) >> in findPeakLevels() 468 fMultDiv2(ext_levb, (FIXP_PCM)pSamples[drcComp->channelIdx[6]]) >> in findPeakLevels() 474 fMultDiv2(ext_leva, (FIXP_PCM)pSamples[drcComp->channelIdx[5]]) >> in findPeakLevels() [all …]
|
D | intensity.cpp | 347 tmp = fMultDiv2((normSfbLoudness[sfb + sfboffs] >> OVERALL_LOUDNESS_SF) in FDKaacEnc_prepareIntensityDecision() 381 ml += fMultDiv2((mdctSpectrumLeft[j] << s), in FDKaacEnc_prepareIntensityDecision() 383 mr += fMultDiv2((mdctSpectrumRight[j] << s), in FDKaacEnc_prepareIntensityDecision() 386 ml = fMultDiv2(ml, inv_n); // scaled with mdctScale - s + inv_n in FDKaacEnc_prepareIntensityDecision() 387 mr = fMultDiv2(mr, inv_n); // scaled with mdctScale - s + inv_n in FDKaacEnc_prepareIntensityDecision() 391 tmp_l = fMultDiv2((mdctSpectrumLeft[j] << s), inv_n) - in FDKaacEnc_prepareIntensityDecision() 393 tmp_r = fMultDiv2((mdctSpectrumRight[j] << s), inv_n) - in FDKaacEnc_prepareIntensityDecision() 396 prod_lr += fMultDiv2( in FDKaacEnc_prepareIntensityDecision() 463 fMultDiv2((FL2FXCONST_DBL(0.25f) - (channelCorr[sfb + sfboffs] >> 2)), in FDKaacEnc_prepareIntensityDecision() 702 lr += fMultDiv2( in FDKaacEnc_IntensityStereoProcessing() [all …]
|
D | transform.cpp | 241 outval = (fMultDiv2((FIXP_PCM)timeData[L + N * 3 / 4 - 1 - i], in FDKaacEnc_Transform_Real_Eld() 244 outval += (fMultDiv2((FIXP_PCM)timeData[L + N * 3 / 4 + i], in FDKaacEnc_Transform_Real_Eld() 247 outval += (fMultDiv2(overlapAddBuffer[N / 2 + i], pWindowELD[2 * N + i]) >> in FDKaacEnc_Transform_Real_Eld() 254 (fMultDiv2(overlapAddBuffer[N + N / 2 - 1 - i], in FDKaacEnc_Transform_Real_Eld() 269 outval = (fMultDiv2((FIXP_PCM)timeData[L + N * 3 / 4 - 1 - i], in FDKaacEnc_Transform_Real_Eld() 272 outval += (fMultDiv2(overlapAddBuffer[N / 2 + i], pWindowELD[2 * N + i]) >> in FDKaacEnc_Transform_Real_Eld() 282 (fMultDiv2(overlapAddBuffer[N + N / 2 - 1 - i], in FDKaacEnc_Transform_Real_Eld()
|
/external/aac/libSBRdec/src/ |
D | lpp_tran.cpp | 195 accu = fMultDiv2(FL2FXCONST_DBL(0.75f), bwTmp) + in inverseFilteringLevelEmphasis() 196 fMultDiv2(FL2FXCONST_DBL(0.25f), hLppTrans->bwVectorOld[i]); in inverseFilteringLevelEmphasis() 198 accu = fMultDiv2(FL2FXCONST_DBL(0.90625f), bwTmp) + in inverseFilteringLevelEmphasis() 199 fMultDiv2(FL2FXCONST_DBL(0.09375f), hLppTrans->bwVectorOld[i]); in inverseFilteringLevelEmphasis() 229 accu1 = fMultDiv2(a1r, lowBandReal[i]); in calc_qmfBufferReal() 230 accu1 = (fMultDiv2(a0r, lowBandReal[i + 1]) + accu1); in calc_qmfBufferReal() 512 tmp = (fMultDiv2(ac.r01r, ac.r12r) >> (LPC_SCALE_FACTOR - 1)) - in lppTransposer() 513 ((fMultDiv2(ac.r01i, ac.r12i) + fMultDiv2(ac.r02r, ac.r11r)) >> in lppTransposer() 516 tmp = (fMultDiv2(ac.r01r, ac.r12r) >> (LPC_SCALE_FACTOR - 1)) - in lppTransposer() 517 (fMultDiv2(ac.r02r, ac.r11r) >> (LPC_SCALE_FACTOR - 1)); in lppTransposer() [all …]
|
/external/aac/libFDK/src/arm/ |
D | scale_arm.cpp | 125 tmp0 = fMultDiv2(tmp0, factor); in scaleValuesWithFactor() 126 tmp1 = fMultDiv2(tmp1, factor); in scaleValuesWithFactor() 127 tmp2 = fMultDiv2(tmp2, factor); in scaleValuesWithFactor() 128 tmp3 = fMultDiv2(tmp3, factor); in scaleValuesWithFactor() 140 tmp0 = fMultDiv2(tmp0, factor); in scaleValuesWithFactor() 151 tmp0 = fMultDiv2(tmp0, factor); in scaleValuesWithFactor() 152 tmp1 = fMultDiv2(tmp1, factor); in scaleValuesWithFactor() 153 tmp2 = fMultDiv2(tmp2, factor); in scaleValuesWithFactor() 154 tmp3 = fMultDiv2(tmp3, factor); in scaleValuesWithFactor() 166 tmp0 = fMultDiv2(tmp0, factor); in scaleValuesWithFactor()
|
/external/aac/libAACdec/src/ |
D | stereo.cpp | 378 out[0] -= (FIXP_DBL)fMultDiv2(coeff[i], in[indices_1[i]]) >> SR_FNA_OUT; in CJointStereo_filterAndAdd() 380 (FIXP_DBL)fMultDiv2(coeff[i], in[indices_1[5 - i]]) >> SR_FNA_OUT; in CJointStereo_filterAndAdd() 384 out[1] -= (FIXP_DBL)fMultDiv2(coeff[i], in[indices_2[i]]) >> SR_FNA_OUT; in CJointStereo_filterAndAdd() 386 (FIXP_DBL)fMultDiv2(coeff[i], in[indices_2[5 - i]]) >> SR_FNA_OUT; in CJointStereo_filterAndAdd() 390 out[2] -= (FIXP_DBL)fMultDiv2(coeff[i], in[indices_3[i]]) >> SR_FNA_OUT; in CJointStereo_filterAndAdd() 392 (FIXP_DBL)fMultDiv2(coeff[i], in[indices_3[5 - i]]) >> SR_FNA_OUT; in CJointStereo_filterAndAdd() 397 out[j] -= (FIXP_DBL)fMultDiv2(coeff[i], in[j - 3 + i]) >> SR_FNA_OUT; in CJointStereo_filterAndAdd() 398 out[j] += (FIXP_DBL)fMultDiv2(coeff[i], in[j + 3 - i]) >> SR_FNA_OUT; in CJointStereo_filterAndAdd() 404 (FIXP_DBL)fMultDiv2(coeff[i], in[len - subtr_1[i]]) >> SR_FNA_OUT; in CJointStereo_filterAndAdd() 406 (FIXP_DBL)fMultDiv2(coeff[i], in[len - subtr_1[5 - i]]) >> SR_FNA_OUT; in CJointStereo_filterAndAdd() [all …]
|
D | ldfiltbank.cpp | 134 z0 = z2 + (fMultDiv2(z[N / 2 + i], fb[2 * N + i]) >> (-WTS2 - 1)); in multE2_DinvF_fdk() 137 (fMultDiv2(z[N + i], fb[2 * N + N / 2 + i]) >> (-WTS2 - 1)); in multE2_DinvF_fdk() 139 tmp = (fMultDiv2(z[N / 2 + i], fb[N + N / 2 - 1 - i]) + in multE2_DinvF_fdk() 140 fMultDiv2(z[i], fb[N + N / 2 + i])); in multE2_DinvF_fdk() 162 z0 = z2 + (fMultDiv2(z[N / 2 + i], fb[2 * N + i]) >> (-WTS2 - 1)); in multE2_DinvF_fdk() 165 (fMultDiv2(z[N + i], fb[2 * N + N / 2 + i]) >> (-WTS2 - 1)); in multE2_DinvF_fdk() 167 tmp0 = (fMultDiv2(z[N / 2 + i], fb[N / 2 - 1 - i]) + in multE2_DinvF_fdk() 168 fMultDiv2(z[i], fb[N / 2 + i])); in multE2_DinvF_fdk() 169 tmp1 = (fMultDiv2(z[N / 2 + i], fb[N + N / 2 - 1 - i]) + in multE2_DinvF_fdk() 170 fMultDiv2(z[i], fb[N + N / 2 + i])); in multE2_DinvF_fdk() [all …]
|
D | usacdec_ace_ltp.cpp | 167 L_sumt = fMultDiv2(x0, (FIXP_SGL)((SHORT)(filt >> 16))); in Pred_lt4() 168 L_sumb = fMultDiv2(x1, (FIXP_SGL)((SHORT)filt)); in Pred_lt4() 216 a_exc0 = fMultDiv2(A2, exc[-1]); in Pred_lt4_postfilter() 217 a_exc1 = fMultDiv2(A2, exc[0]); in Pred_lt4_postfilter() 223 a_exc0 = fMultDiv2(A2, exc[i + 1]); in Pred_lt4_postfilter() 224 a_exc1 = fMultDiv2(A2, exc[i + 2]); in Pred_lt4_postfilter()
|
D | usacdec_acelp.cpp | 154 L_tmp -= fMultDiv2(x[i - 1], TILT_CODE2); in Preemph_code() 266 gcode0 = fMultDiv2(gcode0, gcode_inov); in D_gain2_plus() 412 L_tmp += fMultDiv2(gain_code, in noise_enhancer() 430 fMultDiv2(stab_fac, period_fac); in noise_enhancer() 480 tmp = fMultDiv2(*exc, gain_pit) << (SF_GAIN_P + 1); /* v(0)*g_p */ in BuildAdaptiveExcitation() 481 *exc++ = tmp + (fMultDiv2(code[0], gain_code) << SF); in BuildAdaptiveExcitation() 484 code_smooth_prev = fMultDiv2(*code++, gain_code_smoothed) in BuildAdaptiveExcitation() 487 code_smooth = fMultDiv2(code_i, gain_code_smoothed) << SF; /* c(1) * g_sc */ in BuildAdaptiveExcitation() 489 cpe_code_smooth = fMultDiv2(cpe, code_smooth); in BuildAdaptiveExcitation() 491 cpe_code_smooth_prev = fMultDiv2(cpe, code_smooth_prev); in BuildAdaptiveExcitation() [all …]
|
/external/aac/libSACenc/src/ |
D | sacenc_vectorfunctions.cpp | 264 re += fMultDiv2(xre, yre) + fMultDiv2(xim, yim); in cplx_cplxScalarProduct() 265 im += fMultDiv2(xim, yre) - fMultDiv2(xre, yim); in cplx_cplxScalarProduct() 275 re += (fMultDiv2(xre, yre) + fMultDiv2(xim, yim)) >> (sx + sy); in cplx_cplxScalarProduct() 276 im += (fMultDiv2(xim, yre) - fMultDiv2(xre, yim)) >> (sx + sy); in cplx_cplxScalarProduct() 287 re += (fMultDiv2(xre, yre) + fMultDiv2(xim, yim)) >> sy; in cplx_cplxScalarProduct() 288 im += (fMultDiv2(xim, yre) - fMultDiv2(xre, yim)) >> sy; in cplx_cplxScalarProduct() 299 re += (fMultDiv2(xre, yre) + fMultDiv2(xim, yim)) >> sx; in cplx_cplxScalarProduct() 300 im += (fMultDiv2(xim, yre) - fMultDiv2(xre, yim)) >> sx; in cplx_cplxScalarProduct() 341 p12 = fMultDiv2(p1[i] << s1, p2[i] << s1); in calcCoherenceVec() 383 Z[j][i].v.re = ((fMultDiv2(aPb, X[j][i].v.re) >> s1) + in addWeightedCplxVec() [all …]
|
/external/aac/libSACdec/src/ |
D | sac_process.cpp | 452 real = fMultDiv2(var0, tmp0); in SpatialDecApplyM2_Mode212() 456 imag = fMultDiv2(var0, tmp0); in SpatialDecApplyM2_Mode212() 689 pHybOutRealDry[qs] += fMultDiv2(pWReal[qs], pKernel[qs]) in SpatialDecApplyM2() 691 pHybOutImagDry[qs] += fMultDiv2(pWImag[qs], pKernel[qs]) in SpatialDecApplyM2() 700 pHybOutRealDry[0] += fMultDiv2(pWImag[0], pKernel[0]) in SpatialDecApplyM2() 702 pHybOutImagDry[0] -= fMultDiv2(pWReal[0], pKernel[0]) in SpatialDecApplyM2() 705 pHybOutRealDry[2] += fMultDiv2(pWImag[2], pKernel[2]) in SpatialDecApplyM2() 707 pHybOutImagDry[2] -= fMultDiv2(pWReal[2], pKernel[2]) in SpatialDecApplyM2() 711 pHybOutRealDry[1] -= fMultDiv2(pWImag[1], pKernel[1]) in SpatialDecApplyM2() 713 pHybOutImagDry[1] += fMultDiv2(pWReal[1], pKernel[1]) in SpatialDecApplyM2() [all …]
|
D | sac_reshapeBBEnv.cpp | 322 pHybOutputRealDry[qs] = fMultDiv2(pHybOutputRealDry[qs], dryFac); in shapeBBEnv() 323 pHybOutputImagDry[qs] = fMultDiv2(pHybOutputImagDry[qs], dryFac); in shapeBBEnv() 326 pHybOutputRealDry[qs] = fMultDiv2(pHybOutputRealDry[qs], dryFac); in shapeBBEnv() 330 pHybOutputRealDry[qs] = fMultDiv2(pHybOutputRealDry[qs], dryFac) << scale; in shapeBBEnv() 331 pHybOutputImagDry[qs] = fMultDiv2(pHybOutputImagDry[qs], dryFac) << scale; in shapeBBEnv() 334 pHybOutputRealDry[qs] = fMultDiv2(pHybOutputRealDry[qs], dryFac) << scale; in shapeBBEnv() 431 partNrg[pb] = ((fMultDiv2(alpha1, slotNrg[pb]) << scaleCur) + in extractBBEnv() 432 (fMultDiv2(alpha, partNrgPrev[pb]) << scalePrev)) in extractBBEnv() 439 partNrg[pb] = ((fMultDiv2(alpha1, slotNrg[pb]) >> scaleCur) + in extractBBEnv() 440 (fMultDiv2(alpha, partNrgPrev[pb]) >> scalePrev)) in extractBBEnv() [all …]
|
D | sac_stp.cpp | 181 fMultDiv2(fPow2Div2(dmxReal << SF_DRY), pBP[n]) >> ((2 * SF_DRY) - 2) 184 DryEner += fMultDiv2( \ 227 (fMultDiv2(*hybOutputRealWet, scaleX) << (SF_SCALE + 1)); in combineSignalRealScale1() 255 scaleY = fMultDiv2(scaleX, *pBP); in combineSignalCplxScale1() 258 (fMultDiv2(*hybOutputRealWet, scaleY) << (SF_SCALE + 2)); in combineSignalCplxScale1() 261 (fMultDiv2(*hybOutputImagWet, scaleY) << (SF_SCALE + 2)); in combineSignalCplxScale1() 278 (fMultDiv2(*hybOutputRealWet, scaleX) << (SF_SCALE + 1)); in combineSignalCplxScale2() 281 (fMultDiv2(*hybOutputImagWet, scaleX) << (SF_SCALE + 1)); in combineSignalCplxScale2() 456 WetEnerX += fMultDiv2(tmp, pBP[n]); in subbandTPApply()
|
/external/aac/libSBRdec/src/arm/ |
D | lpp_tran_arm.cpp | 126 accu1 = fMultDiv2(a0r, real1); in lppTransposer_func1() 127 accu2 = fMultDiv2(a0i, imag1); in lppTransposer_func1() 130 real2 = fMultDiv2(a1i, real2); in lppTransposer_func1() 148 accu1 = scaleValueSaturate(fMultDiv2(accu1, preWhiteningGain), in lppTransposer_func1() 150 accu2 = scaleValueSaturate(fMultDiv2(accu2, preWhiteningGain), in lppTransposer_func1()
|
/external/aac/libSBRenc/src/ |
D | ton_corr.cpp | 238 fac = fMultDiv2(ac->r00r, ac->r11r) >> 1; in FDKsbrEnc_CalculateTonalityQuotas() 240 alphar[1] = (fMultDiv2(ac->r01r, ac->r12r) >> 1) - in FDKsbrEnc_CalculateTonalityQuotas() 241 (fMultDiv2(ac->r01i, ac->r12i) >> 1) - in FDKsbrEnc_CalculateTonalityQuotas() 242 (fMultDiv2(ac->r02r, ac->r11r) >> 1); in FDKsbrEnc_CalculateTonalityQuotas() 243 alphai[1] = (fMultDiv2(ac->r01i, ac->r12r) >> 1) + in FDKsbrEnc_CalculateTonalityQuotas() 244 (fMultDiv2(ac->r01r, ac->r12i) >> 1) - in FDKsbrEnc_CalculateTonalityQuotas() 245 (fMultDiv2(ac->r02i, ac->r11r) >> 1); in FDKsbrEnc_CalculateTonalityQuotas() 247 alphar[0] = (fMultDiv2(ac->r01r, ac->det) >> (ac->det_scale + 1)) + in FDKsbrEnc_CalculateTonalityQuotas() 249 alphai[0] = (fMultDiv2(ac->r01i, ac->det) >> (ac->det_scale + 1)) + in FDKsbrEnc_CalculateTonalityQuotas() 252 fac = fMultDiv2(ac->r00r, fMult(ac->det, ac->r11r)) >> in FDKsbrEnc_CalculateTonalityQuotas() [all …]
|
D | invf_est.cpp | 292 origQuota += fMultDiv2(quotaVecOrig[i], invChannel); in calculateDetectorValues() 293 sbrQuota += fMultDiv2(quotaVecSbr[i], invChannel); in calculateDetectorValues() 312 fMultDiv2(quotaVecOrig[i + stopChannel - temp], invTemp); in calculateDetectorValues() 314 fMultDiv2(quotaVecSbr[i + stopChannel - temp], invTemp); in calculateDetectorValues() 437 (fMultDiv2(FL2FXCONST_DBL(2.f * 0.375f), in decisionAlgorithm() 443 (fMultDiv2(FL2FXCONST_DBL(2.f * 0.375f), in decisionAlgorithm() 451 (fMultDiv2(FL2FXCONST_DBL(2.f * 0.375f), in decisionAlgorithm()
|
/external/aac/libDRCdec/src/ |
D | drcGainDec_process.cpp | 194 buffer[i] = fMultDiv2(buffer[i], (FIXP_DBL)a) << n_min; in _interpolateDrcGain() 221 SATURATE_LEFT_SHIFT(fMultDiv2(gainLin, channelGain), 9, DFRACT_BITS); in _processNodeSegments() 316 fMultDiv2(nodePrevious.gainLin, in processDrcTime() 505 fMultDiv2(gainSb, hGainDec->channelGain[c]), 9, DFRACT_BITS); in processDrcSubband() 514 *audioReal = fMultDiv2(*audioReal, gainSb) << n_min; in processDrcSubband() 516 *audioReal = fMultDiv2(*audioReal, gainSb) << n_min; in processDrcSubband() 521 *audioReal = fMultDiv2(*audioReal, gainSb) << n_min; in processDrcSubband() 523 *audioImag = fMultDiv2(*audioImag, gainSb) << n_min; in processDrcSubband()
|