Lines Matching refs:ac
113 autoCorr2nd_real (ACORR_COEFS *ac, /*!< Pointer to autocorrelation coeffs */ in autoCorr2nd_real() argument
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()
174 ac->det = (fMultDiv2(ac->r11r,ac->r22r) - fMultDiv2(ac->r12r,ac->r12r)) ; 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()
187 autoCorr2nd_cplx (ACORR_COEFS *ac, /*!< Pointer to autocorrelation coeffs */ in autoCorr2nd_cplx() argument
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()
266 ac->det = ( fMultDiv2(ac->r11r,ac->r22r) >> 1 ) - in autoCorr2nd_cplx()
267 ( (fMultDiv2(ac->r12r,ac->r12r) + fMultDiv2(ac->r12i,ac->r12i)) >> 1 ); 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()