1 #include "Test.h" 2 #include "Pattern.h" 3 4 #include "dsp/filtering_functions.h" 5 6 class BIQUADF32:public Client::Suite 7 { 8 public: 9 BIQUADF32(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 "BIQUADF32_decl.h" 14 15 Client::Pattern<float32_t> coefs; 16 Client::Pattern<float32_t> inputs; 17 Client::Pattern<int16_t> configs; 18 Client::LocalPattern<float32_t> output; 19 Client::LocalPattern<float32_t> state; 20 Client::LocalPattern<float32_t> debugstate; 21 Client::LocalPattern<float32_t> vecCoefs; 22 // Reference patterns are not loaded when we are in dump mode 23 Client::RefPattern<float32_t> ref; 24 25 26 arm_biquad_casd_df1_inst_f32 Sdf1; 27 arm_biquad_cascade_df2T_instance_f32 Sdf2T; 28 arm_biquad_cascade_stereo_df2T_instance_f32 SStereodf2T; 29 30 }; 31