Searched refs:gainTable (Results 1 – 3 of 3) sorted by relevance
/external/webrtc/src/modules/audio_processing/agc/ |
D | digital_agc.c | 61 WebRtc_Word32 WebRtcAgc_CalculateGainTable(WebRtc_Word32 *gainTable, // Q16 in WebRtcAgc_CalculateGainTable() argument 250 gainTable[i] = WEBRTC_SPL_LSHIFT_W32(1, intPart) in WebRtcAgc_CalculateGainTable() 254 gainTable[i] = 0; in WebRtcAgc_CalculateGainTable() 467 tmp32 = WEBRTC_SPL_MUL((stt->gainTable[zeros-1] - stt->gainTable[zeros]), frac); in WebRtcAgc_ProcessDigital() 468 gains[k + 1] = stt->gainTable[zeros] + WEBRTC_SPL_RSHIFT_W32(tmp32, 12); in WebRtcAgc_ProcessDigital() 513 if ((gains[k + 1] - stt->gainTable[0]) > 8388608) in WebRtcAgc_ProcessDigital() 516 tmp32 = WEBRTC_SPL_RSHIFT_W32((gains[k+1] - stt->gainTable[0]), 8); in WebRtcAgc_ProcessDigital() 520 tmp32 = WEBRTC_SPL_MUL((gains[k+1] - stt->gainTable[0]), (178 + gain_adj)); in WebRtcAgc_ProcessDigital() 523 gains[k + 1] = stt->gainTable[0] + tmp32; in WebRtcAgc_ProcessDigital()
|
D | digital_agc.h | 44 WebRtc_Word32 gainTable[32]; member 71 WebRtc_Word32 WebRtcAgc_CalculateGainTable(WebRtc_Word32 *gainTable, // Q16
|
D | analog_agc.c | 1204 WebRtcAgc_CalculateGainTable(&(stt->digitalAgc.gainTable[0]), in WebRtcAgc_ProcessAnalog() 1436 if (WebRtcAgc_CalculateGainTable(&(stt->digitalAgc.gainTable[0]), stt->compressionGaindB, in WebRtcAgc_set_config()
|