1 #include "Test.h" 2 #include "Pattern.h" 3 4 #include "dsp/transform_functions.h" 5 6 class MFCCQ31:public Client::Suite 7 { 8 public: 9 MFCCQ31(Testing::testID_t id); 10 virtual void setUp(Testing::testID_t,std::vector<Testing::param_t>& params,Client::PatternMgr *mgr); 11 virtual void tearDown(Testing::testID_t,Client::PatternMgr *mgr); 12 private: 13 #include "MFCCQ31_decl.h" 14 15 Client::Pattern<q31_t> input1; 16 Client::Pattern<q31_t> input2; 17 Client::LocalPattern<q31_t> output; 18 Client::LocalPattern<q31_t> tmp; 19 Client::LocalPattern<q31_t> tmpin; 20 21 // Reference patterns are not loaded when we are in dump mode 22 Client::RefPattern<q31_t> ref; 23 24 arm_mfcc_instance_q31 mfcc; 25 26 uint32_t fftLen; 27 28 }; 29