Lines Matching refs:nShifts

1098   int norm32, nShifts;  in WebRtcNsx_ComputeSpectralDifference()  local
1116 nShifts = WEBRTC_SPL_MAX(0, 10 + inst->stages - WebRtcSpl_NormW32(tmp32no1)); in WebRtcNsx_ComputeSpectralDifference()
1128 tmp32no1 = tmp32no2 >> nShifts; // Q(prevQMagn-minPause). in WebRtcNsx_ComputeSpectralDifference()
1146 nShifts += norm32; in WebRtcNsx_ComputeSpectralDifference()
1147 nShifts <<= 1; in WebRtcNsx_ComputeSpectralDifference()
1148 if (nShifts < 0) { in WebRtcNsx_ComputeSpectralDifference()
1149 varPauseUFX >>= (-nShifts); // Q(2*(qMagn+norm32+minPause)) in WebRtcNsx_ComputeSpectralDifference()
1150 nShifts = 0; in WebRtcNsx_ComputeSpectralDifference()
1155 tmpU32no1 >>= nShifts; in WebRtcNsx_ComputeSpectralDifference()
1531 int nShifts, postShifts; in WebRtcNsx_ProcessCore() local
1655 nShifts = WebRtcSpl_NormU32(numerator); in WebRtcNsx_ProcessCore()
1656 nShifts = WEBRTC_SPL_SAT(6, nShifts, 0); in WebRtcNsx_ProcessCore()
1659 numerator <<= nShifts; in WebRtcNsx_ProcessCore()
1662 tmpU32no1 = inst->initMagnEst[i] >> (6 - nShifts); in WebRtcNsx_ProcessCore()
1687 nShifts = 0; in WebRtcNsx_ProcessCore()
1691 nShifts = 6; in WebRtcNsx_ProcessCore()
1698 noiseU32[i] <<= nShifts; in WebRtcNsx_ProcessCore()
1719 nShifts = 5 - inst->prevQMagn + inst->prevQNoise; in WebRtcNsx_ProcessCore()
1761 tmpU32no2 = inst->prevNoiseU32[i] >> nShifts; // Q(prevQMagn+6) in WebRtcNsx_ProcessCore()
1837 nShifts = inst->prevQMagn - qMagn; in WebRtcNsx_ProcessCore()
1919 tmp32no2 = WEBRTC_SPL_SHIFT_W32(inst->avgMagnPause[i], -nShifts); in WebRtcNsx_ProcessCore()
1921 if (nShifts < 0) { in WebRtcNsx_ProcessCore()
1927 tmp32no1 = ((int32_t)magnU16[i] << nShifts) - inst->avgMagnPause[i]; in WebRtcNsx_ProcessCore()
1929 tmp32no1 = (tmp32no1 + (128 << nShifts)) >> (8 + nShifts); // Q(qMagn). in WebRtcNsx_ProcessCore()
1941 nShifts = inst->prevQNoise + 11 - qMagn; in WebRtcNsx_ProcessCore()
1960 if (nShifts < 0) { in WebRtcNsx_ProcessCore()
1963 tmpNoiseU32 = noiseU32[i] << -nShifts; // Q(qMagn) in WebRtcNsx_ProcessCore()
1964 } else if (nShifts > 17) { in WebRtcNsx_ProcessCore()
1966 tmpNoiseU32 = noiseU32[i] >> (nShifts - 17); // Q(qMagn+17) in WebRtcNsx_ProcessCore()
1968 tmpMagnU32 = (uint32_t)magnU16[i] << nShifts; // Q(qNoise_prev+11) in WebRtcNsx_ProcessCore()