/* * FIR decimation of complex and real data with real coefficients. * These exist because the pure Haskell implementations are slow. * Uses SIMD instructions for performance. */ #include #include #include #include "common.h" /* * Real coefficients, real inputs */ void decimateRR(int num, int factor, int numCoeffs, float *coeffs, float *inBuf, float *outBuf){ int i, k; for(i=0, k=0; i