Home
last modified time | relevance | path

Searched refs:FDKmax (Results 1 – 13 of 13) sorted by relevance

/external/aac/libAACdec/src/
Drvlc.cpp683 pRvlc->conceal_min = FDKmax(0,bnds-offset); in rvlcDecodeBackward()
690 pRvlc->conceal_min = FDKmax(0,bnds-offset); in rvlcDecodeBackward()
702 pRvlc->conceal_min_esc = FDKmax(0,bnds-offset); in rvlcDecodeBackward()
720 pRvlc->conceal_min = FDKmax(0,bnds-offset); in rvlcDecodeBackward()
727 pRvlc->conceal_min = FDKmax(0,bnds-offset); in rvlcDecodeBackward()
739 pRvlc->conceal_min_esc = FDKmax(0,bnds-offset); in rvlcDecodeBackward()
753 pRvlc->conceal_min = FDKmax(0,bnds-offset); in rvlcDecodeBackward()
760 pRvlc->conceal_min = FDKmax(0,bnds-offset); in rvlcDecodeBackward()
772 pRvlc->conceal_min_esc = FDKmax(0,bnds-offset); in rvlcDecodeBackward()
913 pRvlc->conceal_min = FDKmax(0, (pRvlc->numWindowGroups-1)*16+pRvlc->maxSfbTransmitted-1); in rvlcFinalErrorDetection()
[all …]
Daacdec_drc.cpp898 top = FDKmax(0, numBands-1); in aacDecoder_drcApply()
/external/aac/libAACenc/src/
Dpsy_configuration.cpp637 psyConf->sfbActive = FDKmax(sfb, 1); in FDKaacEnc_InitPsyConfiguration()
644 psyConf->sfbActive = FDKmax(psyConf->sfbActive, psyConf->sfbActiveLFE); in FDKaacEnc_InitPsyConfiguration()
Daacenc.cpp185 …bitRate = FDKmax(bitRate, ((((40 * nChannels) + transportBits) * (coreSamplingRate)) / frameLength… in FDKaacEnc_LimitBitrate()
533 …config->maxAncBytesPerAU = FDKmin( (256), FDKmax(0,(INT)(fMultDiv2(tmp, (FIXP_DBL)(encBitrate<<sc)… in FDKaacEnc_Initialize()
631 qcInit.meanPe = FDKmax((INT)scaleValue(bw_ratio, qbw+1-(DFRACT_BITS-1)), 1); in FDKaacEnc_Initialize()
Dchannel_map.cpp432 int maxLfeBits = (int) FDKmax ( (INT)((fMult(lfeRate,(FIXP_DBL)(maxChannelBits<<sc))>>sc)<<1), in FDKaacEnc_InitElementBits()
467 int maxLfeBits = (int) FDKmax ( (INT)((fMult(lfeRate,(FIXP_DBL)(maxChannelBits<<sc))>>sc)<<1), in FDKaacEnc_InitElementBits()
Dmetadata_compressor.cpp764 ldLevel = FDKmax(ldLevel, FL2FXCONST_DBL(-0.51905126482615036685473741085772f)); in FDK_DRC_Generator_Calc()
884 maxSample = FDKmax(maxSample, fAbs(pSamples[c])); in FDK_DRC_Generator_Calc()
975 ld_peak = FDKmax(ld_peak, FL2FXCONST_DBL(-0.31143075889569022011284244651463f)); in FDK_DRC_Generator_Calc()
Dadj_thr.cpp708 …adjThrStateElement->chaosMeasureEnFac[ch] = FDKmax( FL2FXCONST_DBL(0.1875f), fDivNorm(nLinesSum,ps… in FDKaacEnc_calcWeighting()
1794 desiredPeNoAHGlobal = FDKmax(0,desiredPeNoAHGlobal); in FDKaacEnc_adaptThresholdsToPe()
2466 diff = (scaling<=0) ? FDKmax( FDKmin (diff>>(-scaling), maxDiff>>1), -maxDiff>>1) in FDKaacEnc_calcPeCorrectionLowBitRes()
2467 … : FDKmax( FDKmin (diff, maxDiff>>(1+scaling)), -maxDiff>>(1+scaling)) << scaling; in FDKaacEnc_calcPeCorrectionLowBitRes()
2473 …*correctionFac_m = FDKmax(FDKmin((*correctionFac_m)+diff, FL2FXCONST_DBL(1.0f/2.f)), FL2FXCONST_DB… in FDKaacEnc_calcPeCorrectionLowBitRes()
Dmetadata_main.cpp261 return ((UCHAR)FDKmax(0, FDKmin((-d + (1<<13)) >> 14, 127))); in dialnorm2progreflvl()
Dqc_main.cpp1397 diffFillBits = FDKmax(0, bitsToBitres - bitresSpace); in FDKaacEnc_FinalizeBitConsumption()
Daacenc_lib.cpp645 bitRate = FDKmax(8000*nChannels, bitRate); in aacEncoder_LimitBitrate()
/external/aac/libSYS/include/
DgenericStds.h357 #define FDKmax(a,b) ( (a) > (b) ? (a):(b)) macro
/external/aac/libSBRdec/src/
Denv_dec.cpp372 int currentStartPos = FDKmax(0, h_prev_data->stopPos - hHeaderData->numberTimeSlots); in leanSbrConcealment()
/external/aac/libPCMutils/src/
Dpcmutils_lib.cpp1387 maxScale = FDKmax(maxScale+chSumMax, 0); in getMixFactors()