Home
last modified time | relevance | path

Searched refs:fMultDiv2 (Results 1 – 25 of 66) sorted by relevance

123

/external/aac/libFDK/src/
Dautocorr2nd.cpp135 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 …]
DFDK_hybrid.cpp525 r1 = fMultDiv2(f0, pQmfReal[pReadIdx[1]]) + in dualChannelFiltering()
526 fMultDiv2(f0, pQmfReal[pReadIdx[11]]); in dualChannelFiltering()
527 i1 = fMultDiv2(f0, pQmfImag[pReadIdx[1]]) + in dualChannelFiltering()
528 fMultDiv2(f0, pQmfImag[pReadIdx[11]]); in dualChannelFiltering()
529 r1 += fMultDiv2(f1, pQmfReal[pReadIdx[3]]) + in dualChannelFiltering()
530 fMultDiv2(f1, pQmfReal[pReadIdx[9]]); in dualChannelFiltering()
531 i1 += fMultDiv2(f1, pQmfImag[pReadIdx[3]]) + in dualChannelFiltering()
532 fMultDiv2(f1, pQmfImag[pReadIdx[9]]); in dualChannelFiltering()
533 r1 += fMultDiv2(f2, pQmfReal[pReadIdx[5]]) + in dualChannelFiltering()
534 fMultDiv2(f2, pQmfReal[pReadIdx[7]]); in dualChannelFiltering()
[all …]
DFDK_decorrelate.cpp673 yReal = (pStates[0] + fMultDiv2(xReal, nFilt0L)) << FILTER_SF; in DecorrFilterApplyREAL()
674 yImag = (pStates[1] + fMultDiv2(xImag, nFilt0L)) << FILTER_SF; in DecorrFilterApplyREAL()
680 pStates[2] + fMultDiv2(xReal, nFilt0H) - fMultDiv2(yReal, nFilt0H); in DecorrFilterApplyREAL()
682 pStates[3] + fMultDiv2(xImag, nFilt0H) - fMultDiv2(yImag, nFilt0H); in DecorrFilterApplyREAL()
683 pStates[2] = (xReal >> FILTER_SF) - fMultDiv2(yReal, nFilt0L); in DecorrFilterApplyREAL()
684 pStates[3] = (xImag >> FILTER_SF) - fMultDiv2(yImag, nFilt0L); in DecorrFilterApplyREAL()
703 yReal = (pStates[0] + fMultDiv2(xReal, nFilt0L)) << FILTER_SF; in DecorrFilterApplyREAL()
704 yImag = (pStates[1] + fMultDiv2(xImag, nFilt0L)) << FILTER_SF; in DecorrFilterApplyREAL()
710 pStates[2] + fMultDiv2(xReal, nFilt0H) - fMultDiv2(yReal, nFilt1L); in DecorrFilterApplyREAL()
712 pStates[3] + fMultDiv2(xImag, nFilt0H) - fMultDiv2(yImag, nFilt1L); in DecorrFilterApplyREAL()
[all …]
Dscale.cpp549 *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/
Dcplx_mul.h127 *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 …]
Dqmf_pcm.h210 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 …]
Dfixmadd.h125 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()
DFDK_trigFcts.h232 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/
Dmetadata_compressor.cpp424 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 …]
Dintensity.cpp347 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 …]
Dtransform.cpp241 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()
Dline_pe.cpp195 tmpPe = fMultDiv2(logDataRatio, factor); in FDKaacEnc_calcSfbPe()
196 tmpConstPart = fMultDiv2(sfbEnergyLdData[thisSfb] + scaleLd, factor); in FDKaacEnc_calcSfbPe()
199 tmpPe = fMultDiv2( in FDKaacEnc_calcSfbPe()
202 fMultDiv2(((FIXP_DBL)C2LdData + in FDKaacEnc_calcSfbPe()
/external/aac/libFDK/src/arm/
Dscale_arm.cpp125 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/libSBRdec/src/
Dlpp_tran.cpp195 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/libSACenc/src/
Dsacenc_vectorfunctions.cpp264 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/libAACdec/src/
Dldfiltbank.cpp138 (fMultDiv2(z[N / 2 + i], fb[2 * N + i]) >> (-WTS2 - 1))); in multE2_DinvF_fdk()
142 (fMultDiv2(z[N + i], fb[2 * N + N / 2 + i]) >> (-WTS2 - 1))); in multE2_DinvF_fdk()
144 tmp = (fMultDiv2(z[N / 2 + i], fb[N + N / 2 - 1 - i]) + in multE2_DinvF_fdk()
145 fMultDiv2(z[i], fb[N + N / 2 + i])); in multE2_DinvF_fdk()
168 (fMultDiv2(z[N / 2 + i], fb[2 * N + i]) >> (-WTS2 - 1))); in multE2_DinvF_fdk()
172 (fMultDiv2(z[N + i], fb[2 * N + N / 2 + i]) >> (-WTS2 - 1))); in multE2_DinvF_fdk()
174 tmp0 = (fMultDiv2(z[N / 2 + i], fb[N / 2 - 1 - i]) + in multE2_DinvF_fdk()
175 fMultDiv2(z[i], fb[N / 2 + i])); in multE2_DinvF_fdk()
176 tmp1 = (fMultDiv2(z[N / 2 + i], fb[N + N / 2 - 1 - i]) + in multE2_DinvF_fdk()
177 fMultDiv2(z[i], fb[N + N / 2 + i])); in multE2_DinvF_fdk()
[all …]
Dstereo.cpp378 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 …]
Dusacdec_ace_ltp.cpp167 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()
Dusacdec_acelp.cpp154 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()
482 tmp = fMultDiv2(*exc, gain_pit) << (SF_GAIN_P2 + 1); /* v(0)*g_p */ in BuildAdaptiveExcitation()
483 *exc++ = (tmp + (fMultDiv2(code[0], gain_code) << SF)) << SF_HEADROOM; in BuildAdaptiveExcitation()
486 code_smooth_prev = fMultDiv2(*code++, gain_code_smoothed) in BuildAdaptiveExcitation()
489 code_smooth = fMultDiv2(code_i, gain_code_smoothed) << SF; /* c(1) * g_sc */ in BuildAdaptiveExcitation()
491 cpe_code_smooth = fMultDiv2(cpe, code_smooth); in BuildAdaptiveExcitation()
493 cpe_code_smooth_prev = fMultDiv2(cpe, code_smooth_prev); in BuildAdaptiveExcitation()
[all …]
/external/aac/libSACdec/src/
Dsac_reshapeBBEnv.cpp279 pHybOutputRealDry[qs] = fMultDiv2(pHybOutputRealDry[qs], dryFac); in shapeBBEnv()
280 pHybOutputImagDry[qs] = fMultDiv2(pHybOutputImagDry[qs], dryFac); in shapeBBEnv()
283 pHybOutputRealDry[qs] = fMultDiv2(pHybOutputRealDry[qs], dryFac); in shapeBBEnv()
288 fMultDiv2(pHybOutputRealDry[qs], dryFac), scale, DFRACT_BITS); in shapeBBEnv()
290 fMultDiv2(pHybOutputImagDry[qs], dryFac), scale, DFRACT_BITS); in shapeBBEnv()
294 fMultDiv2(pHybOutputRealDry[qs], dryFac), scale, DFRACT_BITS); in shapeBBEnv()
396 partNrg[pb] = ((fMultDiv2(alpha1, slotNrg[pb]) << scaleCur) + in extractBBEnv()
397 (fMultDiv2(alpha, partNrgPrev[pb]) << scalePrev)) in extractBBEnv()
404 partNrg[pb] = ((fMultDiv2(alpha1, slotNrg[pb]) >> scaleCur) + in extractBBEnv()
405 (fMultDiv2(alpha, partNrgPrev[pb]) >> scalePrev)) in extractBBEnv()
[all …]
Dsac_process.cpp459 real = fMultDiv2(var0, tmp0); in SpatialDecApplyM2_Mode212()
463 imag = fMultDiv2(var0, tmp0); in SpatialDecApplyM2_Mode212()
696 fMultDiv2(pWReal[qs], pKernel[qs]), scale_param_m2); in SpatialDecApplyM2()
698 fMultDiv2(pWImag[qs], pKernel[qs]), scale_param_m2); in SpatialDecApplyM2()
707 fMultDiv2(pWImag[0], pKernel[0]), scale_param_m2); in SpatialDecApplyM2()
709 fMultDiv2(pWReal[0], pKernel[0]), scale_param_m2); in SpatialDecApplyM2()
712 fMultDiv2(pWImag[2], pKernel[2]), scale_param_m2); in SpatialDecApplyM2()
714 fMultDiv2(pWReal[2], pKernel[2]), scale_param_m2); in SpatialDecApplyM2()
718 fMultDiv2(pWImag[1], pKernel[1]), scale_param_m2); in SpatialDecApplyM2()
720 fMultDiv2(pWReal[1], pKernel[1]), scale_param_m2); in SpatialDecApplyM2()
[all …]
Dsac_stp.cpp232 scaleY = fMultDiv2(scaleX, *pBP); in combineSignalCplxScale1()
235 (fMultDiv2(*hybOutputRealWet, scaleY) << (SF_SCALE + 1)), in combineSignalCplxScale1()
239 (fMultDiv2(*hybOutputImagWet, scaleY) << (SF_SCALE + 1)), in combineSignalCplxScale1()
257 (fMultDiv2(*hybOutputRealWet, scaleX) << (SF_SCALE + 1)); in combineSignalCplxScale2()
260 (fMultDiv2(*hybOutputImagWet, scaleX) << (SF_SCALE + 1)); in combineSignalCplxScale2()
418 DryEner0 += (fMultDiv2(fPow2Div2(dmxReal0), pBP[n]) + in subbandTPApply()
419 fMultDiv2(fPow2Div2(dmxImag0), pBP[n])) >> in subbandTPApply()
469 (fMultDiv2(fPow2Div2(scaleValue(qmfOutputRealWet[ch][n], sMin)), in subbandTPApply()
471 fMultDiv2(fPow2Div2(scaleValue(qmfOutputImagWet[ch][n], sMin)), in subbandTPApply()
/external/aac/libSBRdec/src/arm/
Dlpp_tran_arm.cpp126 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/
Dton_corr.cpp238 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 …]
/external/aac/libDRCdec/src/
DdrcGainDec_process.cpp194 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()

123