Home
last modified time | relevance | path

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

/external/webrtc/webrtc/modules/audio_processing/agc/legacy/
Ddigital_agc.h23 #define AGC_SCALEDIFF32(A, B, C) ((C) + ((B)>>16)*(A) + ( ((0x0000FFFF & (B))*(A)) >> 16 )) macro
Ddigital_agc.c421 stt->capacitorFast = AGC_SCALEDIFF32(-1000, stt->capacitorFast, stt->capacitorFast); in WebRtcAgc_ProcessDigital()
431 = AGC_SCALEDIFF32(500, (env[k] - stt->capacitorSlow), stt->capacitorSlow); in WebRtcAgc_ProcessDigital()
436 = AGC_SCALEDIFF32(decay, stt->capacitorSlow, stt->capacitorSlow); in WebRtcAgc_ProcessDigital()