Home
last modified time | relevance | path

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

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