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

/frameworks/av/media/libeffects/lvm/lib/Eq/src/
H A DLVEQNB_CalcCoef.c108 LVM_INT32 CosErr; local
138 * CosErr += coef(n) * t0^n For n = 0 to 4
143 CosErr = 0; /* Initialise the error to zero */
147 CosErr += (factor * coef) >> 5; /* The nth partial sum */
150 CosErr = CosErr << (LVEQNB_DPCosCoef[0]); /* Correct the scaling */
156 A0 = ((B1 >> 16) * (CosErr >> 10)) >> 6; /* Temporary storage for (0.5 - b2/2) * coserr(t0) */
/frameworks/av/media/libeffects/lvm/lib/SpectrumAnalyzer/src/
H A DLVPSA_Control.c606 LVM_INT32 CosErr; local
638 * CosErr += coef(n) * t0^n For n = 0 to 4
643 CosErr = 0; /* Initialise the error to zero */
647 CosErr += (factor * coef) >> 5; /* The nth partial sum */
650 CosErr = CosErr << (LVPSA_DPCosCoef[0]); /* Correct the scaling */
656 A0 = ((B1 >> 16) * (CosErr >> 10)) >> 6; /* Temporary storage for (0.5 - b2) * coserr(t0) */

Completed in 1227 milliseconds