Home
last modified time | relevance | path

Searched refs:WEBRTC_SPL_MIN (Results 1 – 21 of 21) sorted by relevance

/external/webrtc/webrtc/modules/audio_coding/codecs/ilbc/
Dcb_update_best_index.c43 shOld=WEBRTC_SPL_MIN(31,CritNewSh-(*shTotMax)); in WebRtcIlbcfix_CbUpdateBestIndex()
47 shNew=WEBRTC_SPL_MIN(31,(*shTotMax)-CritNewSh); in WebRtcIlbcfix_CbUpdateBestIndex()
65 scaleTmp = WEBRTC_SPL_MIN(31, scaleTmp); in WebRtcIlbcfix_CbUpdateBestIndex()
Ddo_plc.c90 corrLen = (size_t)WEBRTC_SPL_MIN(60, iLBCdec_inst->blockl-(inlag+3)); in WebRtcIlbcfix_DoThePlc()
123 tmp1 = WEBRTC_SPL_MIN(31, (shiftMax<<1)+shift3-(shift1<<1)-shift2); in WebRtcIlbcfix_DoThePlc()
127 tmp2 = WEBRTC_SPL_MIN(31, (shift1<<1)+shift2-(shiftMax<<1)-shift3); in WebRtcIlbcfix_DoThePlc()
219 pitchfact = (int16_t)WEBRTC_SPL_MIN(tmpW32, 32767); /* guard against overflow */ in WebRtcIlbcfix_DoThePlc()
Denhancer_interface.c137 stop = WEBRTC_SPL_MIN(47, lagmax[i]) + 2; in WebRtcIlbcfix_EnhancerInterface()
162 sh = WEBRTC_SPL_MIN(31, totsh[ind]-totsh[i]); in WebRtcIlbcfix_EnhancerInterface()
167 sh = WEBRTC_SPL_MIN(31, totsh[i]-totsh[ind]); in WebRtcIlbcfix_EnhancerInterface()
Dencode.c298 for (subframe = 0; subframe < WEBRTC_SPL_MIN (Nfor, 2); subframe++) in WebRtcIlbcfix_EncodeImpl()
320 end_count = WEBRTC_SPL_MIN (Nfor, (size_t)2); in WebRtcIlbcfix_EncodeImpl()
324 start_count = WEBRTC_SPL_MIN (Nfor, (size_t)2); in WebRtcIlbcfix_EncodeImpl()
Dgain_quant.c98 loc=WEBRTC_SPL_MIN(loc, (cblen-1)); in WebRtcIlbcfix_GainQuant()
Dcb_search_core.c98 tmp16 = WEBRTC_SPL_MIN(16, max-(*inverseEnergyShiftPtr)); in WebRtcIlbcfix_CbSearchCore()
Dxcorr_coef.c106 scalediff=WEBRTC_SPL_MIN(scalediff,31); in WebRtcIlbcfix_XcorrCoef()
Dcb_search.c248 WEBRTC_SPL_MIN(39, (eInd + 20)), scale); in WebRtcIlbcfix_CbSearch()
/external/webrtc/webrtc/modules/audio_processing/aecm/
Decho_control_mobile.c340 = WEBRTC_SPL_MIN((3 * aecm->sum in WebRtcAecm_Process()
349 aecm->bufSizeStart = WEBRTC_SPL_MIN((3 * aecm->msInSndCardBuf in WebRtcAecm_Process()
639 nSampAdd = WEBRTC_SPL_MIN(nSampAdd, maxStuffSamp); in WebRtcAecm_DelayComp()
/external/webrtc/webrtc/modules/audio_processing/ns/
Dnsx_core.c1113 minPause = WEBRTC_SPL_MIN(minPause, inst->avgMagnPause[i]); in WebRtcNsx_ComputeSpectralDifference()
1163 avgDiffNormMagnUFX -= WEBRTC_SPL_MIN(avgDiffNormMagnUFX, tmpU32no1); in WebRtcNsx_ComputeSpectralDifference()
1613 q_domain_to_use = WEBRTC_SPL_MIN((int)qNoise, inst->minNorm - inst->stages); in WebRtcNsx_ProcessCore()
1756 postLocSnr[i] = WEBRTC_SPL_MIN(satMax, tmpU32no1); // Q11 in WebRtcNsx_ProcessCore()
1770 tmpU32no1 = WEBRTC_SPL_MIN(satMax, tmpU32no1); // Q11 in WebRtcNsx_ProcessCore()
1825 inst->featureSpecDiff = WEBRTC_SPL_MIN(0x007FFFFF, in WebRtcNsx_ProcessCore()
1978 norm32no2 = WEBRTC_SPL_MIN(11, WebRtcSpl_NormU32(tmpU32no1)); in WebRtcNsx_ProcessCore()
1984 curNearSnr = WEBRTC_SPL_MIN(satMax, tmpU32no1); // Q11 in WebRtcNsx_ProcessCore()
2077 gainModHB = WEBRTC_SPL_MIN(avgProbSpeechHB, 3607); in WebRtcNsx_ProcessCore()
Dnsx_core_c.c150 normTmp = WEBRTC_SPL_MIN(20 - inst->stages, in WebRtcNsx_SpeechNoiseProb()
Dnsx_core_mips.c185 normTmp = WEBRTC_SPL_MIN(20 - inst->stages, in WebRtcNsx_SpeechNoiseProb()
/external/webrtc/webrtc/modules/audio_coding/codecs/isac/fix/source/
Dpitch_estimator.c291 npkq = WEBRTC_SPL_MIN(peaks_indq, 4); in WebRtcIsacfix_InitialPitch()
365 npkq = WEBRTC_SPL_MIN(peaks_indq, 4); in WebRtcIsacfix_InitialPitch()
/external/webrtc/webrtc/common_audio/signal_processing/
Dmin_max_operations.c76 maximum = WEBRTC_SPL_MIN(maximum, WEBRTC_SPL_WORD32_MAX); in WebRtcSpl_MaxAbsValueW32C()
Dmin_max_operations_neon.c119 maximum = WEBRTC_SPL_MIN(maximum, WEBRTC_SPL_WORD32_MAX); in WebRtcSpl_MaxAbsValueW32Neon()
Dsignal_processing_unittest.cc34 EXPECT_EQ(10, WEBRTC_SPL_MIN(A, B)); in TEST_F()
/external/webrtc/webrtc/modules/audio_processing/aec/
Decho_cancellation.c661 WEBRTC_SPL_MIN((3 * aecpc->sum * aecpc->rate_factor * 8) / in ProcessNormal()
671 aecpc->bufSizeStart = WEBRTC_SPL_MIN( in ProcessNormal()
Daec_core.c1127 hNl[i] = WEBRTC_SPL_MIN(cohde[i], 1 - cohxd[i]); in EchoSuppression()
1147 WEBRTC_SPL_MIN(aec->hNlFbLocalMin + 0.0008f / aec->mult, 1); in EchoSuppression()
1148 aec->hNlXdAvgMin = WEBRTC_SPL_MIN(aec->hNlXdAvgMin + 0.0006f / aec->mult, 1); in EchoSuppression()
/external/webrtc/webrtc/modules/audio_processing/agc/legacy/
Danalog_agc.c540 *inMicLevel = WEBRTC_SPL_MIN(*inMicLevel, stt->zeroCtrlMax); in WebRtcAgc_ZeroCtrl()
1131 *outMicLevel = WEBRTC_SPL_MIN(stt->micVol, stt->maxAnalog) >> stt->scale; in WebRtcAgc_ProcessAnalog()
/external/webrtc/webrtc/modules/audio_coding/codecs/isac/main/source/
Disac.c60 int16_t lim30MsPayloadBytes = WEBRTC_SPL_MIN( in UpdatePayloadSizeLimit()
63 int16_t lim60MsPayloadBytes = WEBRTC_SPL_MIN( in UpdatePayloadSizeLimit()
/external/webrtc/webrtc/common_audio/signal_processing/include/
Dsignal_processing_library.h30 #define WEBRTC_SPL_MIN(A, B) (A < B ? A : B) // Get min value macro