git-svn-id: http://moon:8086/svn/software/trunk/libsrc/fir@1 b431acfa-c32f-4a4a-93f1-934dc6c82436
39 lines
907 B
C
Executable File
39 lines
907 B
C
Executable File
/******************************************************************************/
|
|
/* iir.h
|
|
/******************************************************************************/
|
|
#ifndef FIRINTERP_H
|
|
#define FIRINTERP_H
|
|
|
|
#define pi 3.1415926535897932384626433832795
|
|
|
|
|
|
#if defined(__cplusplus)
|
|
extern "C" {
|
|
#endif
|
|
/******************************************************************************/
|
|
|
|
typedef struct _sFIRIP
|
|
{
|
|
|
|
float *pB;
|
|
float *pX;
|
|
int nCoefPerPhase;
|
|
int firLen;
|
|
int kL;
|
|
|
|
}FIRIP;
|
|
|
|
|
|
/******************************************************************************/
|
|
|
|
int FIfilter(struct _sFIRIP *pObj, float *pX, float *pY, int len);
|
|
void FIinit(struct _sFIRIP *pObj, int kL, int nIp);
|
|
void FIfree(struct _sFIRIP *pObj);
|
|
|
|
/******************************************************************************/
|
|
#if defined(__cplusplus)
|
|
}
|
|
#endif
|
|
|
|
#endif /* FIRINTERP_H */
|