Searched refs:intPart (Results 1 – 3 of 3) sorted by relevance
/external/webrtc/src/modules/audio_processing/agc/ |
D | digital_agc.c | 75 WebRtc_UWord16 tmpU16, intPart, fracPart; in WebRtcAgc_CalculateGainTable() local 153 intPart = (WebRtc_UWord16)WEBRTC_SPL_RSHIFT_U32(absInLevel, 14); in WebRtcAgc_CalculateGainTable() 155 tmpU16 = kGenFuncTable[intPart + 1] - kGenFuncTable[intPart]; // Q8 in WebRtcAgc_CalculateGainTable() 157 tmpU32no1 += WEBRTC_SPL_LSHIFT_U32((WebRtc_UWord32)kGenFuncTable[intPart], 14); // Q22 in WebRtcAgc_CalculateGainTable() 234 intPart = (WebRtc_Word16)WEBRTC_SPL_RSHIFT_W32(tmp32, 14); in WebRtcAgc_CalculateGainTable() 250 gainTable[i] = WEBRTC_SPL_LSHIFT_W32(1, intPart) in WebRtcAgc_CalculateGainTable() 251 + WEBRTC_SPL_SHIFT_W32(fracPart, intPart - 14); in WebRtcAgc_CalculateGainTable()
|
/external/webkit/Source/ThirdParty/ANGLE/src/compiler/ |
D | InfoSink.h | 15 float intPart = 0.0f; in fractionalPart() local 16 return modff(f, &intPart); in fractionalPart()
|
/external/webrtc/src/modules/audio_processing/ns/ |
D | nsx_core.c | 1134 WebRtc_Word16 zeros, frac, intPart; in WebRtcNsx_ComputeSpectralFlatness() local 1176 intPart = -(WebRtc_Word16)WEBRTC_SPL_RSHIFT_W32(logCurSpectralFlatness, 17); in WebRtcNsx_ComputeSpectralFlatness() 1177 intPart += 7; // Shift 7 to get the output in Q10 (from Q17 = -17+10) in WebRtcNsx_ComputeSpectralFlatness() 1178 if (intPart > 0) { in WebRtcNsx_ComputeSpectralFlatness() 1179 currentSpectralFlatness = WEBRTC_SPL_RSHIFT_W32(tmp32, intPart); in WebRtcNsx_ComputeSpectralFlatness() 1181 currentSpectralFlatness = WEBRTC_SPL_LSHIFT_W32(tmp32, -intPart); in WebRtcNsx_ComputeSpectralFlatness() 1301 WebRtc_Word16 tmp16, tmp16no1, tmp16no2, tmpIndFX, tableIndex, frac, intPart; in WebRtcNsx_SpeechNoiseProb() local 1485 intPart = (WebRtc_Word16)WEBRTC_SPL_RSHIFT_W32(tmp32no1, 12); in WebRtcNsx_SpeechNoiseProb() 1486 if (intPart < -8) { in WebRtcNsx_SpeechNoiseProb() 1487 intPart = -8; in WebRtcNsx_SpeechNoiseProb() [all …]
|