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.c239 LVM_INT32 COS_T0; in LVEQNB_SinglePrecCoefs() local
274 COS_T0 = 0; /* Initialise the error to zero */ in LVEQNB_SinglePrecCoefs()
278 COS_T0 += (factor * coef) >> 5; /* The nth partial sum */ in LVEQNB_SinglePrecCoefs()
281 COS_T0 = COS_T0 << (LVEQNB_CosCoef[0]+6); /* Correct the scaling */ in LVEQNB_SinglePrecCoefs()
284 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.c483 LVM_INT32 COS_T0; in LVPSA_BPSinglePrecCoefs() local
521 COS_T0 = 0; /* Initialise the error to zero */ in LVPSA_BPSinglePrecCoefs()
525 COS_T0 += (factor * coef) >> 5; /* The nth partial sum */ in LVPSA_BPSinglePrecCoefs()
528 COS_T0 = COS_T0 << (LVPSA_CosCoef[0]+6); /* Correct the scaling */ in LVPSA_BPSinglePrecCoefs()
531 B1 = ((0x40000000 - B2) >> 16) * (COS_T0 >> 16); /* B1 = (0.5 - b2) * cos(t0) */ in LVPSA_BPSinglePrecCoefs()