• Home
  • Raw
  • Download

Lines Matching refs:mScale

118   int   j, autoCorrScaling, mScale;  in autoCorr2nd_real()  local
164 mScale = CntLeadingZeros( (accu1 | accu2 | fAbs(accu3) | fAbs(accu4) | fAbs(accu5)) ) - 1; in autoCorr2nd_real()
165 autoCorrScaling = mScale - 1 - SHIFT_FACTOR; /* -1 because of fMultDiv2*/ in autoCorr2nd_real()
168 ac->r11r = accu1 << mScale; in autoCorr2nd_real()
169 ac->r22r = accu2 << mScale; in autoCorr2nd_real()
170 ac->r01r = accu3 << mScale; in autoCorr2nd_real()
171 ac->r12r = accu4 << mScale; in autoCorr2nd_real()
172 ac->r02r = accu5 << mScale; in autoCorr2nd_real()
175 mScale = CountLeadingBits(fAbs(ac->det)); in autoCorr2nd_real()
177 ac->det <<= mScale; in autoCorr2nd_real()
178 ac->det_scale = mScale - 1; in autoCorr2nd_real()
194 int j, autoCorrScaling, mScale, len_scale; in autoCorr2nd_cplx() local
251 mScale = CntLeadingZeros( (accu0 | accu1 | accu2 | fAbs(accu3) | fAbs(accu4) | fAbs(accu5) | in autoCorr2nd_cplx()
253 autoCorrScaling = mScale - 1 - len_scale; /* -1 because of fMultDiv2*/ in autoCorr2nd_cplx()
256 ac->r00r = (FIXP_DBL)accu0 << mScale; in autoCorr2nd_cplx()
257 ac->r11r = (FIXP_DBL)accu1 << mScale; in autoCorr2nd_cplx()
258 ac->r22r = (FIXP_DBL)accu2 << mScale; in autoCorr2nd_cplx()
259 ac->r01r = (FIXP_DBL)accu3 << mScale; in autoCorr2nd_cplx()
260 ac->r12r = (FIXP_DBL)accu4 << mScale; in autoCorr2nd_cplx()
261 ac->r01i = (FIXP_DBL)accu5 << mScale; in autoCorr2nd_cplx()
262 ac->r12i = (FIXP_DBL)accu6 << mScale; in autoCorr2nd_cplx()
263 ac->r02r = (FIXP_DBL)accu7 << mScale; in autoCorr2nd_cplx()
264 ac->r02i = (FIXP_DBL)accu8 << mScale; in autoCorr2nd_cplx()
268 mScale = CountLeadingBits(fAbs(ac->det)); in autoCorr2nd_cplx()
270 ac->det <<= mScale; in autoCorr2nd_cplx()
271 ac->det_scale = mScale - 2; in autoCorr2nd_cplx()