Lines Matching full:coef
423 static inline double firTransfer(const T* coef, int L, int halfNumCoef, double w) {
424 double accum = static_cast<double>(coef[0])*0.5; // "center coefficient" from first bank
425 coef += halfNumCoef; // skip first filterbank (picked up by the last filterbank).
430 accum += cos(ix*w)*static_cast<double>(*coef++);
475 sc = static_cast<double>(*coef++) + dcos*sc - sp;
503 * @param coef is the designed polyphase filter banks
524 static void testFir(const T* coef, int L, int halfNumCoef,
530 double trf = firTransfer(coef, L, halfNumCoef, wstart);
537 trf = firTransfer(coef, L, halfNumCoef, wstart);
564 * @param coef is the designed polyphase filter banks
596 static void testFir(const T* coef, int L, int halfNumCoef,
601 testFir(coef, L, halfNumCoef, 0., fp, passSteps, fmin, fmax);
606 testFir(coef, L, halfNumCoef, fs, 0.5, stopSteps, fmin, fmax);
624 * @param coef is the caller allocated space for coefficients. This should be
643 static inline void firKaiserGen(T* coef, int L, int halfNumCoef,
700 *coef++ = static_cast<T>(toint(y, 1ULL<<(sizeof(T)*8-1), err));
702 *coef++ = static_cast<T>(toint(y, 1ULL<<(sizeof(T)*8-1)));
704 *coef++ = static_cast<T>(y);