1 #include "Test.h"
2 #include "Pattern.h"
3 
4 #include "dsp/transform_functions.h"
5 
6 class TransformCQ31:public Client::Suite
7     {
8         public:
9             TransformCQ31(Testing::testID_t id);
10             virtual void setUp(Testing::testID_t,std::vector<Testing::param_t>& paramsArgs,Client::PatternMgr *mgr);
11             virtual void tearDown(Testing::testID_t,Client::PatternMgr *mgr);
12         private:
13             #include "TransformCQ31_decl.h"
14 
15             Client::Pattern<q31_t> input;
16             Client::LocalPattern<q31_t> outputfft;
17             Client::LocalPattern<q31_t> outputifft;
18 
19             Client::RefPattern<q31_t> ref;
20 
21             arm_cfft_instance_q31 instCfftQ31;
22 
23             int ifft;
24 
25             /*
26 
27             ifft pattern is using the output of the fft and the input of the fft.
28             Since output of the fft is scaled, the input is not recovered without an additional scaling.
29 
30 
31             */
32             int scaling;
33 
34             arm_status status;
35 
36     };
37