From b86e88413d4c6ec428aaedb147f7675f28882fe4 Mon Sep 17 00:00:00 2001 From: drowe67 Date: Fri, 14 Jul 2023 12:36:50 +0930 Subject: clang-format -i applied to src unittest misc --- src/filter.h | 28 +++++++++++++++------------- 1 file changed, 15 insertions(+), 13 deletions(-) (limited to 'src/filter.h') diff --git a/src/filter.h b/src/filter.h index ba48424..087c9b6 100644 --- a/src/filter.h +++ b/src/filter.h @@ -20,22 +20,24 @@ #include -struct quisk_cfFilter { // Structure to hold the static data for FIR filters - float * dCoefs; // real filter coefficients - complex float * cpxCoefs; // complex filter coefficients - int nBuf; // dimension of cBuf - int nTaps; // dimension of dSamples, cSamples, dCoefs - int decim_index; // index of next sample for decimation - complex float * cSamples; // storage for old samples - complex float * ptcSamp; // next available position in cSamples - complex float * cBuf; // auxiliary buffer for interpolation -} ; - -extern int quisk_cfInterpDecim(complex float *, int, struct quisk_cfFilter *, int, int); +struct quisk_cfFilter { // Structure to hold the static data for FIR filters + float *dCoefs; // real filter coefficients + complex float *cpxCoefs; // complex filter coefficients + int nBuf; // dimension of cBuf + int nTaps; // dimension of dSamples, cSamples, dCoefs + int decim_index; // index of next sample for decimation + complex float *cSamples; // storage for old samples + complex float *ptcSamp; // next available position in cSamples + complex float *cBuf; // auxiliary buffer for interpolation +}; + +extern int quisk_cfInterpDecim(complex float *, int, struct quisk_cfFilter *, + int, int); extern void quisk_filt_cfInit(struct quisk_cfFilter *, float *, int); extern void quisk_filt_destroy(struct quisk_cfFilter *); extern void quisk_cfTune(struct quisk_cfFilter *, float); -extern void quisk_ccfFilter(complex float *, complex float *, int, struct quisk_cfFilter *); +extern void quisk_ccfFilter(complex float *, complex float *, int, + struct quisk_cfFilter *); extern float filtP400S600[100]; extern float filtP550S750[160]; -- cgit v1.2.3