/external/aac/libAACdec/src/ |
D | rvlcconceal.cpp | 453 …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 …]
|
D | aacdec_hcr.cpp | 862 segmentWidth = FDKmin(pMaxCwLength[sortedCodebook],lengthOfLongestCodeword); in HcrPrepareSegmentationGrid() 961 …pMaxLenOfCbInExtSrtSec[xSrtScCnt] = FDKmin(pMaxCwLength[pExtendedSortedCoBo[xSrtScCnt]],lengthOfLo… in HcrExtendedSectionInfo()
|
D | rvlc.cpp | 916 pRvlc->conceal_max = FDKmin(pRvlc->conceal_max,pRvlc->conceal_max_esc); in rvlcFinalErrorDetection()
|
D | aacdecoder.cpp | 910 …(self->elements, elementsTab[asc->m_channelConfiguration-1], sizeof(MP4_ELEMENT_ID)*FDKmin(7,(8))); in CAacDecoder_Init()
|
/external/aac/libAACenc/src/ |
D | bandwidth.cpp | 334 *bandWidth = FDKmin(proposedBandWidth, FDKmin(20000, sampleRate>>1)); in FDKaacEnc_DetermineBandWidth() 376 *bandWidth = FDKmin(*bandWidth, sampleRate/2); in FDKaacEnc_DetermineBandWidth()
|
D | aacenc_tns.cpp | 385 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()
|
D | aacenc.cpp | 188 …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()
|
D | qc_main.cpp | 669 *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()
|
D | metadata_main.cpp | 261 return ((UCHAR)FDKmax(0, FDKmin((-d + (1<<13)) >> 14, 127))); in dialnorm2progreflvl() 292 gain = FDKmin(gain,(127<<14)); in encodeDynrng()
|
D | adj_thr.cpp | 1289 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()
|
D | aacenc_lib.cpp | 644 bitRate = FDKmin(360000*nChannels, bitRate); in aacEncoder_LimitBitrate() 649 bitRate = FDKmin(576000*nChannels, bitRate); in aacEncoder_LimitBitrate()
|
/external/aac/libMpegTPEnc/src/ |
D | tpenc_lib.cpp | 378 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/ |
D | tran_det.cpp | 145 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()
|
D | ps_main.cpp | 444 *qmfScale = FDKmin(*qmfScale, hParametricStereo->qmfDelayScale); in DownmixPSQmfData()
|
/external/aac/libSYS/include/ |
D | genericStds.h | 358 #define FDKmin(a,b) ( (a) < (b) ? (a):(b)) macro
|
/external/aac/libSBRdec/src/ |
D | sbrdecoder.cpp | 848 elChannels = FDKmin(elChannels, pSbrElement->nChannels); in sbrDecoder_drcGetChannel()
|
/external/aac/libPCMutils/src/ |
D | pcmutils_lib.cpp | 2068 bypScale = FDKmin(dmxMaxScale, dmxScale); in pcmDmx_ApplyFrame()
|