/usr/include/rem/rem_fir.h is in librem-dev 0.5.2-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | /**
* @file rem_fir.h Finite Impulse Response (FIR) functions
*
* Copyright (C) 2010 Creytiv.com
*/
/** Defines the fir filter state */
struct fir {
int16_t history[256]; /**< Previous samples */
unsigned index; /**< Sample index */
};
void fir_reset(struct fir *fir);
void fir_filter(struct fir *fir, int16_t *outv, const int16_t *inv, size_t inc,
unsigned ch, const int16_t *tapv, size_t tapc);
|