Initial import
git-svn-id: http://moon:8086/svn/software/trunk/libsrc/fir@1 b431acfa-c32f-4a4a-93f1-934dc6c82436
This commit is contained in:
Executable
+37
@@ -0,0 +1,37 @@
|
||||
/******************************************************************************/
|
||||
/* iir.h
|
||||
/******************************************************************************/
|
||||
#ifndef FIRDECIM_H
|
||||
#define FIRDECIM_H
|
||||
|
||||
#define pi 3.1415926535897932384626433832795
|
||||
|
||||
|
||||
#if defined(__cplusplus)
|
||||
extern "C" {
|
||||
#endif
|
||||
/******************************************************************************/
|
||||
|
||||
typedef struct _sFIRDECIM
|
||||
{
|
||||
|
||||
float *pB;
|
||||
float *pX;
|
||||
int nCoefPerPhase;
|
||||
int firLen;
|
||||
int kL;
|
||||
}FIRDECIM;
|
||||
|
||||
|
||||
/******************************************************************************/
|
||||
|
||||
int FDfilter(struct _sFIRDECIM *pObj, float *pX, float *pY, int len);
|
||||
void FDinit(struct _sFIRDECIM *pObj, int kL, int nIp);
|
||||
void FDfree(struct _sFIRDECIM *pObj);
|
||||
|
||||
/******************************************************************************/
|
||||
#if defined(__cplusplus)
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* FIRDECIM_H */
|
||||
Reference in New Issue
Block a user