/external/aac/libAACenc/src/ |
D | channel_map.cpp | 368 …hQC->elementBits[0]->chBitrateEl = fMult(sceRate, (FIXP_DBL)(bitrateTot<<sc_brTot))>>sc_brTot; in FDKaacEnc_InitElementBits() 369 …hQC->elementBits[1]->chBitrateEl = fMult(cpeRate, (FIXP_DBL)(bitrateTot<<sc_brTot))>>(sc_brTo… in FDKaacEnc_InitElementBits() 384 …hQC->elementBits[0]->chBitrateEl = fMult(sce1Rate, (FIXP_DBL)(bitrateTot<<sc_brTot))>>sc_brTo… in FDKaacEnc_InitElementBits() 385 …hQC->elementBits[1]->chBitrateEl = fMult(cpeRate, (FIXP_DBL)(bitrateTot<<sc_brTot))>>(sc_brT… in FDKaacEnc_InitElementBits() 386 …hQC->elementBits[2]->chBitrateEl = fMult(sce2Rate, (FIXP_DBL)(bitrateTot<<sc_brTot))>>sc_brTo… in FDKaacEnc_InitElementBits() 402 …hQC->elementBits[0]->chBitrateEl = fMult(sceRate, (FIXP_DBL)(bitrateTot<<sc_brTot))>>sc_brTo… in FDKaacEnc_InitElementBits() 403 …hQC->elementBits[1]->chBitrateEl = fMult(cpe1Rate, (FIXP_DBL)(bitrateTot<<sc_brTot))>>(sc_brT… in FDKaacEnc_InitElementBits() 404 …hQC->elementBits[2]->chBitrateEl = fMult(cpe2Rate, (FIXP_DBL)(bitrateTot<<sc_brTot))>>(sc_brT… in FDKaacEnc_InitElementBits() 425 int maxLfeBits = (int) FDKmax ( (INT)((fMult(lfeRate,(FIXP_DBL)(maxChannelBits<<sc))>>sc)<<1), in FDKaacEnc_InitElementBits() 426 … (INT)((fMult(FL2FXCONST_DBL(1.1f/2.f),fMult(lfeRate,(FIXP_DBL)(averageBitsTot<<sc)))<<1)>>sc) ); in FDKaacEnc_InitElementBits() [all …]
|
D | psy_configuration.cpp | 317 center_freq = fMult(center_freq, INV480) << 4; // q13 in FDKaacEnc_BarcLineValue() 323 x1 = fMult(center_freq, FOURBY3EM4); /* q13 * q43 - (DFRACT_BITS-1) = q25 */ in FDKaacEnc_BarcLineValue() 324 x2 = fMult(center_freq, PZZZ76) << 2; /* q13 * q41 - (DFRACT_BITS-1) + 2 = q25 */ in FDKaacEnc_BarcLineValue() 330 bvalFFTLine = fMult(ONE3P3, atan2) + fMult(THREEP5, fMult(atan1, atan1)); in FDKaacEnc_BarcLineValue() 414 fMult(MASKHIGH, (pbBarcValue[i] - pbBarcValue[i-1])), 23, in FDKaacEnc_initSpreading() 418 fMult(MASKLOW, (pbBarcValue[i] - pbBarcValue[i-1])), 23, in FDKaacEnc_initSpreading() 422 fMult(MASKHIGHSPREN, (pbBarcValue[i] - pbBarcValue[i-1])), 23, in FDKaacEnc_initSpreading() 426 fMult(MASKLOWSPREN, (pbBarcValue[i] - pbBarcValue[i-1])), 23, in FDKaacEnc_initSpreading() 491 …pePerWindow = fMult(pePerWindow, BITS2PEFAC); qperwin = qperwin + 30 - (DFRACT_B… in FDKaacEnc_initMinSnr() 492 …pePerWindow = fMult(pePerWindow, PERS2P4); qperwin = qperwin + 36 - (DFRACT_B… in FDKaacEnc_initMinSnr() [all …]
|
D | metadata_compressor.cpp | 418 exponent = fMult(exponent,FIXP_ILOG2_DIV2)<<1; /* e^(x) = 2^(x*ld(e)) */ in tc2Coeff() 618 …drcComp->maxEarlyCut[i] = - fMult((drcComp->cutThr[i] - drcComp->earlyCutThr[i]), drcComp->earlyCu… in FDK_DRC_Generator_setDrcProfile() 695 y = fMult(b0,x-x2) - fMult(a1,y1) - fMult(a2,y2); in FDK_DRC_Generator_Calc() 766 …FIXP_DBL level = fMult((FIXP_DBL)(10<<(METADATA_FRACT_BITS+LD_DATA_SHIFT)), fMult( FL2FXCONST_DBL(… in FDK_DRC_Generator_Calc() 786 gain = fMult((level - drcComp->boostThr[i]),drcComp->boostFac[i]); in FDK_DRC_Generator_Calc() 794 gain = fMult((level - drcComp->earlyCutThr[i]), drcComp->earlyCutFac[i]); in FDK_DRC_Generator_Calc() 798 … gain = fMult((level - drcComp->cutThr[i]), drcComp->cutFac[i]) - drcComp->maxEarlyCut[i]; in FDK_DRC_Generator_Calc() 835 accu = fMult((FL2FXCONST_DBL(1.f)-alpha), drcComp->smoothLevel[i]); in FDK_DRC_Generator_Calc() 836 accu += fMult(alpha,level); in FDK_DRC_Generator_Calc() 840 accu = fMult((FL2FXCONST_DBL(1.f)-alpha), drcComp->smoothGain[i]); in FDK_DRC_Generator_Calc() [all …]
|
D | adj_thr.cpp | 144 return (INT)(fMult(factor_m, (FIXP_DBL)(bits<<Q_AVGBITS)) >> (Q_AVGBITS-factor_e)); in FDKaacEnc_bits2pe2() 210 …dbRatio = fMult((avgEnLD64 - qcOutChannel[ch]->sfbEnergyLdData[sfbGrp+sfb]),FL2FXCONST_DBL(0.30102… in FDKaacEnc_adaptMinSnr() 211 … minSnrRed = msaParam->redOffs + fMult(msaParam->redRatioFac,dbRatio); /* scaled by 1.0f/64.0f*/ in FDKaacEnc_adaptMinSnr() 213 …qcOutChannel[ch]->sfbMinSnrLdData[sfbGrp+sfb] = (fMult(qcOutChannel[ch]->sfbMinSnrLdData[sfbGrp+sf… in FDKaacEnc_adaptMinSnr() 254 fMult(FL2FXCONST_DBL(0.63f), in FDKaacEnc_initAvoidHoleFlag() 342 fMult(qcOutChanS->sfbEnergy[sfbGrp+sfb], FL2FXCONST_DBL(0.9f)); in FDKaacEnc_initAvoidHoleFlag() 346 fMult(qcOutChanM->sfbEnergy[sfbGrp+sfb], FL2FXCONST_DBL(0.9f)); in FDKaacEnc_initAvoidHoleFlag() 468 … nrgSum34 += ( fMult(nrgFac14, nrgFac12) >> 6 ); /* sum up nrg^(3/4) */ in FDKaacEnc_calcWeighting() 792 chaosMeasure += fMult(chChaosMeasure[ch], chEnergy); in FDKaacEnc_reduceThresholdsVBR() 805 chaosMeasureAvg = fMult(CONST_CHAOS_MEAS_AVG_FAC_0, chaosMeasure) + in FDKaacEnc_reduceThresholdsVBR() [all …]
|
D | sf_estim.cpp | 239 ldRatio = sfbConstPePart - fMult(FL2FXCONST_DBL(0.375f),scfFract); in FDKaacEnc_calcSingleSpecPe() 242 specPe = fMult(FL2FXCONST_DBL(0.7f),fMult(nLines,ldRatio)); in FDKaacEnc_calcSingleSpecPe() 245 specPe = fMult(FL2FXCONST_DBL(0.7f),fMult(nLines,(PE_C2 + fMult(PE_C3,ldRatio)))); in FDKaacEnc_calcSingleSpecPe() 330 ldRatioOld = sfbConstPePart[sfb] - fMult(FL2FXCONST_DBL(0.375f),scfFract); in FDKaacEnc_calcSpecPeDiff() 333 ldRatioNew = sfbConstPePart[sfb] - fMult(FL2FXCONST_DBL(0.375f),scfFract); in FDKaacEnc_calcSpecPeDiff() 338 pOld = PE_C2 + fMult(PE_C3,ldRatioOld); in FDKaacEnc_calcSpecPeDiff() 343 pNew = PE_C2 + fMult(PE_C3,ldRatioNew); in FDKaacEnc_calcSpecPeDiff() 345 specPeDiff += fMult(FL2FXCONST_DBL(0.7f),fMult(sfbNRelevantLines[sfb],(pNew - pOld))); in FDKaacEnc_calcSpecPeDiff() 849 …DistMax[sfb] = fMult(FL2FXCONST_DBL(1.0f/3.0f),qcOutChannel->sfbThresholdLdData[sfb])+fMult(FL2FXC… in FDKaacEnc_FDKaacEnc_assimilateMultipleScf2() 977 if (distNewSum < fMult(FL2FXCONST_DBL(0.8f),distOldSum)) { in FDKaacEnc_FDKaacEnc_assimilateMultipleScf2() [all …]
|
D | aacenc_tns.cpp | 562 result += (fMult(spectrum[i], spectrum[i+lag])>>scale); in FDKaacEnc_CalcAutoCorrValue() 605 retValue = fMult(tmp,tmp); in FDKaacEnc_AutoCorrNormFac() 683 _rxx1[0] = scaleValue(fMult(rxx1_0,fac1),sc_fac1); in FDKaacEnc_MergedAutoCorrelation() 689 _rxx1[lag] = fMult(scaleValue(fMult(x1,fac1),sc_fac1), acfWindow[LOFILT][3*lag]); in FDKaacEnc_MergedAutoCorrelation() 715 _rxx2[0] = scaleValue(fMult(rxx2_0,fac2),sc_fac2) + in FDKaacEnc_MergedAutoCorrelation() 716 scaleValue(fMult(rxx3_0,fac3),sc_fac3) + in FDKaacEnc_MergedAutoCorrelation() 717 scaleValue(fMult(rxx4_0,fac4),sc_fac4); in FDKaacEnc_MergedAutoCorrelation() 721 …FIXP_DBL x2 = scaleValue(fMult(FDKaacEnc_CalcAutoCorrValue(pSpectrum, idx1, idx2, lag, nsc2), fac2… in FDKaacEnc_MergedAutoCorrelation() 722 … scaleValue(fMult(FDKaacEnc_CalcAutoCorrValue(pSpectrum, idx2, idx3, lag, nsc3), fac3),sc_fac3) + in FDKaacEnc_MergedAutoCorrelation() 723 … scaleValue(fMult(FDKaacEnc_CalcAutoCorrValue(pSpectrum, idx3, idx4, lag, nsc4), fac4),sc_fac4); in FDKaacEnc_MergedAutoCorrelation() [all …]
|
D | spreading.cpp | 104 delay = fixMax(pbSpreadEnergy[i], fMult(maskHighFactor[i], delay)); in FDKaacEnc_SpreadingMax() 111 delay = fixMax(pbSpreadEnergy[i], fMult(maskLowFactor[i],delay)); in FDKaacEnc_SpreadingMax()
|
D | transform.cpp | 224 …z0 = (fMult((FIXP_PCM)timeData[L+N*3/4-1-i], pWindowELD[N/2-1-i])<< (WTS0-1)) + (fMult((FIXP_PCM)t… in FDKaacEnc_Transform_Real() 243 z0 = fMult((FIXP_PCM)timeData[L+N*3/4-1-i], pWindowELD[N/2-1-i]) << (WTS0-1); in FDKaacEnc_Transform_Real() 248 …overlapAddBuffer[N/2+i] = overlapAddBuffer[i] + (fMult((FIXP_PCM)timeData[L-N/4+i], pWindowELD[N/2… in FDKaacEnc_Transform_Real()
|
D | pre_echo_control.cpp | 138 tmpThreshold2 = fMult(minRemainingThresholdFactor, pbThreshold[i]); in FDKaacEnc_PreEchoControl() 156 tmpThreshold2 = fMult(minRemainingThresholdFactor, pbThreshold[i]); in FDKaacEnc_PreEchoControl()
|
D | line_pe.cpp | 177 …fMultDiv2(((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()
|
/external/aac/libFDK/include/ |
D | cplx_mul.h | 221 *c_Re = fMult(a_Re,b_Re) - fMult(a_Im,b_Im); in cplxMult() 222 *c_Im = fMult(a_Re,b_Im) + fMult(a_Im,b_Re); in cplxMult() 249 *c_Re = fMult(a_Re,b_Re) - fMult(a_Im,b_Im); in cplxMult() 250 *c_Im = fMult(a_Re,b_Im) + fMult(a_Im,b_Re); in cplxMult()
|
D | FDK_trigFcts.h | 152 residual = fMult(x, FL2FXCONST_DBL(1.0/M_PI)); in fixp_sin_cos_residual_inline() 156 residual = fMult(residual, FL2FXCONST_DBL(M_PI/4.0)) << 2; in fixp_sin_cos_residual_inline()
|
/external/aac/libFDK/src/ |
D | FDK_hybrid.cpp | 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() 527 …fMult(p[ 2], ( fMultSub(fMultDiv2(cr[10], pQmfReal[pReadIdx[10]]), ci[10], pQmfImag[pReadIdx[10]])… in fourChannelFiltering() 528 …fft[FFT_IDX_I(0)] = ( fMult(p[10], ( fMultAdd(fMultDiv2(ci[ 2], pQmfReal[pReadIdx[ 2]]), cr[ 2], … in fourChannelFiltering() 529 …fMult(p[ 6], ( fMultAdd(fMultDiv2(ci[ 6], pQmfReal[pReadIdx[ 6]]), cr[ 6], pQmfImag[pReadIdx[ 6]])… in fourChannelFiltering() 530 …fMult(p[ 2], ( fMultAdd(fMultDiv2(ci[10], pQmfReal[pReadIdx[10]]), cr[10], pQmfImag[pReadIdx[10]])… in fourChannelFiltering() 533 …fft[FFT_IDX_R(1)] = ( fMult(p[ 9], ( fMultSub(fMultDiv2(cr[ 3], pQmfReal[pReadIdx[ 3]]), ci[ 3], … in fourChannelFiltering() 534 …fMult(p[ 5], ( fMultSub(fMultDiv2(cr[ 7], pQmfReal[pReadIdx[ 7]]), ci[ 7], pQmfImag[pReadIdx[ 7]])… in fourChannelFiltering() 535 …fMult(p[ 1], ( fMultSub(fMultDiv2(cr[11], pQmfReal[pReadIdx[11]]), ci[11], pQmfImag[pReadIdx[11]])… in fourChannelFiltering() 536 …fft[FFT_IDX_I(1)] = ( fMult(p[ 9], ( fMultAdd(fMultDiv2(ci[ 3], pQmfReal[pReadIdx[ 3]]), cr[ 3], … in fourChannelFiltering() [all …]
|
D | FDK_trigFcts.cpp | 262 temp = fMult(temp, ONEBY3P56); // q19 * q31 - (DFRACT_BITS-1) = q19 in fixp_atan() 301 error = fMult(sine, residual); in fixp_cos() 311 error = fMult(cosine, residual); in fixp_sin() 321 error0 = fMult(sine, residual); in fixp_cos_sin() 322 error1 = fMult(cosine, residual); in fixp_cos_sin()
|
D | fixpoint_math.cpp | 491 product = fMult(f1, f2); in fMultNorm() 633 p = fMult(p, frac_part); in f2Pow() 678 ans_lg2 = fMult(base_lg2, exp_m); in fPow() 707 ans_lg2 = fMult(baseLd_m, exp_m); in fLdPow() 753 result = fMult(result, base_m); in fPowInt() 814 px2_m = fMult(px2_m, x2_m); in fLog2()
|
/external/aac/libSBRenc/src/ |
D | resampler.cpp | 405 state0 = input + fMult(state1, coeff[B1]) + fMult(state2, coeff[B2]); in AdvanceFilter() 406 y = state0 - fMult(state1b, coeff[A1]) - fMult(state2b, coeff[A2]); in AdvanceFilter() 426 y = fMult(y, downFilter->gain); in AdvanceFilter() 440 state0 = input - fMult(state1, coeff[A1]) - fMult(state2, coeff[A2]); in AdvanceFilter() 441 y = state0 + fMult(state1, coeff[B1]) + fMult(state2, coeff[B2]); in AdvanceFilter() 443 y = fMult(y, downFilter->gain); in AdvanceFilter()
|
D | tran_det.cpp | 131 pos_weight = /*FL2FXCONST_DBL(1.0)*/ (FIXP_DBL)MAXVAL_DBL - (fMult(pos_weight, pos_weight)<<2); in spectralChange() 157 delta = fixp_abs(fMult(tmp2, FL2FXCONST_DBL(0.6931471806f))); in spectralChange() 166 delta_sum += (FIXP_DBL)(fMult(sqrtFixp(result), delta)); in spectralChange() 169 return fMult(delta_sum, pos_weight); in spectralChange() 409 accu0 += fMult(Energies[j][i], i_noCols); in calculateThresholds() 411 accu1 += fMult(Energies[j][i], i_noCols); in calculateThresholds() 423 temp = fMult(temp, i_noCols1); in calculateThresholds() 429 temp = fMult(temp, i_noCols1); in calculateThresholds() 440 …? fMult(FL2FXCONST_DBL(0.66f), thresholds[i]) + (fMult(FL2FXCONST_DBL(0.34f), std_val) >> commonSc… in calculateThresholds() 542 tran += fMult(i_thres, delta); in extractTransientCandidates() [all …]
|
D | invf_est.cpp | 223 quotaVecOrig[i] += fMult(quotaMatrixOrig[j][i], invIndex); in calculateDetectorValues() 226 quotaVecSbr[i] += fMult(quotaMatrixOrig[j][indexVector[i]], invIndex); in calculateDetectorValues() 228 detectorValues->avgNrg += fMult(nrgVector[j], invIndex); in calculateDetectorValues() 289 detectorValues->origQuotaMeanFilt += fMult(detectorValues->origQuotaMean[i], filter[i]); in calculateDetectorValues() 290 detectorValues->sbrQuotaMeanFilt += fMult(detectorValues->sbrQuotaMean[i], filter[i]); in calculateDetectorValues() 291 …detectorValues->origQuotaMeanStrongestFilt += fMult(detectorValues->origQuotaMeanStrongest[i], fil… in calculateDetectorValues() 292 …detectorValues->sbrQuotaMeanStrongestFilt += fMult(detectorValues->sbrQuotaMeanStrongest[i], filt… in calculateDetectorValues()
|
D | nf_est.cpp | 216 meanOrig += fMult((accu<<1), invChannel); in qmfBasedNoiseFloorDetection() 223 meanSbr += fMult((accu<<1), invChannel); in qmfBasedNoiseFloorDetection() 250 fMult(RELAXATION_FRACT,fMult(weightFac,accu)) >>( RELAXATION_SHIFT-scale ) ) ; in qmfBasedNoiseFloorDetection() 272 *noiseLevel = fMult(*noiseLevel, noiseFloorOffset)<<(NOISE_FLOOR_OFFSET_SCALING); in qmfBasedNoiseFloorDetection() 538 tmp = fMult((FIXP_DBL)(h_sbrNoiseFloorEstimate->noiseBands<<24), lg2); in FDKsbrEnc_resetSbrNoiseFloorEstimate()
|
D | ton_corr.cpp | 227 …r[0] = (fMultDiv2(ac->r01r, ac->det)>>(ac->det_scale+1)) + fMult(alphar[1], ac->r12r) + fMult(alph… in FDKsbrEnc_CalculateTonalityQuotas() 228 …i[0] = (fMultDiv2(ac->r01i, ac->det)>>(ac->det_scale+1)) + fMult(alphai[1], ac->r12r) - fMult(alph… in FDKsbrEnc_CalculateTonalityQuotas() 230 fac = fMultDiv2(ac->r00r, fMult(ac->det, ac->r11r))>>(ac->det_scale+1); in FDKsbrEnc_CalculateTonalityQuotas() 244 …Div2(alphai[0], ac->r01i) - fMultDiv2(alphar[1], fMult(ac->r02r, ac->r11r)) - fMultDiv2(alphai[1],… in FDKsbrEnc_CalculateTonalityQuotas() 250 num = fMult(num,RELAXATION_FRACT); in FDKsbrEnc_CalculateTonalityQuotas()
|
D | mh_det.cpp | 172 …pDiffMapped2Scfb[i] = scaleValue(fMult(tmp,RELAXATION_FRACT), fixMax(-(DFRACT_BITS-1),(scale-RELAX… in diff() 234 amOrig += fMult(sfmOrig, invBands); in calculateFlatnessMeasure() 235 amTransp += fMult(sfmTransp, invBands); in calculateFlatnessMeasure() 240 gmOrig = fMult(gmOrig, sfmOrig<<shiftFac0); in calculateFlatnessMeasure() 241 gmTransp = fMult(gmTransp, sfmTransp<<shiftFac1); in calculateFlatnessMeasure() 250 tmp1 = fMult(invBands, tmp1); /* y*CalcLd64(x)/64 */ in calculateFlatnessMeasure() 266 tmp1 = fMult(invBands, tmp1); /* y*CalcLd64(x)/64 */ in calculateFlatnessMeasure() 697 …? fixMax(fMult(mhThresh.decayGuideDiff,guideVectors.guideVectorDiff[i]), mhThresh.thresHoldDiffGui… in detection() 726 …thresOrig = fixMax(fMult(guideVectors.guideVectorOrig[i], mhThresh.decayGuideOrig), mhThresh.thres… in detection()
|
/external/aac/libSBRdec/src/ |
D | psdec.cpp | 674 …h_ps_d->specificTo.mpeg.aPeakDecayFastBin[bin] = fMult( h_ps_d->specificTo.mpeg.aPeakDecayFastBin[… in deCorrelateSlotBased() 687 …nrg = h_ps_d->specificTo.mpeg.aPrevNrgBin[bin] + fMult( INT_FILTER_COEFF, aaPowerSlot[bin] - h_ps_… in deCorrelateSlotBased() 696 nrg = fMult( nrg, TRANSIENT_IMPACT_FACTOR ); in deCorrelateSlotBased() 771 pAaaRealDelayRBufferSerSubQmf[tmpDelayRSer] = rR0 + fMult(aAllpassLinkDecaySer[m], rTmp); in deCorrelateSlotBased() 772 pAaaImagDelayRBufferSerSubQmf[tmpDelayRSer] = iR0 + fMult(aAllpassLinkDecaySer[m], iTmp); in deCorrelateSlotBased() 783 aaRightReal[sb] = fMult(transRatio, rR0); in deCorrelateSlotBased() 784 aaRightImag[sb] = fMult(transRatio, iR0); in deCorrelateSlotBased() 834 resR = fMult(decayScaleFactor, rR0); in deCorrelateSlotBased() 835 resI = fMult(decayScaleFactor, iR0); in deCorrelateSlotBased() 854 resR = fMult(decayScaleFactor, rTmp); in deCorrelateSlotBased() [all …]
|
D | sbrdec_drc.cpp | 369 …drcFact_mag = fMult(alphaValue, drcFact2_mag) + fMult(((FIXP_DBL)MAXVAL_DBL - alphaValue), drcFact… in sbrDecoder_drcApplySlot() 373 qmfRealSlot[bin] = fMult(qmfRealSlot[bin], drcFact_mag); in sbrDecoder_drcApplySlot() 375 qmfImagSlot[bin] = fMult(qmfImagSlot[bin], drcFact_mag); in sbrDecoder_drcApplySlot() 451 qmfRealSlot[bin] = fMult(qmfRealSlot[bin], drcFact_mag); in sbrDecoder_drcApplySlot() 453 qmfImagSlot[bin] = fMult(qmfImagSlot[bin], drcFact_mag); in sbrDecoder_drcApplySlot()
|
D | env_calc.cpp | 359 tmp = fMult(tmp,nrgGain[k]); in aliasingReduction() 381 FDK_add_MantExp( fMult(alpha,groupGain), groupGain_e, in aliasingReduction() 382 … fMult(/*FL2FXCONST_DBL(1.0f)*/ (FIXP_DBL)MAXVAL_DBL - alpha,nrgGain[k]), nrgGain_e[k], in aliasingReduction() 386 tmp = fMult(nrgGain[k],nrgEst[k]); in aliasingReduction() 402 nrgGain[k] = fMult(nrgGain[k],compensation); in aliasingReduction() 737 maxGain = fMult(maxGain, FDK_sbrDecoder_sbr_limGains_m[hHeaderData->bs_data.limiterGains]); in calculateSbrEnvelope() 764 pNrgs->noiseLevel[k] = fMult(pNrgs->noiseLevel[k],noiseAmp); in calculateSbrEnvelope() 780 FIXP_DBL tmp = fMult(pNrgs->nrgGain[k],pNrgs->nrgEst[k]); in calculateSbrEnvelope() 1432 *nrgEst++ = fMult(sum, invWidth); in calcNrgPerSubband() 1553 sum = fMult(sum,invWidth); in calcNrgPerSfb() [all …]
|
/external/aac/libPCMutils/src/ |
D | pcmutils_lib.cpp | 894 …(INT_PCM)SATURATE_RIGHT_SHIFT(fMult((FIXP_PCM)*pInLF, flev), DFRACT_BITS-SAMPLE_BITS, SAMPLE_BITS); in pcmDmx_ApplyFrame() 904 …(INT_PCM)SATURATE_RIGHT_SHIFT(fMult((FIXP_PCM)*pInRF, flev), DFRACT_BITS-SAMPLE_BITS, SAMPLE_BITS); in pcmDmx_ApplyFrame() 952 slev = FX_DBL2FX_SGL(fMult(flev, slev)); /* 0.707*slef */ in pcmDmx_ApplyFrame() 1026 clev = FX_DBL2FX_SGL(fMult(mtrxMixDwnPreFact, flev /* 0.707 */)); in pcmDmx_ApplyFrame() 1028 slev = FX_DBL2FX_SGL(fMult(mtrxMixDwnPreFact, mtrxMixDwnCoef)); in pcmDmx_ApplyFrame() 1178 …(INT_PCM)SATURATE_RIGHT_SHIFT(fMult((FIXP_PCM)*pInLF, flev), DFRACT_BITS-SAMPLE_BITS, SAMPLE_BITS); in pcmDmx_ApplyFrame() 1187 …(INT_PCM)SATURATE_RIGHT_SHIFT(fMult((FIXP_PCM)*pInRF, flev), DFRACT_BITS-SAMPLE_BITS, SAMPLE_BITS); in pcmDmx_ApplyFrame()
|