Searched refs:stereoScaleFactor (Results 1 - 1 of 1) sorted by relevance

/external/aac/libSBRenc/src/
H A Dps_main.cpp330 FIXP_DBL tmpScaleFactor, stereoScaleFactor; local
345 stereoScaleFactor = fPow2Div2(tmpLeftReal) + fPow2Div2(tmpLeftImag)
349 tmpScaleFactor = fixp_abs(stereoScaleFactor + fMult(tmpLeftReal,tmpRightReal) + fMult(tmpLeftImag,tmpRightImag));
351 /* min(2.0f, sqrt(stereoScaleFactor/(0.5f*tmpScaleFactor))) */
352 if ( (stereoScaleFactor>>1) < fMult(maxStereoScaleFactor,tmpScaleFactor) ) {
354 int sc_num = CountLeadingBits(stereoScaleFactor) ;
358 tmpScaleFactor = schur_div((stereoScaleFactor<<(sc_num))>>1,
367 stereoScaleFactor = sqrtFixp(tmpScaleFactor);
368 stereoScaleFactor <<= (sc>>1);
371 stereoScaleFactor
[all...]

Completed in 74 milliseconds