-
Notifications
You must be signed in to change notification settings - Fork 151
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add tests for decimate_f64 and add the function to the pack list of f…
…unctions.
- Loading branch information
1 parent
fde11a6
commit 77b7b09
Showing
15 changed files
with
7,870 additions
and
89 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
#include "Test.h" | ||
#include "Pattern.h" | ||
|
||
#include "dsp/filtering_functions.h" | ||
|
||
class DECIMF64:public Client::Suite | ||
{ | ||
public: | ||
DECIMF64(Testing::testID_t id); | ||
virtual void setUp(Testing::testID_t,std::vector<Testing::param_t>& params,Client::PatternMgr *mgr); | ||
virtual void tearDown(Testing::testID_t,Client::PatternMgr *mgr); | ||
private: | ||
#include "DECIMF64_decl.h" | ||
|
||
Client::Pattern<float64_t> input; | ||
Client::Pattern<float64_t> coefs; | ||
Client::Pattern<uint32_t> config; | ||
|
||
Client::LocalPattern<float64_t> output; | ||
Client::LocalPattern<float64_t> state; | ||
// Reference patterns are not loaded when we are in dump mode | ||
Client::RefPattern<float64_t> ref; | ||
|
||
|
||
arm_fir_decimate_instance_f64 S; | ||
//arm_fir_interpolate_instance_f64 SI; | ||
|
||
int q; | ||
int numTaps; | ||
int blocksize; | ||
int refsize; | ||
|
||
arm_status status; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.