Home
last modified time | relevance | path

Searched refs:FDKmax (Results 1 – 11 of 11) 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/
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()
Daacenc.cpp152 …bitRate = FDKmax(bitRate, ((((40 * nChannels) + transportBits) * (coreSamplingRate)) / frameLength… in FDKaacEnc_LimitBitrate()
495 …config->maxAncBytesPerAU = FDKmin( (256), FDKmax(0,(INT)(fMultDiv2(tmp, (FIXP_DBL)(encBitrate<<sc)… in FDKaacEnc_Initialize()
Dadj_thr.cpp682 …adjThrStateElement->chaosMeasureEnFac[ch] = FDKmax( FL2FXCONST_DBL(0.1875f), fDivNorm(nLinesSum,ps… in FDKaacEnc_calcWeighting()
1767 desiredPeNoAHGlobal = FDKmax(0,desiredPeNoAHGlobal); in FDKaacEnc_adaptThresholdsToPe()
2433 diff = (scaling<=0) ? FDKmax( FDKmin (diff>>(-scaling), maxDiff>>1), -maxDiff>>1) in FDKaacEnc_calcPeCorrectionLowBitRes()
2434 … : FDKmax( FDKmin (diff, maxDiff>>(1+scaling)), -maxDiff>>(1+scaling)) << scaling; in FDKaacEnc_calcPeCorrectionLowBitRes()
2440 …*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.cpp1394 diffFillBits = FDKmax(0, bitsToBitres - bitresSpace); in FDKaacEnc_FinalizeBitConsumption()
Daacenc_lib.cpp674 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/libPCMutils/src/
Dpcmutils_lib.cpp1385 maxScale = FDKmax(maxScale+chSumMax, 0); in getMixFactors()