Home
last modified time | relevance | path

Searched refs:fMult (Results 1 – 25 of 81) sorted by relevance

1234

/external/aac/libAACenc/src/
Dchannel_map.cpp405 fMult(sceRate, (FIXP_DBL)(bitrateTot << sc_brTot)) >> sc_brTot; in FDKaacEnc_InitElementBits()
407 fMult(cpeRate, (FIXP_DBL)(bitrateTot << sc_brTot)) >> (sc_brTot + 1); in FDKaacEnc_InitElementBits()
423 fMult(sce1Rate, (FIXP_DBL)(bitrateTot << sc_brTot)) >> sc_brTot; in FDKaacEnc_InitElementBits()
425 fMult(cpeRate, (FIXP_DBL)(bitrateTot << sc_brTot)) >> (sc_brTot + 1); in FDKaacEnc_InitElementBits()
427 fMult(sce2Rate, (FIXP_DBL)(bitrateTot << sc_brTot)) >> sc_brTot; in FDKaacEnc_InitElementBits()
444 fMult(sceRate, (FIXP_DBL)(bitrateTot << sc_brTot)) >> sc_brTot; in FDKaacEnc_InitElementBits()
446 fMult(cpe1Rate, (FIXP_DBL)(bitrateTot << sc_brTot)) >> (sc_brTot + 1); in FDKaacEnc_InitElementBits()
448 fMult(cpe2Rate, (FIXP_DBL)(bitrateTot << sc_brTot)) >> (sc_brTot + 1); in FDKaacEnc_InitElementBits()
470 (INT)((fMult(lfeRate, (FIXP_DBL)(maxChannelBits << sc)) >> sc) << 1), in FDKaacEnc_InitElementBits()
471 (INT)((fMult(FL2FXCONST_DBL(1.1f / 2.f), in FDKaacEnc_InitElementBits()
[all …]
Dmetadata_compressor.cpp382 exponent = fMult(exponent, FIXP_ILOG2_DIV2) << 1; /* e^(x) = 2^(x*ld(e)) */ in tc2Coeff()
523 peak[0] = fMult(dmxGain5, peak[0]) in findPeakLevels()
552 tmp = fMult(FL2FXCONST_DBL(0.707f), tmp); /* 7.1ch */ in findPeakLevels()
569 tmp = fMult(dmxGain5, tmp) << (DFRACT_BITS - 1 - METADATA_FRACT_BITS); in findPeakLevels()
571 tmp = fMult(dmxGain2, tmp) << (DFRACT_BITS - 1 - METADATA_FRACT_BITS); in findPeakLevels()
594 tmp = fMult(FL2FXCONST_DBL(0.707f), tmp); /* 7.1ch */ in findPeakLevels()
611 tmp = fMult(dmxGain5, tmp) << (DFRACT_BITS - 1 - METADATA_FRACT_BITS); in findPeakLevels()
613 tmp = fMult(dmxGain2, tmp) << (DFRACT_BITS - 1 - METADATA_FRACT_BITS); in findPeakLevels()
626 tmp += fMultDiv2(fMult(slev, ext_leva), in findPeakLevels()
629 tmp += fMultDiv2(fMult(slev, ext_levb), in findPeakLevels()
[all …]
Dpsy_configuration.cpp301 center_freq = fMult(center_freq, INV480) << 4; // q13 in FDKaacEnc_BarcLineValue()
307 x1 = fMult(center_freq, FOURBY3EM4); /* q13 * q43 - (DFRACT_BITS-1) = q25 */ in FDKaacEnc_BarcLineValue()
308 x2 = fMult(center_freq, PZZZ76) in FDKaacEnc_BarcLineValue()
315 bvalFFTLine = fMult(ONE3P3, atan2) + fMult(THREEP5, fMult(atan1, atan1)); in FDKaacEnc_BarcLineValue()
386 fMult(MASKHIGH, (pbBarcValue[i] - pbBarcValue[i - 1])), 23, TEN, 27); in FDKaacEnc_initSpreading()
389 fMult(MASKLOW, (pbBarcValue[i] - pbBarcValue[i - 1])), 23, TEN, 27); in FDKaacEnc_initSpreading()
392 fMult(MASKHIGHSPREN, (pbBarcValue[i] - pbBarcValue[i - 1])), 23, TEN, in FDKaacEnc_initSpreading()
396 fMult(MASKLOWSPREN, (pbBarcValue[i] - pbBarcValue[i - 1])), 23, TEN, in FDKaacEnc_initSpreading()
452 pePerWindow = fMult(pePerWindow, BITS2PEFAC); in FDKaacEnc_initMinSnr()
454 pePerWindow = fMult(pePerWindow, PERS2P4); in FDKaacEnc_initMinSnr()
[all …]
Dsf_estim.cpp258 ldRatio = sfbConstPePart - fMult(FL2FXCONST_DBL(0.375f), scfFract); in FDKaacEnc_calcSingleSpecPe()
261 specPe = fMult(FL2FXCONST_DBL(0.7f), fMult(nLines, ldRatio)); in FDKaacEnc_calcSingleSpecPe()
263 specPe = fMult(FL2FXCONST_DBL(0.7f), in FDKaacEnc_calcSingleSpecPe()
264 fMult(nLines, (PE_C2 + fMult(PE_C3, ldRatio)))); in FDKaacEnc_calcSingleSpecPe()
347 sfbConstPePart[sfb] - fMult(FL2FXCONST_DBL(0.375f), scfFract); in FDKaacEnc_calcSpecPeDiff()
351 sfbConstPePart[sfb] - fMult(FL2FXCONST_DBL(0.375f), scfFract); in FDKaacEnc_calcSpecPeDiff()
356 pOld = PE_C2 + fMult(PE_C3, ldRatioOld); in FDKaacEnc_calcSpecPeDiff()
361 pNew = PE_C2 + fMult(PE_C3, ldRatioNew); in FDKaacEnc_calcSpecPeDiff()
363 specPeDiff += fMult(FL2FXCONST_DBL(0.7f), in FDKaacEnc_calcSpecPeDiff()
364 fMult(sfbNRelevantLines[sfb], (pNew - pOld))); in FDKaacEnc_calcSpecPeDiff()
[all …]
Daacenc_tns.cpp569 result += (fMult(spectrum[i], spectrum[i + lag]) >> scale); in FDKaacEnc_CalcAutoCorrValue()
607 retValue = fMult(tmp, tmp); in FDKaacEnc_AutoCorrNormFac()
683 _rxx1[0] = scaleValue(fMult(rxx1_0, fac1), sc_fac1); in FDKaacEnc_MergedAutoCorrelation()
692 fMult(scaleValue(fMult(x1, fac1), sc_fac1), acfWindow[LOFILT][lag]); in FDKaacEnc_MergedAutoCorrelation()
699 _rxx1[lag] = fMult(scaleValue(fMult(x1, fac1), sc_fac1), in FDKaacEnc_MergedAutoCorrelation()
727 _rxx2[0] = scaleValue(fMult(rxx2_0, fac2), sc_fac2) + in FDKaacEnc_MergedAutoCorrelation()
728 scaleValue(fMult(rxx3_0, fac3), sc_fac3) + in FDKaacEnc_MergedAutoCorrelation()
729 scaleValue(fMult(rxx4_0, fac4), sc_fac4); in FDKaacEnc_MergedAutoCorrelation()
734 FIXP_DBL x2 = scaleValue(fMult(FDKaacEnc_CalcAutoCorrValue( in FDKaacEnc_MergedAutoCorrelation()
738 scaleValue(fMult(FDKaacEnc_CalcAutoCorrValue( in FDKaacEnc_MergedAutoCorrelation()
[all …]
Dadj_thr.cpp389 bit2PE = fMult(slope, stopPF - startPF) + startPF; in FDKaacEnc_InitBits2PeFactor()
435 return (INT)(fMult(factor_m, (FIXP_DBL)(bits << Q_AVGBITS)) >> in FDKaacEnc_bits2pe2()
480 fMult(msaParam->redRatioFac, FL2FXCONST_DBL(0.3010299956f)); in FDKaacEnc_adaptMinSnr()
523 minSnrRed = msaParam_redOffs + fMult(msaParam_redRatioFac, in FDKaacEnc_adaptMinSnr()
527 minSnrRed = (fMult(sfbMinSnrLdData, minSnrRed)) << 6; in FDKaacEnc_adaptMinSnr()
563 qcOutChan->sfbSpreadEnergy[sfbGrp + sfb] = fMult( in FDKaacEnc_initAvoidHoleFlag()
671 qcOutChanS->sfbSpreadEnergy[sfbGrp + sfb] = fMult( in FDKaacEnc_initAvoidHoleFlag()
676 qcOutChanM->sfbSpreadEnergy[sfbGrp + sfb] = fMult( in FDKaacEnc_initAvoidHoleFlag()
807 nrgSum34 += (fMult(nrgFac14, nrgFac12) >> 6); /* sum up nrg^(3/4) */ in FDKaacEnc_calcWeighting()
1161 chaosMeasure += fMult(chChaosMeasure[ch], chEnergy); in FDKaacEnc_reduceThresholdsVBR()
[all …]
Dtransform.cpp235 z0 = (fMult((FIXP_PCM)timeData[L + N * 3 / 4 - 1 - i], in FDKaacEnc_Transform_Real_Eld()
238 (fMult((FIXP_PCM)timeData[L + N * 3 / 4 + i], pWindowELD[N / 2 + i]) in FDKaacEnc_Transform_Real_Eld()
265 z0 = fMult((FIXP_PCM)timeData[L + N * 3 / 4 - 1 - i], in FDKaacEnc_Transform_Real_Eld()
277 (fMult((FIXP_PCM)timeData[L - N / 4 + i], pWindowELD[N / 2 + i]) in FDKaacEnc_Transform_Real_Eld()
/external/aac/libSACenc/src/
Dsacenc_dmx_tdom_enh.cpp292 fMult(ALPHA_M, fPow2(fixp_sin(smp * deltax_m, deltax_e))); in fdk_sacenc_init_enhancedTimeDomainDmx()
305 hEnhancedTimeDmx->gain_weight_m[L] = fMult(pInputGain_m[L], outputGain_m); in fdk_sacenc_init_enhancedTimeDomainDmx()
306 hEnhancedTimeDmx->gain_weight_m[R] = fMult(pInputGain_m[R], outputGain_m); in fdk_sacenc_init_enhancedTimeDomainDmx()
414 lin_bbCld_m = fMult(hEnhancedTimeDmx->lin_bbCld_weight_m, in fdk_sacenc_apply_enhancedTimeDomainDmx()
419 bbCorr_m = fMult(nrgX_m, invSqrtNorm2(fMult(nrgLeft_m, nrgRight_m), in fdk_sacenc_apply_enhancedTimeDomainDmx()
454 H1_m[L] = fMult(H1_m[L], hEnhancedTimeDmx->gain_weight_m[L]); in fdk_sacenc_apply_enhancedTimeDomainDmx()
455 H1_m[R] = fMult(H1_m[R], hEnhancedTimeDmx->gain_weight_m[R]); in fdk_sacenc_apply_enhancedTimeDomainDmx()
469 scaleValue((fMult(hEnhancedTimeDmx->sinusWindow_m[smp], H1_m[L]) + in fdk_sacenc_apply_enhancedTimeDomainDmx()
470 fMult(hEnhancedTimeDmx->sinusWindow_m[N - smp], in fdk_sacenc_apply_enhancedTimeDomainDmx()
474 scaleValue((fMult(hEnhancedTimeDmx->sinusWindow_m[smp], H1_m[R]) + in fdk_sacenc_apply_enhancedTimeDomainDmx()
[all …]
/external/aac/libFDK/include/
Dcplx_mul.h224 *c_Re = fMult(a_Re, b_Re) - fMult(a_Im, b_Im); in cplxMult()
225 *c_Im = fMult(a_Re, b_Im) + fMult(a_Im, b_Re); in cplxMult()
230 *c_Re = FX_DBL2FX_SGL(fMult(a_Re, b_Re) - fMult(a_Im, b_Im)); in cplxMult()
231 *c_Im = FX_DBL2FX_SGL(fMult(a_Re, b_Im) + fMult(a_Im, b_Re)); in cplxMult()
250 *c_Re = fMult(a_Re, b_Re) - fMult(a_Im, b_Im); in cplxMult()
251 *c_Im = fMult(a_Re, b_Im) + fMult(a_Im, b_Re); in cplxMult()
/external/aac/libSBRdec/src/
Dhbe.cpp920 return (fMult(op_m, fMult(op_m, op_m))); in inv3EigthRootNorm2()
1270 *centerImag = fMult(gc_r_m, gc_i_m); in calculateCenterFIXP()
1277 gc_i_m = fMult(tmp_r, gc_i_m); in calculateCenterFIXP()
1333 factor_m = fMult(factor_m, mult); in addHighBandPart()
1597 (fMult(gammaVecReal_m[0], hintReal_F[sourceband % 4][1]) - in QmfTransposerApply()
1598 fMult(gammaVecImag_m[0], in QmfTransposerApply()
1602 (fMult(tmpRealF, hintReal_F[(sourceband + 3) % 4][1]) + in QmfTransposerApply()
1603 fMult(gammaVecImag_m[0], hintReal_F[sourceband % 4][1])) >> in QmfTransposerApply()
1612 (fMult(tmpRealF, hintReal_F[sourceband % 4][1]) - in QmfTransposerApply()
1613 fMult(tmpImagF, hintReal_F[(sourceband + 1) % 4][1])) >> in QmfTransposerApply()
[all …]
Dpsdec.cpp366 Beta = fMult( in initSlotBasedRotation()
367 fMult(Alphas[h_ps_d->specificTo.mpeg.pCoef->aaIccIndexMapped[env][bin]], in initSlotBasedRotation()
383 h11r = fMult(ScaleL, trigData[0]); in initSlotBasedRotation()
384 h12r = fMult(ScaleR, trigData[2]); in initSlotBasedRotation()
385 h21r = fMult(ScaleL, trigData[1]); in initSlotBasedRotation()
386 h22r = fMult(ScaleR, trigData[3]); in initSlotBasedRotation()
411 fMult(h11r - h_ps_d->specificTo.mpeg.pCoef->H11r[group], invL); in initSlotBasedRotation()
413 fMult(h12r - h_ps_d->specificTo.mpeg.pCoef->H12r[group], invL); in initSlotBasedRotation()
415 fMult(h21r - h_ps_d->specificTo.mpeg.pCoef->H21r[group], invL); in initSlotBasedRotation()
417 fMult(h22r - h_ps_d->specificTo.mpeg.pCoef->H22r[group], invL); in initSlotBasedRotation()
Dsbrdec_drc.cpp359 fMult(alphaValue, drcFact2_mag) + in sbrDecoder_drcApplySlot()
360 fMult(((FIXP_DBL)MAXVAL_DBL - alphaValue), drcFact1_mag); in sbrDecoder_drcApplySlot()
364 qmfRealSlot[bin] = fMult(qmfRealSlot[bin], drcFact_mag); in sbrDecoder_drcApplySlot()
366 qmfImagSlot[bin] = fMult(qmfImagSlot[bin], drcFact_mag); in sbrDecoder_drcApplySlot()
426 FIXP_DBL rem = fMult(invFrameSizeDiv8, in sbrDecoder_drcApplySlot()
467 qmfRealSlot[bin] = fMult(qmfRealSlot[bin], drcFact_mag); in sbrDecoder_drcApplySlot()
469 qmfImagSlot[bin] = fMult(qmfImagSlot[bin], drcFact_mag); in sbrDecoder_drcApplySlot()
Denv_calc.cpp449 tmp = fMult(tmp, nrgGain[k]); in aliasingReduction()
470 fMult(alpha, groupGain), groupGain_e, in aliasingReduction()
471 fMult(/*FL2FXCONST_DBL(1.0f)*/ (FIXP_DBL)MAXVAL_DBL - alpha, in aliasingReduction()
476 tmp = fMult(nrgGain[k], nrgEst[k]); in aliasingReduction()
490 nrgGain[k] = fMult(nrgGain[k], compensation); in aliasingReduction()
763 gain[i] = fMult(gain[i], gain_adj); in apply_inter_tes()
778 qmfReal[startPos + i][j] = fMult(qmfReal[startPos + i][j], gain[i]); in apply_inter_tes()
779 qmfImag[startPos + i][j] = fMult(qmfImag[startPos + i][j], gain[i]); in apply_inter_tes()
1288 maxGain = fMult( in calculateSbrEnvelope()
1328 pNrgs->noiseLevel[k] = fMult(pNrgs->noiseLevel[k], noiseAmp); in calculateSbrEnvelope()
[all …]
/external/aac/libFDK/src/
DFDK_hybrid.cpp580 (fMult(p[10], (fMultSub(fMultDiv2(cr[2], pQmfReal[pReadIdx[2]]), ci[2], in fourChannelFiltering()
582 fMult(p[6], (fMultSub(fMultDiv2(cr[6], pQmfReal[pReadIdx[6]]), ci[6], in fourChannelFiltering()
584 fMult(p[2], (fMultSub(fMultDiv2(cr[10], pQmfReal[pReadIdx[10]]), ci[10], in fourChannelFiltering()
587 (fMult(p[10], (fMultAdd(fMultDiv2(ci[2], pQmfReal[pReadIdx[2]]), cr[2], in fourChannelFiltering()
589 fMult(p[6], (fMultAdd(fMultDiv2(ci[6], pQmfReal[pReadIdx[6]]), cr[6], in fourChannelFiltering()
591 fMult(p[2], (fMultAdd(fMultDiv2(ci[10], pQmfReal[pReadIdx[10]]), cr[10], in fourChannelFiltering()
596 (fMult(p[9], (fMultSub(fMultDiv2(cr[3], pQmfReal[pReadIdx[3]]), ci[3], in fourChannelFiltering()
598 fMult(p[5], (fMultSub(fMultDiv2(cr[7], pQmfReal[pReadIdx[7]]), ci[7], in fourChannelFiltering()
600 fMult(p[1], (fMultSub(fMultDiv2(cr[11], pQmfReal[pReadIdx[11]]), ci[11], in fourChannelFiltering()
603 (fMult(p[9], (fMultAdd(fMultDiv2(ci[3], pQmfReal[pReadIdx[3]]), cr[3], in fourChannelFiltering()
[all …]
DFDK_trigFcts.cpp272 result = fMult(x, (temp << 2)); in fixp_atan()
303 error = fMult(sine, residual); in fixp_cos()
317 error = fMult(cosine, residual); in fixp_sin()
330 error0 = fMult(sine, residual); in fixp_cos_sin()
331 error1 = fMult(cosine, residual); in fixp_cos_sin()
DFDK_lpc.cpp369 workBuffer[j] += fMult(reflCoeff[i], tmp2); in CLpc_ParcorToLpc()
370 workBuffer[i - 1 - j] += fMult(reflCoeff[i], tmp1); in CLpc_ParcorToLpc()
373 workBuffer[j] += fMult(reflCoeff[i], workBuffer[j]); in CLpc_ParcorToLpc()
407 workBuffer[j] += fMult(reflCoeff[i], tmp2); in CLpc_ParcorToLpc()
408 workBuffer[i - 1 - j] += fMult(reflCoeff[i], tmp1); in CLpc_ParcorToLpc()
411 workBuffer[j] += fMult(reflCoeff[i], workBuffer[j]); in CLpc_ParcorToLpc()
466 FIXP_DBL accu1 = fMult(tmp, acorr[j]); in CLpc_AutoToParcor()
467 FIXP_DBL accu2 = fMult(tmp, workBuffer[j]); in CLpc_AutoToParcor()
Dfft.cpp246 t = fMult((r1 - r3), C54); in fft5()
254 t = fMult((r4 + r2), C51); in fft5()
258 r2 = t + fMult(r2, C53); in fft5()
265 t = fMult((s1 - s3), C54); in fft5()
273 t = fMult((s4 + s2), C51); in fft5()
277 s2 = t + fMult(s2, C53); in fft5()
336 t = fMult((r1 - r3), C54); in fft10()
339 r1 = (y00 + ((fMult(r1, C55) << 1))); in fft10()
342 t = fMult((r4 + r2), C51); in fft10()
343 r4 = (t + (fMult(r4, C52) << 1)); in fft10()
[all …]
/external/aac/libAACdec/src/
Dusacdec_lpc.cpp567 w = (LONG)fMultDiv2(factor, sqrtFixp(fMult(d[i], d[i + 1]))); in lsf_weight_2st()
915 fMult(lsp[k][i], FL2FXCONST_SGL(1.0f - LSF_INIT_TILT)) + in CLpc_Read()
916 fMult(fdk_dec_lsf_init[i], FL2FXCONST_SGL(LSF_INIT_TILT))); in CLpc_Read()
987 fMult(tmp, FL2FXCONST_DBL((1 << (LSF_SCALE + 4)) / 400000.0f)); in CLpc_Read()
1010 fixp_cos(fMult(lsp[i][k], in CLpc_Read()
1047 FIXP_LPC lsf_mean = FX_DBL2FX_LPC(fMult(BETA, fdk_dec_lsf_init[i]) + in CLpc_Conceal()
1048 fMult(ONE_BETA, lsf_adaptive_mean[i])); in CLpc_Conceal()
1050 lsp[1][i] = FX_DBL2FX_LPC(fMult(BFI_FAC, lpc4_lsf[i]) + in CLpc_Conceal()
1051 fMult(ONE_BFI_FAC, lsf_mean)); in CLpc_Conceal()
1063 fMult((FIXP_SGL)(BETA + (FIXP_SGL)(j * (INT)FL2FXCONST_SGL(0.1f))), in CLpc_Conceal()
[all …]
Dusacdec_fac.cpp172 pFac[i] = fMult(pFac[i], fac_gain); in CLpd_FAC_Read()
217 facFactor = fMult(gainFac[mod], tcx_gain); in CFac_ApplyGains()
219 fac_data[i] = fMult(fac_data[i], facFactor); in CFac_ApplyGains()
227 fac_data[i] = fMult(fac_data[i], alfd_gains[k]) in CFac_ApplyGains()
253 pFac[i] = fMult(tf_gain, pFac[i]); in CFac_CalcFacSignal()
345 x0 = -fMult(*pOvl--, pWindow[i].v.re); in CLpd_FAC_Mdct2Acelp()
355 x0 = fMult(*pOvl--, pWindow[i].v.re); in CLpd_FAC_Mdct2Acelp()
538 pSpec[i] = fMult(pSpec[i], total_gain); in CLpd_FAC_Acelp2Mdct()
551 x1 = fMult(*pCurr++, pWindow[i].v.re); in CLpd_FAC_Acelp2Mdct()
629 pSpec[i] = fMult(pSpec[i], total_gain); in CLpd_FAC_Acelp2Mdct()
/external/aac/libSACdec/src/
Dsac_smoothing.cpp263 fMult(delta__FDK, tmpL) + in SpatialDecSmoothOPD()
264 fMult(one_minus_delta__FDK, phaseLeftSmooth__FDK[pb]); in SpatialDecSmoothOPD()
266 fMult(delta__FDK, tmpR) + in SpatialDecSmoothOPD()
267 fMult(one_minus_delta__FDK, phaseRightSmooth__FDK[pb]); in SpatialDecSmoothOPD()
274 if (fixp_abs(tmp) > fMult((quantCoarse ? FL2FXCONST_DBL(50.f / 180.f) in SpatialDecSmoothOPD()
Dsac_calcM1andM2.cpp609 FIXP_DBL iidIcc2_m = fMult(iidLin_m, icc); in param2UMX_Prediction_Core__FDK()
618 temp_m = fAddNorm(iidLin21_m, iidLin21_e, fMult(iidIcc2_m, cosIpd), in param2UMX_Prediction_Core__FDK()
641 weight_m = fMult(sqrt_temp_m, weight_m); in param2UMX_Prediction_Core__FDK()
659 alphaRe_m = fMult(alphaRe_m, inv_temp_m); in param2UMX_Prediction_Core__FDK()
664 accu_m = fMult(alphaRe_m, weight_m); in param2UMX_Prediction_Core__FDK()
678 alphaIm_m = fMult(-iidIcc2_m, sinIpd); in param2UMX_Prediction_Core__FDK()
679 alphaIm_m = fMult(alphaIm_m, inv_temp_m); in param2UMX_Prediction_Core__FDK()
683 accu_m = fMult(alphaIm_m, weight_m); in param2UMX_Prediction_Core__FDK()
705 beta_m = fMult(beta_m, weight_m); in param2UMX_Prediction_Core__FDK()
707 beta_m = fMult(beta_m, iidLin_m); in param2UMX_Prediction_Core__FDK()
[all …]
Dsac_stp.cpp429 fMult(STP_LPF_COEFF1__FDK, hStpDec->runDryEner[ch]) + in subbandTPApply()
430 fMult(ONE_MINUS_STP_LPF_COEFF1__FDK, DryEner[ch]); in subbandTPApply()
462 fMult(STP_LPF_COEFF1__FDK, hStpDec->runWetEner[ch]) + in subbandTPApply()
463 fMult(ONE_MINUS_STP_LPF_COEFF1__FDK, WetEnerX); in subbandTPApply()
488 scale[ch] = damp + fMult(FL2FXCONST_DBL(0.9f), scale[ch]); in subbandTPApply()
500 fMult(STP_LPF_COEFF2__FDK, scale[ch]) + in subbandTPApply()
501 fMult(ONE_MINUS_STP_LPF_COEFF2__FDK, hStpDec->prev_tp_scale[ch]); in subbandTPApply()
/external/aac/libDRCdec/src/
DdrcGainDec_preprocess.cpp367 *outGainDb = fMult(w, nodeGain[n]) + in _compressorIO_nodes()
368 fMult((FIXP_DBL)MAXVAL_DBL - w, nodeGain[n + 1]); in _compressorIO_nodes()
379 *outGainDb = fMult(w, nodeGain[n]) + in _compressorIO_nodes()
380 fMult((FIXP_DBL)MAXVAL_DBL - w, nodeGain[n + 1]); in _compressorIO_nodes()
421 *inLev = fMult(w, nodeLevel[n]) + in _compressorIO_nodes_inverse()
422 fMult((FIXP_DBL)MAXVAL_DBL - w, nodeLevel[n + 1]); in _compressorIO_nodes_inverse()
445 *inLev = fMult(w, nodeLevel[n]) + in _compressorIO_nodes_inverse()
446 fMult((FIXP_DBL)MAXVAL_DBL - w, nodeLevel[n + 1]); in _compressorIO_nodes_inverse()
613 fMult(slopeDb, SLOPE_FACTOR_DB_TO_LINEAR); /* resulting e: 2 - 3 = -1 */ in _toLinear()
614 tmp_dbl = fMult(tmp_dbl, gainRatio_m); /* resulting e: -1 + gainRatio_e */ in _toLinear()
[all …]
/external/aac/libSBRenc/src/
Dinvf_est.cpp275 quotaVecOrig[i] += fMult(quotaMatrixOrig[j][i], invIndex); in calculateDetectorValues()
278 quotaVecSbr[i] += fMult(quotaMatrixOrig[j][indexVector[i]], invIndex); in calculateDetectorValues()
280 detectorValues->avgNrg += fMult(nrgVector[j], invIndex); in calculateDetectorValues()
354 fMult(detectorValues->origQuotaMean[i], filter[i]); in calculateDetectorValues()
356 fMult(detectorValues->sbrQuotaMean[i], filter[i]); in calculateDetectorValues()
358 fMult(detectorValues->origQuotaMeanStrongest[i], filter[i]); in calculateDetectorValues()
360 fMult(detectorValues->sbrQuotaMeanStrongest[i], filter[i]); in calculateDetectorValues()
/external/aac/libPCMutils/src/
Dlimiter.cpp224 additionalGain = -fMult(additionalGainSmoothState, a[1]) + in pcmLimiter_Apply()
246 tmp = fMult(tmp1, additionalGain); in pcmLimiter_Apply()
299 fMult(attackConst, (smoothState0 - cor)) + cor; /* attack */ in pcmLimiter_Apply()
306 -fMult(releaseConst, -(smoothState0 - cor)) + cor; /* release */ in pcmLimiter_Apply()
317 p_delayBuf[j] = fMult((FIXP_PCM_LIM)samplesIn[j], additionalGain); in pcmLimiter_Apply()
330 p_delayBuf[j] = fMult((FIXP_PCM_LIM)samplesIn[j], additionalGain); in pcmLimiter_Apply()
435 maxGainReduction = fMult(loggain, FL2FXCONST_DBL(-6.0206f / (1 << 3))); in pcmLimiter_GetMaxGainReduction()

1234