Home
last modified time | relevance | path

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

/external/webrtc/src/modules/audio_processing/agc/
Danalog_agc.c396 int WebRtcAgc_VirtualMic(void *agcInst, WebRtc_Word16 *in_near, WebRtc_Word16 *in_near_H, in WebRtcAgc_VirtualMic() argument
425 frameNrg = WEBRTC_SPL_MUL_16_16(in_near[0], in_near[0]); in WebRtcAgc_VirtualMic()
433 nrg = WEBRTC_SPL_MUL_16_16(in_near[sampleCntr], in_near[sampleCntr]); in WebRtcAgc_VirtualMic()
438 numZeroCrossing += ((in_near[sampleCntr] ^ in_near[sampleCntr - 1]) < 0); in WebRtcAgc_VirtualMic()
485 tmpFlt = WEBRTC_SPL_RSHIFT_W32(WEBRTC_SPL_MUL_16_U16(in_near[ii], gain), 10); in WebRtcAgc_VirtualMic()
510 in_near[ii] = (WebRtc_Word16)tmpFlt; in WebRtcAgc_VirtualMic()
531 if (WebRtcAgc_AddMic(agcInst, in_near, in_near_H, samples) != 0) in WebRtcAgc_VirtualMic()
1245 int WebRtcAgc_Process(void *agcInst, const WebRtc_Word16 *in_near, in WebRtcAgc_Process() argument
1314 if (in_near == NULL) in WebRtcAgc_Process()
1326 if (in_near != out) in WebRtcAgc_Process()
[all …]
Ddigital_agc.c303 WebRtc_Word32 WebRtcAgc_ProcessDigital(DigitalAgc_t *stt, const WebRtc_Word16 *in_near, in WebRtcAgc_ProcessDigital() argument
343 if (in_near != out) in WebRtcAgc_ProcessDigital()
346 memcpy(out, in_near, 10 * L * sizeof(WebRtc_Word16)); in WebRtcAgc_ProcessDigital()