Lines Matching refs:nShifts
1210 int i, norm32, nShifts;
1228 nShifts = WEBRTC_SPL_MAX(0, 10 + inst->stages - WebRtcSpl_NormW32(tmp32no1));
1240 tmp32no1 = WEBRTC_SPL_RSHIFT_W32(tmp32no2, nShifts); // Q(prevQMagn-minPause)
1258 nShifts += norm32;
1259 nShifts <<= 1;
1260 if (nShifts < 0) {
1261 varPauseUFX >>= (-nShifts); // Q(2*(qMagn+norm32+minPause))
1262 nShifts = 0;
1267 tmpU32no1 = WEBRTC_SPL_RSHIFT_U32(tmpU32no1, nShifts);
1303 int i, normTmp, normTmp2, nShifts;
1351 nShifts = 7 - inst->stages; // WIDTH_PR_MAP_SHIFT - inst->stages + 5;
1357 nShifts++;
1359 tmp32no1 = WEBRTC_SPL_SHIFT_W32(tmp32no1, nShifts); // Q14
1381 nShifts = 4;
1386 nShifts++;
1389 nShifts), 25); //Q14
1390 tmpU32no1 = WebRtcSpl_DivU32U16(WEBRTC_SPL_LSHIFT_U32(tmpU32no2, nShifts), 25); //Q14
1427 nShifts = 1;
1434 nShifts--;
1436 tmpU32no1 = WEBRTC_SPL_RSHIFT_U32(tmpU32no2, nShifts);
1878 int nShifts, postShifts;
1989 nShifts = WebRtcSpl_NormU32(numerator);
1990 nShifts = WEBRTC_SPL_SAT(6, nShifts, 0);
1992 // Shift numerator to Q(nShifts+8+minNorm-stages)
1993 numerator = WEBRTC_SPL_LSHIFT_U32(numerator, nShifts);
1995 // Shift denominator to Q(nShifts-6+minNorm-stages)
1996 tmpU32no1 = WEBRTC_SPL_RSHIFT_U32(inst->initMagnEst[i], 6 - nShifts);
2021 nShifts = 0;
2025 nShifts = 6;
2032 noiseU32[i] = WEBRTC_SPL_LSHIFT_U32(noiseU32[i], nShifts);
2054 nShifts = 5 - inst->prevQMagn + inst->prevQNoise;
2095 tmpU32no2 = WEBRTC_SPL_RSHIFT_U32(inst->prevNoiseU32[i], nShifts); // Q(prevQMagn+6)
2171 nShifts = inst->prevQMagn - qMagn;
2257 tmp32no2 = WEBRTC_SPL_SHIFT_W32(inst->avgMagnPause[i], -nShifts);
2259 if (nShifts < 0) {
2261 tmp32no1 = WEBRTC_SPL_MUL_32_16(tmp32no1, ONE_MINUS_GAMMA_PAUSE_Q8); // Q(8+prevQMagn+nShifts)
2264 tmp32no1 = WEBRTC_SPL_LSHIFT_W32((WebRtc_Word32)magnU16[i], nShifts)
2265 - inst->avgMagnPause[i]; // Q(qMagn+nShifts)
2266 tmp32no1 = WEBRTC_SPL_MUL_32_16(tmp32no1, ONE_MINUS_GAMMA_PAUSE_Q8); // Q(8+prevQMagn+nShifts)
2267 tmp32no1 = WEBRTC_SPL_RSHIFT_W32(tmp32no1 + (128 << nShifts), 8 + nShifts); // Q(qMagn)
2279 nShifts = inst->prevQNoise + 11 - qMagn;
2298 if (nShifts < 0) {
2301 tmpNoiseU32 = WEBRTC_SPL_LSHIFT_U32(noiseU32[i], -nShifts); // Q(qMagn)
2302 } else if (nShifts > 17) {
2304 tmpNoiseU32 = WEBRTC_SPL_RSHIFT_U32(noiseU32[i], nShifts - 17); // Q(qMagn+17)
2306 tmpMagnU32 = WEBRTC_SPL_LSHIFT_U32((WebRtc_UWord32)magnU16[i], nShifts); // Q(qNoise_prev+11)