Home
last modified time | relevance | path

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

12

/external/aac/libFDK/src/
Dautocorr2nd.cpp132 accu5 = ( (fMultDiv2(pReBuf[0], pReBuf[2]) + in autoCorr2nd_real()
133 fMultDiv2(pReBuf[1], pReBuf[3])) SHIFT); in autoCorr2nd_real()
138 accu3 = fMultDiv2(pReBuf[0], pReBuf[1]) SHIFT; in autoCorr2nd_real()
146 accu3 += ( (fMultDiv2(pReBuf[0], pReBuf[1]) + in autoCorr2nd_real()
147 fMultDiv2(pReBuf[1], pReBuf[2])) SHIFT); in autoCorr2nd_real()
149 accu5 += ( (fMultDiv2(pReBuf[0], pReBuf[2]) + in autoCorr2nd_real()
150 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()
174 ac->det = (fMultDiv2(ac->r11r,ac->r22r) - fMultDiv2(ac->r12r,ac->r12r)) ; in autoCorr2nd_real()
[all …]
DFDK_hybrid.cpp466 r1 = fMultDiv2(p[1], pQmfReal[pReadIdx[1]]) + fMultDiv2(p[1], pQmfReal[pReadIdx[11]]) ; in dualChannelFiltering()
467 i1 = fMultDiv2(p[1], pQmfImag[pReadIdx[1]]) + fMultDiv2(p[1], pQmfImag[pReadIdx[11]]) ; in dualChannelFiltering()
468 r1 += fMultDiv2(p[3], pQmfReal[pReadIdx[3]]) + fMultDiv2(p[3], pQmfReal[pReadIdx[ 9]]) ; in dualChannelFiltering()
469 i1 += fMultDiv2(p[3], pQmfImag[pReadIdx[3]]) + fMultDiv2(p[3], pQmfImag[pReadIdx[ 9]]) ; in dualChannelFiltering()
470 r1 += fMultDiv2(p[5], pQmfReal[pReadIdx[5]]) + fMultDiv2(p[5], pQmfReal[pReadIdx[ 7]]) ; in dualChannelFiltering()
471 i1 += fMultDiv2(p[5], pQmfImag[pReadIdx[5]]) + fMultDiv2(p[5], pQmfImag[pReadIdx[ 7]]) ; in dualChannelFiltering()
472 r6 = fMultDiv2(p[6], pQmfReal[pReadIdx[6]]) ; in dualChannelFiltering()
473 i6 = fMultDiv2(p[6], pQmfImag[pReadIdx[6]]) ; in dualChannelFiltering()
525 …fft[FFT_IDX_R(0)] = ( fMult(p[10], ( fMultSub(fMultDiv2(cr[ 2], pQmfReal[pReadIdx[ 2]]), ci[ 2], … in fourChannelFiltering()
526 …fMult(p[ 6], ( fMultSub(fMultDiv2(cr[ 6], pQmfReal[pReadIdx[ 6]]), ci[ 6], pQmfImag[pReadIdx[ 6]])… in fourChannelFiltering()
[all …]
Dqmf.cpp203 FIXP_DBL Are = FX_QSS2FX_DBL(sta[0]) + fMultDiv2( p_fltm[0] , real); in qmfSynPrototypeFirSlot()
220 sta[0] = sta[1] + FX_DBL2FX_QSS(fMultDiv2( p_flt [4] , imag )); in qmfSynPrototypeFirSlot()
221 sta[1] = sta[2] + FX_DBL2FX_QSS(fMultDiv2( p_fltm[1] , real )); in qmfSynPrototypeFirSlot()
222 sta[2] = sta[3] + FX_DBL2FX_QSS(fMultDiv2( p_flt [3] , imag )); in qmfSynPrototypeFirSlot()
223 sta[3] = sta[4] + FX_DBL2FX_QSS(fMultDiv2( p_fltm[2] , real )); in qmfSynPrototypeFirSlot()
224 sta[4] = sta[5] + FX_DBL2FX_QSS(fMultDiv2( p_flt [2] , imag )); in qmfSynPrototypeFirSlot()
225 sta[5] = sta[6] + FX_DBL2FX_QSS(fMultDiv2( p_fltm[3] , real )); in qmfSynPrototypeFirSlot()
226 sta[6] = sta[7] + FX_DBL2FX_QSS(fMultDiv2( p_flt [1] , imag )); in qmfSynPrototypeFirSlot()
227 sta[7] = sta[8] + FX_DBL2FX_QSS(fMultDiv2( p_fltm[4] , real )); in qmfSynPrototypeFirSlot()
228 sta[8] = FX_DBL2FX_QSS(fMultDiv2( p_flt [0] , imag )); in qmfSynPrototypeFirSlot()
[all …]
Dscale.cpp296 *vector = fMultDiv2(*vector, factor) << scalefactor; in scaleValuesWithFactor()
301 *vector = fMultDiv2(*vector, factor) << scalefactor; vector++; in scaleValuesWithFactor()
302 *vector = fMultDiv2(*vector, factor) << scalefactor; vector++; in scaleValuesWithFactor()
303 *vector = fMultDiv2(*vector, factor) << scalefactor; vector++; in scaleValuesWithFactor()
304 *vector = fMultDiv2(*vector, factor) << scalefactor; vector++; in scaleValuesWithFactor()
310 *vector = fMultDiv2(*vector, factor) >> negScalefactor; in scaleValuesWithFactor()
315 *vector = fMultDiv2(*vector, factor) >> negScalefactor; vector++; in scaleValuesWithFactor()
316 *vector = fMultDiv2(*vector, factor) >> negScalefactor; vector++; in scaleValuesWithFactor()
317 *vector = fMultDiv2(*vector, factor) >> negScalefactor; vector++; in scaleValuesWithFactor()
318 *vector = fMultDiv2(*vector, factor) >> negScalefactor; vector++; in scaleValuesWithFactor()
Ddct.cpp155 xr = fMultDiv2(pDat[M], sin_twiddle_L64[64/2].v.re );/* cos((PI/(2*L))*M); */ in dct_III()
400 accu1 = fMultDiv2(accu1, WTC(0x5a82799a)); in dct_IV()
401 accu2 = fMultDiv2(accu2, WTC(0x5a82799a)); in dct_IV()
527 accu1 = fMultDiv2(accu1, WTC(0x5a82799a)); in dst_IV()
528 accu2 = fMultDiv2(accu2, WTC(0x5a82799a)); in dst_IV()
/external/aac/libFDK/include/
Dcplx_mul.h118 *c_Re = fMultDiv2(a_Re,b_Re) - fMultDiv2(a_Im,b_Im); in cplxMultDiv2()
119 *c_Im = fMultDiv2(a_Re,b_Im) + fMultDiv2(a_Im,b_Re); in cplxMultDiv2()
146 *c_Re += fMultDiv2(a_Re,b_Re) - fMultDiv2(a_Im,b_Im); in cplxMultAddDiv2()
147 *c_Im += fMultDiv2(a_Re,b_Im) + fMultDiv2(a_Im,b_Re); in cplxMultAddDiv2()
161 *c_Re -= fMultDiv2(a_Re,b_Re) - fMultDiv2(a_Im,b_Im); in cplxMultSubDiv2()
162 *c_Im -= fMultDiv2(a_Re,b_Im) + fMultDiv2(a_Im,b_Re); in cplxMultSubDiv2()
176 *c_Re = fMultDiv2(a_Re,b_Re) - fMultDiv2(a_Im,b_Im); in cplxMultDiv2()
177 *c_Im = fMultDiv2(a_Re,b_Im) + fMultDiv2(a_Im,b_Re); in cplxMultDiv2()
204 *c_Re -= fMultDiv2(a_Re,b_Re) - fMultDiv2(a_Im,b_Im); in cplxMultSubDiv2()
205 *c_Im -= fMultDiv2(a_Re,b_Im) + fMultDiv2(a_Im,b_Re); in cplxMultSubDiv2()
Dfixmadd.h116 { return (x + fMultDiv2 (a, b)); } in fixmadddiv2_DD()
141 { return x + fMultDiv2(a,b); } in fixmadddiv2_SS()
146 { return (x - fMultDiv2 (a, b)); } in fixmsubdiv2_DD()
171 { return x - fMultDiv2(a,b); } in fixmsubdiv2_SS()
255 { return (x + fMultDiv2(a,b))<<1; } in fixmadd_SS()
282 { return (x - fMultDiv2(a,b))<<1; } in fixmsub_SS()
DFDK_trigFcts.h217 error0 = fMultDiv2(sine, residual); in inline_fixp_cos_sin()
218 error1 = fMultDiv2(cosine, residual); in inline_fixp_cos_sin()
223 error0 = fMultDiv2(sine, residual); in inline_fixp_cos_sin()
224 error1 = fMultDiv2(cosine, residual); in inline_fixp_cos_sin()
Dfft.h221 vr = fMultDiv2(ui+ur,W_PiFOURTH); in fft_8()
222 vi = fMultDiv2(ui-ur,W_PiFOURTH); in fft_8()
232 vr = fMultDiv2(ui-ur,W_PiFOURTH); in fft_8()
233 vi = fMultDiv2(ui+ur,W_PiFOURTH); in fft_8()
/external/aac/libFDK/src/arm/
Dscale_arm.cpp120 tmp0 = fMultDiv2(tmp0, factor); in scaleValuesWithFactor()
121 tmp1 = fMultDiv2(tmp1, factor); in scaleValuesWithFactor()
122 tmp2 = fMultDiv2(tmp2, factor); in scaleValuesWithFactor()
123 tmp3 = fMultDiv2(tmp3, factor); in scaleValuesWithFactor()
136 tmp0 = fMultDiv2(tmp0, factor); in scaleValuesWithFactor()
150 tmp0 = fMultDiv2(tmp0, factor); in scaleValuesWithFactor()
151 tmp1 = fMultDiv2(tmp1, factor); in scaleValuesWithFactor()
152 tmp2 = fMultDiv2(tmp2, factor); in scaleValuesWithFactor()
153 tmp3 = fMultDiv2(tmp3, factor); in scaleValuesWithFactor()
166 tmp0 = fMultDiv2(tmp0, factor); in scaleValuesWithFactor()
/external/aac/libSBRdec/src/
Dlpp_tran.cpp184 accu = fMultDiv2(FL2FXCONST_DBL(0.75f),bwTmp) + in inverseFilteringLevelEmphasis()
185 fMultDiv2(FL2FXCONST_DBL(0.25f),hLppTrans->bwVectorOld[i]); in inverseFilteringLevelEmphasis()
188 accu = fMultDiv2(FL2FXCONST_DBL(0.90625f),bwTmp) + in inverseFilteringLevelEmphasis()
189 fMultDiv2(FL2FXCONST_DBL(0.09375f),hLppTrans->bwVectorOld[i]); in inverseFilteringLevelEmphasis()
422 tmp = ( fMultDiv2(ac.r01r,ac.r12r) >> (LPC_SCALE_FACTOR-1) ) - in lppTransposer()
423 ( (fMultDiv2(ac.r01i,ac.r12i) + fMultDiv2(ac.r02r,ac.r11r)) >> (LPC_SCALE_FACTOR-1) ); in lppTransposer()
426 tmp = ( fMultDiv2(ac.r01r,ac.r12r) >> (LPC_SCALE_FACTOR-1) ) - in lppTransposer()
427 ( fMultDiv2(ac.r02r,ac.r11r) >> (LPC_SCALE_FACTOR-1) ); in lppTransposer()
452 tmp = ( fMultDiv2(ac.r01i,ac.r12r) >> (LPC_SCALE_FACTOR-1) ) + in lppTransposer()
453 … ( (fMultDiv2(ac.r01r,ac.r12i) - (FIXP_DBL)fMultDiv2(ac.r02i,ac.r11r)) >> (LPC_SCALE_FACTOR-1) ) ; in lppTransposer()
[all …]
Dpsdec_hybrid.cpp181 t1 = fMultDiv2(p2_13_20[1] , ( (pQmfReal[1] >> 1) + (pQmfReal[11] >> 1))); in slotBasedDualChannelFiltering()
182 t3 = fMultDiv2(p2_13_20[3] , ( (pQmfReal[3] >> 1) + (pQmfReal[ 9] >> 1))); in slotBasedDualChannelFiltering()
183 t5 = fMultDiv2(p2_13_20[5] , ( (pQmfReal[5] >> 1) + (pQmfReal[ 7] >> 1))); in slotBasedDualChannelFiltering()
184 t6 = fMultDiv2(p2_13_20[6] , (pQmfReal[6] >> 1) ); in slotBasedDualChannelFiltering()
189 t1 = fMultDiv2(p2_13_20[1] , ( (pQmfImag[1] >> 1) + (pQmfImag[11] >> 1))); in slotBasedDualChannelFiltering()
190 t3 = fMultDiv2(p2_13_20[3] , ( (pQmfImag[3] >> 1) + (pQmfImag[ 9] >> 1))); in slotBasedDualChannelFiltering()
191 t5 = fMultDiv2(p2_13_20[5] , ( (pQmfImag[5] >> 1) + (pQmfImag[ 7] >> 1))); in slotBasedDualChannelFiltering()
192 t6 = fMultDiv2(p2_13_20[6] , pQmfImag[6] >> 1 ); in slotBasedDualChannelFiltering()
399 accu1 = fMultDiv2(p[n_0], accu1); \ in slotBasedEightChannelFiltering()
400 accu2 = fMultDiv2(p[n_0], accu2); \ in slotBasedEightChannelFiltering()
[all …]
Denv_calc.cpp826 pNrgs->nrgGain[k] = fMultDiv2(pNrgs->nrgGain[k],boostGain); in calculateSbrEnvelope()
829 pNrgs->nrgSine[k] = fMultDiv2(pNrgs->nrgSine[k],boostGain); in calculateSbrEnvelope()
832 pNrgs->noiseLevel[k] = fMultDiv2(pNrgs->noiseLevel[k],boostGain); in calculateSbrEnvelope()
1793 signalReal = fMultDiv2(*ptrReal,*pGain) << ((int)scale_change); in adjustTimeSlot_EldGrid()
1795 signalReal += (fMultDiv2(FDK_sbrDecoder_sbr_randomPhase[phaseIndex][0], sbNoise)<<4); in adjustTimeSlot_EldGrid()
1802 …*(ptrReal-1) += scaleValue(fMultDiv2(harmonicPhaseX[lowSubband&1][harmIndex], pSineLevel[0]), -sca… in adjustTimeSlot_EldGrid()
1804 *(ptrReal) += fMultDiv2(pSineLevel[1], harmonicPhaseX[(lowSubband+1)&1][harmIndex]); in adjustTimeSlot_EldGrid()
1808 *(ptrReal) += fMultDiv2(pSineLevel[- 1], harmonicPhaseX [(lowSubband+k)&1] [harmIndex]); in adjustTimeSlot_EldGrid()
1809 *(ptrReal) += fMultDiv2(pSineLevel[+ 1], harmonicPhaseX [(lowSubband+k+1)&1][harmIndex]); in adjustTimeSlot_EldGrid()
1813 *(ptrReal) += fMultDiv2(pSineLevel[- 1], harmonicPhaseX [(lowSubband+k)&1][harmIndex]); in adjustTimeSlot_EldGrid()
[all …]
Dpsdec.cpp644 …aaPowerSlot[0] = ( fMultAddDiv2( fMultDiv2(aaLeftReal[0], aaLeftReal[0]), aaLeftImag[0], aaLeft… in deCorrelateSlotBased()
645 …( fMultAddDiv2( fMultDiv2(aaLeftReal[7], aaLeftReal[7]), aaLeftImag[7], aaLeftImag[7] ) >> FLTR… in deCorrelateSlotBased()
647 …aaPowerSlot[1] = ( fMultAddDiv2( fMultDiv2(aaLeftReal[1], aaLeftReal[1]), aaLeftImag[1], aaLeft… in deCorrelateSlotBased()
648 …( fMultAddDiv2( fMultDiv2(aaLeftReal[6], aaLeftReal[6]), aaLeftImag[6], aaLeftImag[6] ) >> FLTR… in deCorrelateSlotBased()
650 …aaPowerSlot[2] = fMultAddDiv2( fMultDiv2(aaLeftReal[2], aaLeftReal[2]), aaLeftImag[2], aaLeft… in deCorrelateSlotBased()
651 …aaPowerSlot[3] = fMultAddDiv2( fMultDiv2(aaLeftReal[3], aaLeftReal[3]), aaLeftImag[3], aaLeft… in deCorrelateSlotBased()
653 …aaPowerSlot[4] = fMultAddDiv2( fMultDiv2(aaLeftReal[9], aaLeftReal[9]), aaLeftImag[9], aaLeft… in deCorrelateSlotBased()
654 …aaPowerSlot[5] = fMultAddDiv2( fMultDiv2(aaLeftReal[8], aaLeftReal[8]), aaLeftImag[8], aaLeft… in deCorrelateSlotBased()
656 …aaPowerSlot[6] = fMultAddDiv2( fMultDiv2(aaLeftReal[10], aaLeftReal[10]), aaLeftImag[10], aaLeft… in deCorrelateSlotBased()
657 …aaPowerSlot[7] = fMultAddDiv2( fMultDiv2(aaLeftReal[11], aaLeftReal[11]), aaLeftImag[11], aaLeft… in deCorrelateSlotBased()
[all …]
/external/aac/libAACdec/src/
Dldfiltbank.cpp114 z0 = z2 + ( fMultDiv2(z[N/2+i], fb[2*N + i]) >> (-WTS2-1) ); in multE2_DinvF_fdk()
116 z[N/2+i] = x[N/2-1-i] + ( fMultDiv2(z[N + i], fb[2*N + N/2 + i]) >> (-WTS2-1) ); in multE2_DinvF_fdk()
118 tmp = ( fMultDiv2(z[N/2+i], fb[N+N/2-1-i]) + fMultDiv2(z[i], fb[N+N/2+i]) ) ; in multE2_DinvF_fdk()
137 z0 = z2 + ( fMultDiv2(z[N/2+i], fb[2*N + i]) >> (-WTS2-1) ); in multE2_DinvF_fdk()
139 z[N/2+i] = x[N/2-1-i] + ( fMultDiv2(z[N + i], fb[2*N + N/2 + i]) >> (-WTS2-1) ); in multE2_DinvF_fdk()
141 tmp0 = ( fMultDiv2(z[N/2+i], fb[N/2-1-i]) + fMultDiv2(z[i], fb[N/2+i]) ) ; in multE2_DinvF_fdk()
142 tmp1 = ( fMultDiv2(z[N/2+i], fb[N+N/2-1-i]) + fMultDiv2(z[i], fb[N+N/2+i]) ) ; in multE2_DinvF_fdk()
160 FIXP_DBL tmp0 = fMultDiv2(z[i], fb[N/2+i]); in multE2_DinvF_fdk()
/external/aac/libAACenc/src/
Dintensity.cpp322 …tmp = fMultDiv2((normSfbLoudness[sfb + sfboffs]>>OVERALL_LOUDNESS_SF)<<OVERALL_LOUDNESS_SF,invOver… in FDKaacEnc_prepareIntensityDecision()
348 …ml += fMultDiv2((mdctSpectrumLeft[j] << s),inv_n); // scaled with mdctScale - s + inv… in FDKaacEnc_prepareIntensityDecision()
349 …mr += fMultDiv2((mdctSpectrumRight[j] << s),inv_n); // scaled with mdctScale - s + inv… in FDKaacEnc_prepareIntensityDecision()
351 …ml = fMultDiv2(ml,inv_n); // scaled with mdctScale - s + i… in FDKaacEnc_prepareIntensityDecision()
352 …mr = fMultDiv2(mr,inv_n); // scaled with mdctScale - s + i… in FDKaacEnc_prepareIntensityDecision()
355 …tmp_l = fMultDiv2((mdctSpectrumLeft[j] << s),inv_n) - ml; // scaled with mdctScale - s + inv… in FDKaacEnc_prepareIntensityDecision()
356 …tmp_r = fMultDiv2((mdctSpectrumRight[j] << s),inv_n) - mr; // scaled with mdctScale - s + inv… in FDKaacEnc_prepareIntensityDecision()
358 …prod_lr += fMultDiv2(tmp_l,tmp_r); // scaled with 2*(mdctScale - s + … in FDKaacEnc_prepareIntensityDecision()
414 …hrrErr[sfb + sfboffs] = fMultDiv2((FL2FXCONST_DBL(0.25f)-(channelCorr[sfb + sfboffs]>>2)),normSfbL… in FDKaacEnc_prepareIntensityDecision()
669 lr += fMultDiv2(fMultDiv2(mdctSpectrumLeft[j]<<sL,mdctSpectrumRight[j]<<sR),inv_n); in FDKaacEnc_IntensityStereoProcessing()
[all …]
Dtransform.cpp187 tmp0 = fMultDiv2((FIXP_PCM)timeData[i+nl], pLeftWindowPart[i].v.im); in FDKaacEnc_Transform_Real()
204 tmp1 = fMultDiv2((FIXP_PCM)timeData[tl+nr+i], pRightWindowPart[i].v.re); in FDKaacEnc_Transform_Real()
226 outval = (fMultDiv2((FIXP_PCM)timeData[L+N*3/4-1-i], pWindowELD[N+N/2-1-i]) >> (-WTS1)); in FDKaacEnc_Transform_Real()
227 outval += (fMultDiv2((FIXP_PCM)timeData[L+N*3/4+i], pWindowELD[N+N/2+i]) >> (-WTS1) ); in FDKaacEnc_Transform_Real()
228 outval += (fMultDiv2(overlapAddBuffer[N/2+i], pWindowELD[2*N+i])>> (-WTS2-1)); in FDKaacEnc_Transform_Real()
233 …mdctData[i] = overlapAddBuffer[N/2+i] + (fMultDiv2(overlapAddBuffer[N+N/2-1-i], pWindowELD[2*N+N/2… in FDKaacEnc_Transform_Real()
245 outval = (fMultDiv2((FIXP_PCM)timeData[L+N*3/4-1-i], pWindowELD[N+N/2-1-i]) >> (-WTS1)) ; in FDKaacEnc_Transform_Real()
246 outval += (fMultDiv2(overlapAddBuffer[N/2+i], pWindowELD[2*N+i]) >> (-WTS2-1)); in FDKaacEnc_Transform_Real()
251 …mdctData[i] = overlapAddBuffer[N/2+i] + (fMultDiv2(overlapAddBuffer[N+N/2-1-i], pWindowELD[2*N+N/2… in FDKaacEnc_Transform_Real()
Dmetadata_compressor.cpp893 …if (drcComp->channelIdx[LS] >= 0) tmp -= fMultDiv2(FL2FXCONST_DBL(0.707f), (FIXP_PCM)pSamples[drcC… in FDK_DRC_Generator_Calc()
894 …if (drcComp->channelIdx[LS2] >= 0) tmp -= fMultDiv2(FL2FXCONST_DBL(0.707f), (FIXP_PCM)pSamples[drc… in FDK_DRC_Generator_Calc()
895 …if (drcComp->channelIdx[RS] >= 0) tmp -= fMultDiv2(FL2FXCONST_DBL(0.707f), (FIXP_PCM)pSamples[drcC… in FDK_DRC_Generator_Calc()
896 …if (drcComp->channelIdx[RS2] >= 0) tmp -= fMultDiv2(FL2FXCONST_DBL(0.707f), (FIXP_PCM)pSamples[drc… in FDK_DRC_Generator_Calc()
898 …if (drcComp->channelIdx[S] >= 0) tmp -= fMultDiv2(FL2FXCONST_DBL(0.707f), (FIXP_PCM)pSamples[drcCo… in FDK_DRC_Generator_Calc()
899 …if (drcComp->channelIdx[C] >= 0) tmp += fMultDiv2(FL2FXCONST_DBL(0.707f), (FIXP_PCM)pSamples[drcCo… in FDK_DRC_Generator_Calc()
906 …if (drcComp->channelIdx[LS] >= 0) tmp += fMultDiv2(FL2FXCONST_DBL(0.707f), (FIXP_PCM)pSamples[drcC… in FDK_DRC_Generator_Calc()
907 …if (drcComp->channelIdx[LS2] >= 0) tmp += fMultDiv2(FL2FXCONST_DBL(0.707f), (FIXP_PCM)pSamples[drc… in FDK_DRC_Generator_Calc()
908 …if (drcComp->channelIdx[RS] >= 0) tmp += fMultDiv2(FL2FXCONST_DBL(0.707f), (FIXP_PCM)pSamples[drcC… in FDK_DRC_Generator_Calc()
909 …if (drcComp->channelIdx[RS2] >= 0) tmp += fMultDiv2(FL2FXCONST_DBL(0.707f), (FIXP_PCM)pSamples[drc… in FDK_DRC_Generator_Calc()
[all …]
Dline_pe.cpp169 …peChanData->sfbPe[sfbGrp+sfb] = fMultDiv2(logDataRatio, (FIXP_DBL)(nLines<<(LD_DATA_SHIFT+PE_CONST… in FDKaacEnc_calcSfbPe()
171fMultDiv2(sfbEnergyLdData[sfbGrp+sfb], (FIXP_DBL)(nLines<<(LD_DATA_SHIFT+PE_CONSTPART_SHIFT+1))); ; in FDKaacEnc_calcSfbPe()
177fMultDiv2(((FIXP_DBL)C2LdData + fMult(C3LdData,logDataRatio)), (FIXP_DBL)(nLines<<(LD_DATA_SHIFT+P… in FDKaacEnc_calcSfbPe()
180 fMultDiv2(((FIXP_DBL)C2LdData + fMult(C3LdData,sfbEnergyLdData[sfbGrp+sfb])), in FDKaacEnc_calcSfbPe()
Dtonality.cpp134 FIXP_DBL tmp = fMultDiv2(alpha_1, chaosMeasurePerLine[j]); in FDKaacEnc_CalculateFullTonality()
180 FIXP_DBL lineNrg = fMultDiv2(tmp, tmp); in FDKaacEnc_CalcSfbTonality()
194 sfbTonality[i] = FX_DBL2FX_SGL(fMultDiv2( chaosMeasureSfbLD64 , normlog ) << 7); in FDKaacEnc_CalcSfbTonality()
/external/aac/libSBRenc/src/
Dton_corr.cpp221 fac = fMultDiv2(ac->r00r, ac->r11r)>>1; in FDKsbrEnc_CalculateTonalityQuotas()
224 …alphar[1] = (fMultDiv2(ac->r01r, ac->r12r)>>1) - (fMultDiv2(ac->r01i, ac->r12i)>>1) - (fMultDiv2(a… in FDKsbrEnc_CalculateTonalityQuotas()
225 …alphai[1] = (fMultDiv2(ac->r01i, ac->r12r)>>1) + (fMultDiv2(ac->r01r, ac->r12i)>>1) - (fMultDiv2(a… in FDKsbrEnc_CalculateTonalityQuotas()
227 …alphar[0] = (fMultDiv2(ac->r01r, ac->det)>>(ac->det_scale+1)) + fMult(alphar[1], ac->r12r) + fMult… in FDKsbrEnc_CalculateTonalityQuotas()
228 …alphai[0] = (fMultDiv2(ac->r01i, ac->det)>>(ac->det_scale+1)) + fMult(alphai[1], ac->r12r) - fMult… in FDKsbrEnc_CalculateTonalityQuotas()
230 fac = fMultDiv2(ac->r00r, fMult(ac->det, ac->r11r))>>(ac->det_scale+1); in FDKsbrEnc_CalculateTonalityQuotas()
244 …num = fMultDiv2(alphar[0], ac->r01r) + fMultDiv2(alphai[0], ac->r01i) - fMultDiv2(alphar[1], fMult… in FDKsbrEnc_CalculateTonalityQuotas()
247 denom = (fac>>1) + (fMultDiv2(fac,RELAXATION_FRACT)>>RELAXATION_SHIFT) - num; in FDKsbrEnc_CalculateTonalityQuotas()
Dinvf_est.cpp240 origQuota += fMultDiv2(quotaVecOrig[i], invChannel); in calculateDetectorValues()
241 sbrQuota += fMultDiv2(quotaVecSbr[i], invChannel); in calculateDetectorValues()
257 origQuotaMeanStrongest += fMultDiv2(quotaVecOrig[i + stopChannel - temp], invTemp); in calculateDetectorValues()
258 sbrQuotaMeanStrongest += fMultDiv2(quotaVecSbr[i + stopChannel - temp], invTemp); in calculateDetectorValues()
371 …origQuotaMeanFilt = (fMultDiv2(FL2FXCONST_DBL(2.f*0.375f), (FIXP_DBL)(CalcLdData(max(detectorValue… in decisionAlgorithm()
372 …sbrQuotaMeanFilt = (fMultDiv2(FL2FXCONST_DBL(2.f*0.375f), (FIXP_DBL)(CalcLdData(max(detectorValue… in decisionAlgorithm()
374 …nrg = (fMultDiv2(FL2FXCONST_DBL(2.f*0.375f), (FIXP_DBL)(CalcLdData(detectorValues->a… in decisionAlgorithm()
Dnf_est.cpp147 accu += fMultDiv2(smoothFilter[i], prevNoiseLevels[i][band]); in smoothingOfNoiseLevels()
196 accu += fMultDiv2(quotaMatrixOrig[k][l], invIndex); in qmfBasedNoiseFloorDetection()
203 accu += fMultDiv2(quotaMatrixOrig[k][indexVector[l]], invIndex); in qmfBasedNoiseFloorDetection()
214 accu += fMultDiv2(quotaMatrixOrig[k][l], invIndex); in qmfBasedNoiseFloorDetection()
221 accu += fMultDiv2(quotaMatrixOrig[k][indexVector[l]], invIndex); in qmfBasedNoiseFloorDetection()
/external/aac/libSBRdec/src/arm/
Dlpp_tran_arm.cpp123 accu1 = fMultDiv2( a0r,real1); in lppTransposer_func1()
124 accu2 = fMultDiv2( a0i,imag1); in lppTransposer_func1()
127 real2 = fMultDiv2( a1i,real2); in lppTransposer_func1()
/external/aac/libPCMutils/src/
Dlimiter.cpp267 …ain = - fMult(additionalGainSmoothState, a[1]) + fMultDiv2( additionalGainUnfiltered, b[0]) + fMul… in applyLimiter()
286 tmp = SATURATE_LEFT_SHIFT(fMultDiv2(tmp1, additionalGain), 1, DFRACT_BITS); in applyLimiter()
328 …cor = fMin(cor, fMultDiv2((gain - fMultDiv2(FL2FXCONST_SGL(0.1f*(1<<1)),smoothState0)), FL2FXCONST… in applyLimiter()

12