Lines Matching refs:L
423 static inline double firTransfer(const T* coef, int L, int halfNumCoef, double w) {
428 for (int i=1 ; i<=L ; ++i) {
429 for (int j=0, ix=i ; j<halfNumCoef ; ++j, ix+=L) {
466 double dcos = 2. * cos(L*w);
467 int start = ((halfNumCoef)*L + 1);
468 SineGen cc((start - L) * w, w, true); // cosine
470 for (int i=1 ; i<=L ; ++i) {
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);
551 const double norm = 1. / (int64_t{L} << integralShift);
600 static void testFir(const T* coef, int L, int halfNumCoef,
605 testFir(coef, L, halfNumCoef, 0., fp, passSteps, fmin, fmax);
610 testFir(coef, L, halfNumCoef, fs, 0.5, stopSteps, fmin, fmax);
715 static inline void firKaiserGen(T* coef, int L, int halfNumCoef,
717 const int N = L * halfNumCoef; // non-negative half
719 const double xstep = (2. * M_PI) * fcr / L;
721 const double yscale = atten * L / (I0(beta) * M_PI);
727 SineGenGen sgg(0., xstep, L*xstep); // generates sine generators (one per polyphase)
729 for (int i=0 ; i<=L ; ++i) { // generate an extra set of coefs for interpolation
735 for (int j=0, ix=i ; j<halfNumCoef ; ++j, ix+=L) {