Home
last modified time | relevance | path

Searched refs:filtOld (Results 1 – 2 of 2) sorted by relevance

/external/chromium_org/third_party/webrtc/modules/audio_processing/aecm/
Daecm_core.c687 int16_t WebRtcAecm_AsymFilt(const int16_t filtOld, const int16_t inVal, in WebRtcAecm_AsymFilt() argument
693 if ((filtOld == WEBRTC_SPL_WORD16_MAX) | (filtOld == WEBRTC_SPL_WORD16_MIN)) in WebRtcAecm_AsymFilt()
697 retVal = filtOld; in WebRtcAecm_AsymFilt()
698 if (filtOld > inVal) in WebRtcAecm_AsymFilt()
700 retVal -= WEBRTC_SPL_RSHIFT_W16(filtOld - inVal, stepSizeNeg); in WebRtcAecm_AsymFilt()
703 retVal += WEBRTC_SPL_RSHIFT_W16(inVal - filtOld, stepSizePos); in WebRtcAecm_AsymFilt()
/external/webrtc/src/modules/audio_processing/aecm/
Daecm_core.c819 WebRtc_Word16 WebRtcAecm_AsymFilt(const WebRtc_Word16 filtOld, const WebRtc_Word16 inVal, in WebRtcAecm_AsymFilt() argument
825 if ((filtOld == WEBRTC_SPL_WORD16_MAX) | (filtOld == WEBRTC_SPL_WORD16_MIN)) in WebRtcAecm_AsymFilt()
829 retVal = filtOld; in WebRtcAecm_AsymFilt()
830 if (filtOld > inVal) in WebRtcAecm_AsymFilt()
832 retVal -= WEBRTC_SPL_RSHIFT_W16(filtOld - inVal, stepSizeNeg); in WebRtcAecm_AsymFilt()
835 retVal += WEBRTC_SPL_RSHIFT_W16(inVal - filtOld, stepSizePos); in WebRtcAecm_AsymFilt()