/external/aac/libAACenc/src/ |
D | psy_configuration.cpp | 484 …barcFactor = fDivNorm(fixMin(FDKaacEnc_BarcLineValue(numLines, sfbOffset[sfbActive], samplerate), … in FDKaacEnc_initMinSnr() 489 pePerWindow = fDivNorm(bitrate, samplerate, &qperwin); in FDKaacEnc_initMinSnr() 516 …pePart_const = fDivNorm(pePerWindow, barcFactor, &qdiv); qpeprt_const = qperwin - qbfac + DFR… in FDKaacEnc_initMinSnr() 528 pePart = fDivNorm(pePart, sfbWidth, &qdiv); qpeprt += DFRACT_BITS-1-qdiv; in FDKaacEnc_initMinSnr() 553 snr = fDivNorm(one_qsnr, snr, &qsnr); in FDKaacEnc_initMinSnr()
|
D | intensity.cpp | 314 …invOverallLoudness = fDivNorm((FIXP_DBL)MAXVAL_DBL, overallLoudness[grpCounter],&invOverallLoudnes… in FDKaacEnc_prepareIntensityDecision() 382 channelCorr[sfb + sfboffs] = -(fDivNorm(-prod_lr,tmp,&channelCorrSF)); in FDKaacEnc_prepareIntensityDecision() 386 channelCorr[sfb + sfboffs] = (fDivNorm( prod_lr,tmp,&channelCorrSF)); in FDKaacEnc_prepareIntensityDecision() 683 tmp = fDivNorm(sfbEnergyLeft[sfb+sfboffs],ed,&s1); in FDKaacEnc_IntensityStereoProcessing() 717 tmp = fDivNorm(sfbEnergyLeft[sfb+sfboffs],es,&s1); in FDKaacEnc_IntensityStereoProcessing()
|
D | adj_thr.cpp | 708 …adjThrStateElement->chaosMeasureEnFac[ch] = FDKmax( FL2FXCONST_DBL(0.1875f), fDivNorm(nLinesSum,ps… in FDKaacEnc_calcWeighting() 1657 value = fDivNorm( num, denum, scaling); in CalcRedValPower() 1660 value = -fDivNorm( -num, denum, scaling); in CalcRedValPower() 1835 FIXP_DBL tmp = fDivNorm((FIXP_DBL)redPeGlobal, (FIXP_DBL)desiredPe, &redVal_scale); in FDKaacEnc_adaptThresholdsToPe() 2081 … peMax_fix = (INT)(currPe + fMultI(fDivNorm(partHi_fix, (partLo_fix+partHi_fix)), minDiff_fix)); in FDKaacEnc_adjustPeMinMax() 2082 … peMin_fix = (INT)(currPe - fMultI(fDivNorm(partLo_fix, (partLo_fix+partHi_fix)), minDiff_fix)); in FDKaacEnc_adjustPeMinMax() 2141 fillLevel_fix = fDivNorm(bitresBits, maxBitresBits); in FDKaacEnc_bitresCalcBitFac() 2168 …pe_pers = (pex > adjThrChan->peMin) ? fDivNorm(pex - adjThrChan->peMin, adjThrChan->peMax - adjThr… in FDKaacEnc_bitresCalcBitFac() 2173 bits_ratio = fDivNorm(bitresBits, avgBits, &qbr); in FDKaacEnc_bitresCalcBitFac() 2383 FIXP_DBL newFac = fDivNorm((FIXP_DBL)peLast, denum, &scaling); in FDKaacEnc_FDKaacEnc_calcPeCorrection() [all …]
|
D | bandwidth.cpp | 269 FIXP_DBL bwFac_fix = fDivNorm(chanBitRate-startBr, endBr-startBr, &q_res); in GetBandwidthEntry()
|
D | aacenc.cpp | 530 FIXP_DBL tmp = fDivNorm(config->framelength, config->sampleRate, &q_res); in FDKaacEnc_Initialize() 630 …bw_ratio = fDivNorm((FIXP_DBL)(10*config->framelength*hAacEnc->bandwidth90dB), (FIXP_DBL)(config->… in FDKaacEnc_Initialize() 634 …mbfac = fDivNorm((MIN_BUFSIZE_PER_EFF_CHAN-744)*cm->nChannelsEff, qcInit.averageBits/qcInit.nSubFr… in FDKaacEnc_Initialize()
|
D | aacenc_lib.cpp | 704 …adjustedBitrate = fMax(initialBitrate, (INT)fDivNorm((FIXP_DBL)(sbrBitRateOut+8), cm.elInfo[e].rel… in aacEncoder_LimitBitrate() 709 …adjustedBitrate = fMin(initialBitrate, (INT)fDivNorm((FIXP_DBL)(sbrBitRateOut-8), cm.elInfo[e].rel… in aacEncoder_LimitBitrate() 822 …FIXP_DBL slope = fDivNorm((brPerChannel-BITRATE_MIN_LD), BITRATE_MAX_LD-BITRATE_MIN_LD); /* calc… in FDKaacEnc_AdjustEncSettings()
|
D | metadata_compressor.cpp | 406 f = fDivNorm(sampleRateFract, blockLengthFract, &e_res); in tc2Coeff() 414 exponent = fDivNorm(METADATA_FRACT_SCALE, product, &e_res); in tc2Coeff()
|
D | aacenc_tns.cpp | 1075 …gaussExp_m = fMultNorm(timeResolution, fMult(PI_M, fDivNorm( (FIXP_DBL)(samplingRate), (FIXP_DBL)(… in FDKaacEnc_CalcGaussWindow() 1150 …tmp = fMult((FIXP_DBL)((LONG)TNS_PREDGAIN_SCALE<<21), fDivNorm(fAbs(autoCorr_0), fAbs(input[0]), &… in FDKaacEnc_AutoToParcor()
|
/external/aac/libSBRenc/src/ |
D | nf_est.cpp | 247 accu = fDivNorm(meanSbr, meanOrig, &scale); in qmfBasedNoiseFloorDetection() 258 accu = fDivNorm(diff, meanOrig, &scale); in qmfBasedNoiseFloorDetection() 495 exp = fDivNorm((FIXP_DBL)noiseFloorOffset, 3, &qexp); in FDKsbrEnc_InitSbrNoiseFloorEstimate() 539 ratio = fDivNorm(k2, kx, &ratio_e); in FDKsbrEnc_resetSbrNoiseFloorEstimate()
|
D | sbrenc_freq_sca.cpp | 569 base = fDivNorm((FIXP_DBL)stop, (FIXP_DBL)start, &qb); in CalcBands() 570 exp = fDivNorm((FIXP_DBL)i, (FIXP_DBL)num_bands, &qe); in CalcBands()
|
D | tran_det.cpp | 752 … bitrateFactor_m = fDivNorm((FIXP_DBL)totalBitrate, (FIXP_DBL)(codecBitrate<<2),&bitrateFactor_e); in FDKsbrEnc_InitSbrTransientDetector() 760 framedur_fix = fDivNorm(frameSize, sampleFreq); in FDKsbrEnc_InitSbrTransientDetector() 769 tmp = fDivNorm(FL2FXCONST_DBL(0.000075), fPow2(tmp), &tmp_e); in FDKsbrEnc_InitSbrTransientDetector() 998 delta_energy[timeSlot] = fDivNorm(energy_timeSlots[timeSlot], denominator, &norm); in FDKsbrEnc_fastTransientDetect()
|
D | mh_det.cpp | 171 tmp = fDivNorm(maxValOrig, maxValSbr, &scale); in diff()
|
D | env_est.cpp | 654 FIXP_DBL gain = fMult(fDivNorm(nrgSum, nrg, &sc), GetInvInt(M+1)); in nmhLoweringEnergy()
|
/external/aac/libFDK/src/ |
D | fixpoint_math.cpp | 541 FIXP_DBL fDivNorm(FIXP_DBL L_num, FIXP_DBL L_denum, INT *result_e) in fDivNorm() function 571 FIXP_DBL fDivNorm(FIXP_DBL num, FIXP_DBL denom) in fDivNorm() function 578 res = fDivNorm(num, denom, &e); in fDivNorm() 801 result = fDivNorm( FL2FXCONST_DBL(0.5f), result, &result_e ); in fPowInt()
|
D | FDK_trigFcts.cpp | 264 result = fDivNorm(x, temp, &res_e); in fixp_atan() 281 result = fDivNorm(x, temp, &res_e); in fixp_atan()
|
/external/aac/libSBRdec/src/ |
D | lpp_tran.cpp | 425 FIXP_DBL result = fDivNorm(absTmp, absDet, &scale); in lppTransposer() 451 FIXP_DBL result = fDivNorm(absTmp, absDet, &scale); in lppTransposer() 498 FIXP_DBL result = fDivNorm(absTmp, fixp_abs(ac.r11r), &scale); in lppTransposer() 520 FIXP_DBL result = fDivNorm(absTmp, fixp_abs(ac.r11r), &scale); in lppTransposer() 566 FIXP_DBL result = fDivNorm(fixp_abs(ac.r01r), fixp_abs(ac.r11r), &scale); in lppTransposer()
|
D | env_calc.cpp | 811 boostGain = fDivNorm(sumRef, accu, &div_e); in calculateSbrEnvelope() 2247 div_m = fDivNorm(k2, kx, &div_e); in ResetLimiterBands()
|
/external/aac/libFDK/include/ |
D | fixpoint_math.h | 317 FIXP_DBL fDivNorm(FIXP_DBL num, FIXP_DBL denom, INT *result_e); 326 FIXP_DBL fDivNorm(FIXP_DBL num, FIXP_DBL denom);
|
/external/aac/libPCMutils/src/ |
D | limiter.cpp | 317 gain = fDivNorm(threshold, max)>>1; in applyLimiter()
|