Home | History | Annotate | Download | only in audioflinger

Lines Matching full:coef

420 static inline double firTransfer(const T* coef, int L, int halfNumCoef, double w) {
421 double accum = static_cast<double>(coef[0])*0.5; // "center coefficient" from first bank
422 coef += halfNumCoef; // skip first filterbank (picked up by the last filterbank).
427 accum += cos(ix*w)*static_cast<double>(*coef++);
472 sc = static_cast<double>(*coef++) + dcos*sc - sp;
500 * @param coef is the designed polyphase filter banks
521 static void testFir(const T* coef, int L, int halfNumCoef,
527 double trf = firTransfer(coef, L, halfNumCoef, wstart);
534 trf = firTransfer(coef, L, halfNumCoef, wstart);
561 * @param coef is the designed polyphase filter banks
593 static void testFir(const T* coef, int L, int halfNumCoef,
598 testFir(coef, L, halfNumCoef, 0., fp, passSteps, fmin, fmax);
603 testFir(coef, L, halfNumCoef, fs, 0.5, stopSteps, fmin, fmax);
621 * @param coef is the caller allocated space for coefficients. This should be
640 static inline void firKaiserGen(T* coef, int L, int halfNumCoef,
697 *coef++ = static_cast<T>(toint(y, 1ULL<<(sizeof(T)*8-1), err));
699 *coef++ = static_cast<T>(toint(y, 1ULL<<(sizeof(T)*8-1)));
701 *coef++ = static_cast<T>(y);