RTXI  2.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
mr_lpf.h
Go to the documentation of this file.
1 //
2 // File = mr_lpf.h
3 //
4 
5 #ifndef _MR_LPF_H_
6 #define _MR_LPF_H_
7 
8 #include "filt_imp.h"
9 #include "fir_dsgn.h"
10 #include "typedefs.h"
11 
13 {
14 public:
15  MultirateLowpass(FirFilterDesign* dec_proto_filt,
16  FirFilterDesign* int_proto_filt, int decim_rate,
17  logical quan_enab, long input_quant_factor,
18  long coeff_quant_factor);
20  double ProcessSample(double input_val);
21  long ProcessSample(long input_val);
22  int GetNumTaps(void);
23 
24 private:
25  int Dec_Rate;
26  int Dec_Rho;
28 
29  int Int_Rate;
30  int Int_Rho;
32 
33  double Dec_Out;
34  double Int_In;
38  int Num_Taps;
39 };
40 
41 #endif
double ProcessSample(double input_val)
Definition: mr_lpf.cpp:77
long Quan_Int_In
Definition: mr_lpf.h:36
int logical
Definition: typedefs.h:4
MultirateLowpass(FirFilterDesign *dec_proto_filt, FirFilterDesign *int_proto_filt, int decim_rate, logical quan_enab, long input_quant_factor, long coeff_quant_factor)
Definition: mr_lpf.cpp:14
logical Quan_Enab
Definition: mr_lpf.h:37
FilterImplementation ** Int_Filt
Definition: mr_lpf.h:31
FilterImplementation ** Dec_Filt
Definition: mr_lpf.h:27
int GetNumTaps(void)
Definition: mr_lpf.cpp:128
long Quan_Dec_Out
Definition: mr_lpf.h:35
double Int_In
Definition: mr_lpf.h:34
double Dec_Out
Definition: mr_lpf.h:33