/external/webrtc/webrtc/modules/audio_coding/codecs/ilbc/ |
D | smooth.c | 51 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()
|
D | frame_classify.c | 53 scale1 = WEBRTC_SPL_MAX(0, scale); in WebRtcIlbcfix_FrameClassify() 67 scale1 = WEBRTC_SPL_MAX(0, scale); in WebRtcIlbcfix_FrameClassify()
|
D | cb_search_core.c | 51 *cDotPtr=WEBRTC_SPL_MAX(0, (*cDotPtr)); in WebRtcIlbcfix_CbSearchCore() 78 max = WEBRTC_SPL_MAX((*inverseEnergyShiftPtr), max); in WebRtcIlbcfix_CbSearchCore()
|
D | enhancer_interface.c | 124 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()
|
D | gain_dequant.c | 39 scale = WEBRTC_SPL_MAX(1638, scale); /* if lower than 0.1, set it to 0.1 */ in WebRtcIlbcfix_GainDequant()
|
D | energy_inverse.c | 36 (*energyPtr)=WEBRTC_SPL_MAX((*energyPtr),16384); in WebRtcIlbcfix_EnergyInverse()
|
D | cb_mem_energy_calc.c | 51 energy = WEBRTC_SPL_MAX(energy, 0); in WebRtcIlbcfix_CbMemEnergyCalc()
|
D | gain_quant.c | 40 scale = WEBRTC_SPL_MAX(1638, maxIn); in WebRtcIlbcfix_GainQuant()
|
D | state_search.c | 53 scaleRes = WEBRTC_SPL_MAX(0, scaleRes); in WebRtcIlbcfix_StateSearch()
|
D | cb_search.c | 119 temp1 = WEBRTC_SPL_MAX(temp1, temp2); in WebRtcIlbcfix_CbSearch() 128 scale = WEBRTC_SPL_MAX(0, scale); in WebRtcIlbcfix_CbSearch()
|
D | xcorr_coef.c | 107 scalediff=WEBRTC_SPL_MAX(scalediff,-31); in WebRtcIlbcfix_XcorrCoef()
|
D | encode.c | 405 for (subframe = 0; subframe < WEBRTC_SPL_MAX (2 - Nfor, 0); subframe++) in WebRtcIlbcfix_EncodeImpl()
|
/external/webrtc/webrtc/modules/audio_processing/aec/ |
D | echo_cancellation.c | 649 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()
|
D | aec_core_mips.c | 266 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()
|
D | aec_core.c | 354 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()
|
D | aec_core_neon.c | 608 ptrGCoh[1] * WEBRTC_SPL_MAX( in SmoothedPSD()
|
D | aec_core_sse2.c | 590 ptrGCoh[1] * WEBRTC_SPL_MAX( in SmoothedPSD()
|
/external/webrtc/webrtc/modules/audio_processing/aecm/ |
D | echo_control_mobile.c | 326 < 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/ |
D | nsx_core.c | 1112 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/ |
D | analog_agc.c | 880 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()
|
D | digital_agc.c | 93 maxGain = WEBRTC_SPL_MAX(tmp16no1, (analogTarget - targetLevelDbfs)); in WebRtcAgc_CalculateGainTable()
|
/external/webrtc/webrtc/common_audio/signal_processing/include/ |
D | signal_processing_library.h | 31 #define WEBRTC_SPL_MAX(A, B) (A > B ? A : B) // Get max value macro
|
/external/webrtc/webrtc/common_audio/signal_processing/ |
D | signal_processing_unittest.cc | 35 EXPECT_EQ(21, WEBRTC_SPL_MAX(A, B)); in TEST_F()
|