Home
last modified time | relevance | path

Searched refs:WEBRTC_SPL_MAX (Results 1 – 23 of 23) sorted by relevance

/external/webrtc/webrtc/modules/audio_coding/codecs/ilbc/
Dsmooth.c51 maxtot=WEBRTC_SPL_MAX(max1, max2); in WebRtcIlbcfix_Smooth()
55 scale=WEBRTC_SPL_MAX(0, scale); in WebRtcIlbcfix_Smooth()
136 endiff = WEBRTC_SPL_MAX(0, endiff); in WebRtcIlbcfix_Smooth()
Dframe_classify.c53 scale1 = WEBRTC_SPL_MAX(0, scale); in WebRtcIlbcfix_FrameClassify()
67 scale1 = WEBRTC_SPL_MAX(0, scale); in WebRtcIlbcfix_FrameClassify()
Dcb_search_core.c51 *cDotPtr=WEBRTC_SPL_MAX(0, (*cDotPtr)); in WebRtcIlbcfix_CbSearchCore()
78 max = WEBRTC_SPL_MAX((*inverseEnergyShiftPtr), max); in WebRtcIlbcfix_CbSearchCore()
Denhancer_interface.c124 shifts = WEBRTC_SPL_MAX(0, shifts); in WebRtcIlbcfix_EnhancerInterface()
136 start = WEBRTC_SPL_MAX(2, lagmax[i]) - 2; in WebRtcIlbcfix_EnhancerInterface()
257 max = WEBRTC_SPL_MAX(max, max16); in WebRtcIlbcfix_EnhancerInterface()
259 scale=WEBRTC_SPL_MAX(scale,0); in WebRtcIlbcfix_EnhancerInterface()
Dgain_dequant.c39 scale = WEBRTC_SPL_MAX(1638, scale); /* if lower than 0.1, set it to 0.1 */ in WebRtcIlbcfix_GainDequant()
Denergy_inverse.c36 (*energyPtr)=WEBRTC_SPL_MAX((*energyPtr),16384); in WebRtcIlbcfix_EnergyInverse()
Dcb_mem_energy_calc.c51 energy = WEBRTC_SPL_MAX(energy, 0); in WebRtcIlbcfix_CbMemEnergyCalc()
Dgain_quant.c40 scale = WEBRTC_SPL_MAX(1638, maxIn); in WebRtcIlbcfix_GainQuant()
Dstate_search.c53 scaleRes = WEBRTC_SPL_MAX(0, scaleRes); in WebRtcIlbcfix_StateSearch()
Dcb_search.c119 temp1 = WEBRTC_SPL_MAX(temp1, temp2); in WebRtcIlbcfix_CbSearch()
128 scale = WEBRTC_SPL_MAX(0, scale); in WebRtcIlbcfix_CbSearch()
Dxcorr_coef.c107 scalediff=WEBRTC_SPL_MAX(scalediff,-31); in WebRtcIlbcfix_XcorrCoef()
Dencode.c405 for (subframe = 0; subframe < WEBRTC_SPL_MAX (2 - Nfor, 0); subframe++) in WebRtcIlbcfix_EncodeImpl()
/external/webrtc/webrtc/modules/audio_processing/aec/
Decho_cancellation.c649 WEBRTC_SPL_MAX(0.2 * aecpc->msInSndCardBuf, sampMsNb)) { in ProcessNormal()
786 WEBRTC_SPL_MAX(0, self->knownDelay + delay_diff_offset); in ProcessExtended()
825 WEBRTC_SPL_MAX(0, (short)(0.8 * aecpc->filtDelay + 0.2 * current_delay)); in EstBufDelayNormal()
846 aecpc->knownDelay = WEBRTC_SPL_MAX((int)aecpc->filtDelay - 160, 0); in EstBufDelayNormal()
875 self->filtDelay = WEBRTC_SPL_MAX(0, 0.5 * current_delay); in EstBufDelayExtended()
877 self->filtDelay = WEBRTC_SPL_MAX( in EstBufDelayExtended()
900 self->knownDelay = WEBRTC_SPL_MAX((int)self->filtDelay - 256, 0); in EstBufDelayExtended()
Daec_core_mips.c266 tmp = sqrtf(WEBRTC_SPL_MAX(1 - lambda[PART_LEN] * lambda[PART_LEN], 0)); in WebRtcAec_ComfortNoise_mips()
296 tmpAvg += sqrtf(WEBRTC_SPL_MAX(1 - lambda[i] * lambda[i], 0)); in WebRtcAec_ComfortNoise_mips()
Daec_core.c354 ptrGCoh[1] * WEBRTC_SPL_MAX( in SmoothedPSD()
474 tmp = sqrtf(WEBRTC_SPL_MAX(1 - lambda[i] * lambda[i], 0)); in ComfortNoise()
502 tmpAvg += sqrtf(WEBRTC_SPL_MAX(1 - lambda[i] * lambda[i], 0)); in ComfortNoise()
1157 WEBRTC_SPL_MAX(kTargetSupp[aec->nlp_mode] / in EchoSuppression()
Daec_core_neon.c608 ptrGCoh[1] * WEBRTC_SPL_MAX( in SmoothedPSD()
Daec_core_sse2.c590 ptrGCoh[1] * WEBRTC_SPL_MAX( in SmoothedPSD()
/external/webrtc/webrtc/modules/audio_processing/aecm/
Decho_control_mobile.c326 < WEBRTC_SPL_MAX(0.2 * aecm->msInSndCardBuf, kSampMsNb)) in WebRtcAecm_Process()
591 aecm->filtDelay = WEBRTC_SPL_MAX(0, (8 * aecm->filtDelay + 2 * delayNew) / 10); in WebRtcAecm_EstBufDelay()
620 aecm->knownDelay = WEBRTC_SPL_MAX((int)aecm->filtDelay - 160, 0); in WebRtcAecm_EstBufDelay()
637 nSampAdd = (int)(WEBRTC_SPL_MAX(((nSampSndCard >> 1) - nSampFar), in WebRtcAecm_DelayComp()
/external/webrtc/webrtc/modules/audio_processing/ns/
Dnsx_core.c1112 maxPause = WEBRTC_SPL_MAX(maxPause, inst->avgMagnPause[i]); in WebRtcNsx_ComputeSpectralDifference()
1119 tmp32no1 = WEBRTC_SPL_MAX(maxPause - avgPauseFX, avgPauseFX - minPause); in WebRtcNsx_ComputeSpectralDifference()
1121 nShifts = WEBRTC_SPL_MAX(0, 10 + inst->stages - WebRtcSpl_NormW32(tmp32no1)); in WebRtcNsx_ComputeSpectralDifference()
1237 right_shifts_in_initMagnEst = WEBRTC_SPL_MAX(-right_shifts_in_magnU16, 0); in WebRtcNsx_DataAnalysis()
1239 right_shifts_in_magnU16 = WEBRTC_SPL_MAX(right_shifts_in_magnU16, 0); in WebRtcNsx_DataAnalysis()
/external/webrtc/webrtc/modules/audio_processing/agc/legacy/
Danalog_agc.c880 stt->maxLevel = WEBRTC_SPL_MAX(stt->maxLevel, stt->maxAnalog); in WebRtcAgc_ProcessAnalog()
928 stt->maxLevel = WEBRTC_SPL_MAX(stt->maxLevel, stt->maxAnalog); in WebRtcAgc_ProcessAnalog()
Ddigital_agc.c93 maxGain = WEBRTC_SPL_MAX(tmp16no1, (analogTarget - targetLevelDbfs)); in WebRtcAgc_CalculateGainTable()
/external/webrtc/webrtc/common_audio/signal_processing/include/
Dsignal_processing_library.h31 #define WEBRTC_SPL_MAX(A, B) (A > B ? A : B) // Get max value macro
/external/webrtc/webrtc/common_audio/signal_processing/
Dsignal_processing_unittest.cc35 EXPECT_EQ(21, WEBRTC_SPL_MAX(A, B)); in TEST_F()