Home | History | Annotate | Download | only in source

Lines Matching refs:QdomHI

568   int16_t QdomLO, QdomHI, newQdomHI, newQdomLO;
669 QdomHI = 12-scale; // QdomHI is the Q-domain of corrhiQQ
671 QdomHI += sh_hi;
694 corrhiQQ[n] = WEBRTC_SPL_MUL_16_32_RSFT16(tmpQQhi, corrhiQQ[n]); // Q(12+QdomHI-16) = Q(QdomHI-4)
696 QdomHI -= 4;
699 /* corrlo2QQ is in Q(QdomLO) and corrhiQQ is in Q(QdomHI) */
705 tmp32 = WEBRTC_SPL_SHIFT_W32((int32_t) 1, QdomHI-20);
708 /* corrlo2QQ is in Q(QdomLO) and corrhiQQ is in Q(QdomHI) before the following
718 QdomHI -= 1; // Now, corrhiQQ is in Q(QdomHI), with a 1-bit margin
740 tmp = WEBRTC_SPL_MUL_16_32_RSFT15(WEBRTC_SPL_LSHIFT_W16(alpha, 6), tmp); // Shift alpha as much as possible without overflow the number of times required to get tmp in QdomHI
768 newQdomHI = QdomHI;
777 sh = QdomHI - maskdata->CorrBufHiQdom[n];
784 maskdata->CorrBufHiQdom[n] = QdomHI;
787 tmp = WEBRTC_SPL_MUL_16_32_RSFT15(WEBRTC_SPL_LSHIFT_W16(alpha, (sh-shMem)), tmp); // Shift alpha the number of times required to get tmp in QdomHI
791 maskdata->CorrBufHiQdom[n] = QdomHI;
794 tmp = WEBRTC_SPL_MUL_16_32_RSFT15(WEBRTC_SPL_LSHIFT_W16(alpha, 6), tmp); // Shift alpha as much as possible without overflow the number of times required to get tmp in QdomHI
798 newQdomHI = QdomHI-(sh-shMem-6);
805 maskdata->CorrBufHiQdom[n] = QdomHI;
813 if( newQdomHI!=QdomHI) {
818 QdomHI = newQdomHI;
909 res_nrgQQ = WebRtcIsacfix_CalculateResidualEnergy(ORDERHI, QdomHI,