Home
last modified time | relevance | path

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

/frameworks/av/media/libeffects/lvm/lib/Eq/src/
DLVEQNB_CalcCoef.c111 LVM_INT32 CosErr; in LVEQNB_DoublePrecCoefs() local
146 CosErr = 0; /* Initialise the error to zero */ in LVEQNB_DoublePrecCoefs()
150 CosErr += (factor * coef) >> 5; /* The nth partial sum */ in LVEQNB_DoublePrecCoefs()
153 CosErr = CosErr << (LVEQNB_DPCosCoef[0]); /* Correct the scaling */ in LVEQNB_DoublePrecCoefs()
159 … A0 = ((B1 >> 16) * (CosErr >> 10)) >> 6; /* Temporary storage for (0.5 - b2/2) * coserr(t0) */ in LVEQNB_DoublePrecCoefs()
/frameworks/av/media/libeffects/lvm/lib/SpectrumAnalyzer/src/
DLVPSA_Control.c750 LVM_FLOAT CosErr; in LVPSA_BPDoublePrecCoefs() local
787 CosErr = 0.0f; /* Initialise the error to zero */ in LVPSA_BPDoublePrecCoefs()
791 CosErr += factor * coef; /* The nth partial sum */ in LVPSA_BPDoublePrecCoefs()
794 CosErr = CosErr * 2; /* Correct the scaling */ in LVPSA_BPDoublePrecCoefs()
800 A0 = B1 * CosErr ; /* Temporary storage for (0.5 - b2) * coserr(t0) */ in LVPSA_BPDoublePrecCoefs()
833 LVM_INT32 CosErr; in LVPSA_BPDoublePrecCoefs() local
870 CosErr = 0; /* Initialise the error to zero */ in LVPSA_BPDoublePrecCoefs()
874 CosErr += (factor * coef) >> 5; /* The nth partial sum */ in LVPSA_BPDoublePrecCoefs()
877 CosErr = CosErr << (LVPSA_DPCosCoef[0]); /* Correct the scaling */ in LVPSA_BPDoublePrecCoefs()
883 A0 = ((B1 >> 16) * (CosErr >> 10)) >> 6; /* Temporary storage for (0.5 - b2) * coserr(t0) */ in LVPSA_BPDoublePrecCoefs()