-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathIIR_Filter.h
42 lines (33 loc) · 941 Bytes
/
IIR_Filter.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
/*
* File: IIR_Filter.h
* Author: Duy Ngo
*
* Created on November 2, 2019, 12:38 PM
*/
#ifndef MDS_IIR_H
#define MDS_IIR_H
/* .......................................................................... */
typedef struct
{
int numSectionsLess1;
int *pCoefs;
int psvpage;
int *pStates;
int initialGain;
int finalShift;
} IIRCanonicFilter;
typedef struct
{
int numSectionsLess1;
int *pCoefs;
int psvpage;
int *pStates1;
int *pStates2;
int finalShift;
} IIRTransposeFilter;
extern void BlockIIRCanonicFilter( IIRCanonicFilter *, int *, int *, int );
extern void IIRCanonicFilterInit( IIRCanonicFilter *pFilter );
extern void BlockIIRTransposeFilter( IIRTransposeFilter *, int *, int *, int );
extern void IIRTransposeFilterInit( IIRTransposeFilter *);
/* .......................................................................... */
#endif /* MDS_IIR_H */