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

/frameworks/av/media/libeffects/lvm/lib/Eq/src/
H A DLVEQNB_CalcCoef.c302 LVM_INT32 COS_T0; local
337 COS_T0 = 0; /* Initialise the error to zero */
341 COS_T0 += (factor * coef) >> 5; /* The nth partial sum */
344 COS_T0 = COS_T0 << (LVEQNB_CosCoef[0]+6); /* Correct the scaling */
347 B1 = ((0x40000000 - B2) >> 16) * (COS_T0 >> 16); /* B1 = (0.5 - b2/2) * cos(t0) */
/frameworks/av/media/libeffects/lvm/lib/SpectrumAnalyzer/src/
H A DLVPSA_Control.c546 LVM_FLOAT COS_T0; local
583 COS_T0 = 0.0f; /* Initialise the error to zero */
587 COS_T0 += (factor * coef); /* The nth partial sum */
590 COS_T0 = COS_T0 * 8; /*LVPSA_CosCoef_float[0]*/ /* Correct the scaling */
593 B1 = ((LVM_FLOAT)0.5 - B2) * (COS_T0); /* B1 = (0.5 - b2) * cos(t0) */
626 LVM_INT32 COS_T0; local
664 COS_T0 = 0; /* Initialise the error to zero */
668 COS_T0 += (factor * coef) >> 5; /* The nth partial sum */
671 COS_T0
[all...]

Completed in 139 milliseconds