Home
last modified time | relevance | path

Searched refs:FDKmin (Results 1 – 17 of 17) sorted by relevance

/external/aac/libAACdec/src/
Drvlcconceal.cpp453 …commonMin = FDKmin(pAacDecoderChannelInfo->pComData->overlay.aac.aRvlcScfFwd[bnds],pAacDecoderChan… in BidirectionalEstimation_UseScfOfPrevFrameAsReference()
454 …pAacDecoderChannelInfo->pDynData->aScaleFactor[bnds] = FDKmin(commonMin, pAacDecoderStaticChannelI… in BidirectionalEstimation_UseScfOfPrevFrameAsReference()
457 …pAacDecoderChannelInfo->pDynData->aScaleFactor[bnds] = FDKmin(pAacDecoderChannelInfo->pComData->ov… in BidirectionalEstimation_UseScfOfPrevFrameAsReference()
463 …commonMin = FDKmin(pAacDecoderChannelInfo->pComData->overlay.aac.aRvlcScfFwd[bnds],pAacDecoderChan… in BidirectionalEstimation_UseScfOfPrevFrameAsReference()
464 …pAacDecoderChannelInfo->pDynData->aScaleFactor[bnds] = FDKmin(commonMin, pAacDecoderStaticChannelI… in BidirectionalEstimation_UseScfOfPrevFrameAsReference()
466 …pAacDecoderChannelInfo->pDynData->aScaleFactor[bnds] = FDKmin(pAacDecoderChannelInfo->pComData->ov… in BidirectionalEstimation_UseScfOfPrevFrameAsReference()
476 …commonMin = FDKmin(pAacDecoderChannelInfo->pComData->overlay.aac.aRvlcScfFwd[bnds], pAacDecoderCha… in BidirectionalEstimation_UseScfOfPrevFrameAsReference()
477 …pAacDecoderChannelInfo->pDynData->aScaleFactor[bnds] = FDKmin(commonMin, pAacDecoderStaticChannelI… in BidirectionalEstimation_UseScfOfPrevFrameAsReference()
479 …pAacDecoderChannelInfo->pDynData->aScaleFactor[bnds] = FDKmin(pAacDecoderChannelInfo->pComData->ov… in BidirectionalEstimation_UseScfOfPrevFrameAsReference()
663 …commonMin = FDKmin(pAacDecoderChannelInfo->pComData->overlay.aac.aRvlcScfFwd[bnds],pAacDecoderChan… in PredictiveInterpolation()
[all …]
Daacdec_hcr.cpp862 segmentWidth = FDKmin(pMaxCwLength[sortedCodebook],lengthOfLongestCodeword); in HcrPrepareSegmentationGrid()
961 …pMaxLenOfCbInExtSrtSec[xSrtScCnt] = FDKmin(pMaxCwLength[pExtendedSortedCoBo[xSrtScCnt]],lengthOfLo… in HcrExtendedSectionInfo()
Drvlc.cpp916 pRvlc->conceal_max = FDKmin(pRvlc->conceal_max,pRvlc->conceal_max_esc); in rvlcFinalErrorDetection()
Daacdecoder.cpp910 …(self->elements, elementsTab[asc->m_channelConfiguration-1], sizeof(MP4_ELEMENT_ID)*FDKmin(7,(8))); in CAacDecoder_Init()
/external/aac/libAACenc/src/
Dbandwidth.cpp334 *bandWidth = FDKmin(proposedBandWidth, FDKmin(20000, sampleRate>>1)); in FDKaacEnc_DetermineBandWidth()
376 *bandWidth = FDKmin(*bandWidth, sampleRate/2); in FDKaacEnc_DetermineBandWidth()
Daacenc_tns.cpp385 tC->lpcStopBand = FDKmin(tC->lpcStopBand, pC->sfbActive); in FDKaacEnc_InitTnsConfiguration()
422 …FDKmemcpy(tC->acfWindow[HIFILT], acfWindowShort, FDKmin(sizeof(acfWindowShort), sizeof(tC->acfWind… in FDKaacEnc_InitTnsConfiguration()
423 …FDKmemcpy(tC->acfWindow[LOFILT], acfWindowShort, FDKmin(sizeof(acfWindowShort), sizeof(tC->acfWind… in FDKaacEnc_InitTnsConfiguration()
426 …FDKmemcpy(tC->acfWindow[HIFILT], acfWindowLong, FDKmin(sizeof(acfWindowLong), sizeof(tC->acfWindow… in FDKaacEnc_InitTnsConfiguration()
427 …FDKmemcpy(tC->acfWindow[LOFILT], acfWindowLong, FDKmin(sizeof(acfWindowLong), sizeof(tC->acfWindow… in FDKaacEnc_InitTnsConfiguration()
Daacenc.cpp188 …bitRate = FDKmin(bitRate, ((nChannelsEff * MIN_BUFSIZE_PER_EFF_CHAN)*(coreSamplingRate>>shift)) / … in FDKaacEnc_LimitBitrate()
533 …config->maxAncBytesPerAU = FDKmin( (256), FDKmax(0,(INT)(fMultDiv2(tmp, (FIXP_DBL)(encBitrate<<sc)… in FDKaacEnc_Initialize()
613 …qcInit.bitRes = (config->bitreservoir!=-1) ? FDKmin(config->bitreservoir, maxBitres) : ma… in FDKaacEnc_Initialize()
Dqc_main.cpp669 *totalAvailableBits = FDKmin(hQC->maxBitsPerFrame, (*totalAvailableBits)); in FDKaacEnc_prepareBitDistribution()
763 int totalBitreservoir = FDKmin(hQC->bitResTot, (hQC->maxBitsPerFrame-avgTotalBits)); in FDKaacEnc_BitResRedistribution()
764 int totalBitreservoirMax = FDKmin(hQC->bitResTotMax, (hQC->maxBitsPerFrame-avgTotalBits)); in FDKaacEnc_BitResRedistribution()
1342 qcKernel->bitResTot = FDKmin(qcKernel->maxBitsPerFrame, qcKernel->bitResTotMax); in FDKaacEnc_updateBitres()
Dmetadata_main.cpp261 return ((UCHAR)FDKmax(0, FDKmin((-d + (1<<13)) >> 14, 127))); in dialnorm2progreflvl()
292 gain = FDKmin(gain,(127<<14)); in encodeDynrng()
Dadj_thr.cpp1289 thrFactorLdData = FDKmin(tmp, FL2FXCONST_DBL(20.f/LD_DATA_SCALING)); in FDKaacEnc_correctThresh()
1744 int scalMin = FDKmin(scale0, scale1)-1; in FDKaacEnc_adaptThresholdsToPe()
1810 int scalMin = FDKmin(scale0, scale1)-1; 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()
Daacenc_lib.cpp644 bitRate = FDKmin(360000*nChannels, bitRate); in aacEncoder_LimitBitrate()
649 bitRate = FDKmin(576000*nChannels, bitRate); in aacEncoder_LimitBitrate()
/external/aac/libMpegTPEnc/src/
Dtpenc_lib.cpp378 bufferFullness = FDKmin(0x7FF, bufferFullness); /* Signal variable rate */ in transportEnc_WriteAccessUnit()
391 bufferFullness = FDKmin(0xFF, bufferFullness); /* Signal variable rate */ in transportEnc_WriteAccessUnit()
/external/aac/libSBRenc/src/
Dtran_det.cpp145 energies_e = 19 - FDKmin(scaleEnergies[0], scaleEnergies[1]); in spectralChange()
159 …prevEnergies_e_diff = scaleEnergies[0] - FDKmin(scaleEnergies[0], scaleEnergies[1]) + energies_e_a… in spectralChange()
160 …newEnergies_e_diff = scaleEnergies[1] - FDKmin(scaleEnergies[0], scaleEnergies[1]) + energies_e_a… in spectralChange()
Dps_main.cpp444 *qmfScale = FDKmin(*qmfScale, hParametricStereo->qmfDelayScale); in DownmixPSQmfData()
/external/aac/libSYS/include/
DgenericStds.h358 #define FDKmin(a,b) ( (a) < (b) ? (a):(b)) macro
/external/aac/libSBRdec/src/
Dsbrdecoder.cpp848 elChannels = FDKmin(elChannels, pSbrElement->nChannels); in sbrDecoder_drcGetChannel()
/external/aac/libPCMutils/src/
Dpcmutils_lib.cpp2070 bypScale = FDKmin(dmxMaxScale, dmxScale); in pcmDmx_ApplyFrame()