Initial import
git-svn-id: http://moon:8086/svn/software/trunk/libsrc/fir@1 b431acfa-c32f-4a4a-93f1-934dc6c82436
This commit is contained in:
@@ -0,0 +1,37 @@
|
||||
/******************************************************************************/
|
||||
/* iir.h
|
||||
/******************************************************************************/
|
||||
#ifndef FIR_H
|
||||
#define FIR_H
|
||||
|
||||
#define pi 3.1415926535897932384626433832795
|
||||
|
||||
|
||||
#if defined(__cplusplus)
|
||||
extern "C" {
|
||||
#endif
|
||||
/******************************************************************************/
|
||||
|
||||
typedef struct _sFIRCoeff
|
||||
{
|
||||
|
||||
float *pB;
|
||||
float *pX;
|
||||
|
||||
}FIRCOEFF;
|
||||
|
||||
void Sinc(float *pY, int M, float s, float f, int len);
|
||||
|
||||
/******************************************************************************/
|
||||
void FIRCalcDCRemovalCoeff(struct _sFIRCoeff *pCoeff, int N);
|
||||
void FIR(struct _sFIRCoeff *pCoeff, float *xn, float *yn, int order, int len);
|
||||
void FIRInit(struct _sFIRCoeff *pCoeff, float *pB, int order);
|
||||
void FIRAlloc(struct _sFIRCoeff *pCoeff, int order);
|
||||
void FIRFree(struct _sFIRCoeff *pCoeff);
|
||||
|
||||
/******************************************************************************/
|
||||
#if defined(__cplusplus)
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* FIR_H */
|
||||
Reference in New Issue
Block a user