Home
last modified time | relevance | path

Searched refs:gainTable (Results 1 – 3 of 3) sorted by relevance

/external/webrtc/webrtc/modules/audio_processing/agc/legacy/
Ddigital_agc.c61 int32_t WebRtcAgc_CalculateGainTable(int32_t *gainTable, // Q16 in WebRtcAgc_CalculateGainTable() argument
248 gainTable[i] = in WebRtcAgc_CalculateGainTable()
252 gainTable[i] = 0; in WebRtcAgc_CalculateGainTable()
456 tmp32 = (stt->gainTable[zeros-1] - stt->gainTable[zeros]) * frac; in WebRtcAgc_ProcessDigital()
457 gains[k + 1] = stt->gainTable[zeros] + (tmp32 >> 12); in WebRtcAgc_ProcessDigital()
507 if ((gains[k + 1] - stt->gainTable[0]) > 8388608) in WebRtcAgc_ProcessDigital()
510 tmp32 = (gains[k + 1] - stt->gainTable[0]) >> 8; in WebRtcAgc_ProcessDigital()
514 tmp32 = (gains[k+1] - stt->gainTable[0]) * (178 + gain_adj); in WebRtcAgc_ProcessDigital()
517 gains[k + 1] = stt->gainTable[0] + tmp32; in WebRtcAgc_ProcessDigital()
Ddigital_agc.h44 int32_t gainTable[32]; member
74 int32_t WebRtcAgc_CalculateGainTable(int32_t *gainTable, // Q16
Danalog_agc.c1099 WebRtcAgc_CalculateGainTable(&(stt->digitalAgc.gainTable[0]), in WebRtcAgc_ProcessAnalog()
1272 if (WebRtcAgc_CalculateGainTable(&(stt->digitalAgc.gainTable[0]), stt->compressionGaindB, in WebRtcAgc_set_config()