Lines Matching refs:mScale
121 int j, autoCorrScaling, mScale; in autoCorr2nd_real() local
164 mScale = CntLeadingZeros( in autoCorr2nd_real()
167 autoCorrScaling = mScale - 1 - SHIFT_FACTOR; /* -1 because of fMultDiv2*/ in autoCorr2nd_real()
170 ac->r11r = accu1 << mScale; in autoCorr2nd_real()
171 ac->r22r = accu2 << mScale; in autoCorr2nd_real()
172 ac->r01r = accu3 << mScale; in autoCorr2nd_real()
173 ac->r12r = accu4 << mScale; in autoCorr2nd_real()
174 ac->r02r = accu5 << mScale; in autoCorr2nd_real()
177 mScale = CountLeadingBits(fAbs(ac->det)); in autoCorr2nd_real()
179 ac->det <<= mScale; in autoCorr2nd_real()
180 ac->det_scale = mScale - 1; in autoCorr2nd_real()
193 int j, autoCorrScaling, mScale, len_scale; in autoCorr2nd_cplx() local
265 mScale = in autoCorr2nd_cplx()
269 autoCorrScaling = mScale - 1 - len_scale; /* -1 because of fMultDiv2*/ in autoCorr2nd_cplx()
272 ac->r00r = (FIXP_DBL)accu0 << mScale; in autoCorr2nd_cplx()
273 ac->r11r = (FIXP_DBL)accu1 << mScale; in autoCorr2nd_cplx()
274 ac->r22r = (FIXP_DBL)accu2 << mScale; in autoCorr2nd_cplx()
275 ac->r01r = (FIXP_DBL)accu3 << mScale; in autoCorr2nd_cplx()
276 ac->r12r = (FIXP_DBL)accu4 << mScale; in autoCorr2nd_cplx()
277 ac->r01i = (FIXP_DBL)accu5 << mScale; in autoCorr2nd_cplx()
278 ac->r12i = (FIXP_DBL)accu6 << mScale; in autoCorr2nd_cplx()
279 ac->r02r = (FIXP_DBL)accu7 << mScale; in autoCorr2nd_cplx()
280 ac->r02i = (FIXP_DBL)accu8 << mScale; in autoCorr2nd_cplx()
285 mScale = CntLeadingZeros(fAbs(ac->det)) - 1; in autoCorr2nd_cplx()
287 ac->det <<= mScale; in autoCorr2nd_cplx()
288 ac->det_scale = mScale - 2; in autoCorr2nd_cplx()