Home
last modified time | relevance | path

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

/external/webrtc/src/modules/audio_processing/agc/
Ddigital_agc.c75 WebRtc_UWord16 tmpU16, intPart, fracPart; in WebRtcAgc_CalculateGainTable() local
154 fracPart = (WebRtc_UWord16)(absInLevel & 0x00003FFF); // extract the fractional part in WebRtcAgc_CalculateGainTable()
156 tmpU32no1 = WEBRTC_SPL_UMUL_16_16(tmpU16, fracPart); // Q22 in WebRtcAgc_CalculateGainTable()
235 fracPart = (WebRtc_UWord16)(tmp32 & 0x00003FFF); // in Q14 in WebRtcAgc_CalculateGainTable()
236 if (WEBRTC_SPL_RSHIFT_W32(fracPart, 13)) in WebRtcAgc_CalculateGainTable()
239 tmp32no2 = WEBRTC_SPL_LSHIFT_W32(1, 14) - fracPart; in WebRtcAgc_CalculateGainTable()
246 tmp32no2 = WEBRTC_SPL_MUL_32_16(fracPart, tmp16); in WebRtcAgc_CalculateGainTable()
249 fracPart = (WebRtc_UWord16)tmp32no2; in WebRtcAgc_CalculateGainTable()
251 + WEBRTC_SPL_SHIFT_W32(fracPart, intPart - 14); in WebRtcAgc_CalculateGainTable()