Searched refs:nShifts (Results 1 – 3 of 3) sorted by relevance
/external/webrtc/webrtc/modules/audio_processing/ns/ |
D | nsx_core_c.c | 37 int normTmp, normTmp2, nShifts; in WebRtcNsx_SpeechNoiseProb() local 89 nShifts = 7 - inst->stages; // WIDTH_PR_MAP_SHIFT - inst->stages + 5; in WebRtcNsx_SpeechNoiseProb() 95 nShifts++; in WebRtcNsx_SpeechNoiseProb() 97 tmp32no1 = WEBRTC_SPL_SHIFT_W32(tmp32no1, nShifts); // Q14 in WebRtcNsx_SpeechNoiseProb() 119 nShifts = 4; in WebRtcNsx_SpeechNoiseProb() 124 nShifts++; in WebRtcNsx_SpeechNoiseProb() 126 tmpU32no1 = WebRtcSpl_DivU32U16(tmpU32no2 << nShifts, 25); // Q14 in WebRtcNsx_SpeechNoiseProb() 164 nShifts = 1; in WebRtcNsx_SpeechNoiseProb() 171 nShifts--; in WebRtcNsx_SpeechNoiseProb() 173 tmpU32no1 = tmpU32no2 >> nShifts; in WebRtcNsx_SpeechNoiseProb()
|
D | nsx_core_mips.c | 36 int normTmp, nShifts; in WebRtcNsx_SpeechNoiseProb() local 124 nShifts = 7 - inst->stages; // WIDTH_PR_MAP_SHIFT - inst->stages + 5; in WebRtcNsx_SpeechNoiseProb() 130 nShifts++; in WebRtcNsx_SpeechNoiseProb() 132 tmp32no1 = WEBRTC_SPL_SHIFT_W32(tmp32no1, nShifts); // Q14 in WebRtcNsx_SpeechNoiseProb() 154 nShifts = 4; in WebRtcNsx_SpeechNoiseProb() 159 nShifts++; in WebRtcNsx_SpeechNoiseProb() 161 tmpU32no1 = WebRtcSpl_DivU32U16(tmpU32no2 << nShifts, 25); //Q14 in WebRtcNsx_SpeechNoiseProb() 199 nShifts = 1; in WebRtcNsx_SpeechNoiseProb() 206 nShifts--; in WebRtcNsx_SpeechNoiseProb() 208 tmpU32no1 = tmpU32no2 >> nShifts; in WebRtcNsx_SpeechNoiseProb()
|
D | nsx_core.c | 1103 int norm32, nShifts; in WebRtcNsx_ComputeSpectralDifference() local 1121 nShifts = WEBRTC_SPL_MAX(0, 10 + inst->stages - WebRtcSpl_NormW32(tmp32no1)); in WebRtcNsx_ComputeSpectralDifference() 1133 tmp32no1 = tmp32no2 >> nShifts; // Q(prevQMagn-minPause). in WebRtcNsx_ComputeSpectralDifference() 1151 nShifts += norm32; in WebRtcNsx_ComputeSpectralDifference() 1152 nShifts <<= 1; in WebRtcNsx_ComputeSpectralDifference() 1153 if (nShifts < 0) { in WebRtcNsx_ComputeSpectralDifference() 1154 varPauseUFX >>= (-nShifts); // Q(2*(qMagn+norm32+minPause)) in WebRtcNsx_ComputeSpectralDifference() 1155 nShifts = 0; in WebRtcNsx_ComputeSpectralDifference() 1160 tmpU32no1 >>= nShifts; in WebRtcNsx_ComputeSpectralDifference() 1536 int nShifts, postShifts; in WebRtcNsx_ProcessCore() local [all …]
|