Lines Matching refs:gate
320 WebRtc_Word16 gate, gain_adj;
477 // Gate processing (lower gain during absence of speech)
489 gate = 1000 + zeros_fast - zeros - stt->vadNearend.stdShortTerm;
491 if (gate < 0)
497 gate = (WebRtc_Word16)WEBRTC_SPL_RSHIFT_W32((WebRtc_Word32)gate + tmp32, 3);
498 stt->gatePrevious = gate;
500 // gate < 0 -> no gate
501 // gate > 2500 -> max gate
502 if (gate > 0)
504 if (gate < 2500)
506 gain_adj = WEBRTC_SPL_RSHIFT_W16(2500 - gate, 5);