Lines Matching refs:ref
33 for(i=0; i < ref.nbSamples(); i++) in test_atan2_scalar_q31()
41 ASSERT_SNR(ref,output,(q31_t)SNR_THRESHOLD); in test_atan2_scalar_q31()
42 ASSERT_NEAR_EQ(ref,output,ABS_ATAN_ERROR); in test_atan2_scalar_q31()
50 arm_vlog_q31(inp,outp,ref.nbSamples()); in test_vlog_q31()
53 ASSERT_SNR(ref,output,(float32_t)SNR_THRESHOLD); in test_vlog_q31()
54 ASSERT_NEAR_EQ(ref,output,LOG_ABS_ERROR); in test_vlog_q31()
68 for(unsigned long i=0; i < ref.nbSamples(); i++) in test_division_q31()
76 ASSERT_SNR(ref,output,(float32_t)SNR_THRESHOLD); in test_division_q31()
77 ASSERT_NEAR_EQ(ref,output,ABS_DIV_ERROR); in test_division_q31()
89 for(i=0; i < ref.nbSamples(); i++) in test_cos_q31()
94 ASSERT_SNR(ref,output,(float32_t)SNR_THRESHOLD); in test_cos_q31()
95 ASSERT_NEAR_EQ(ref,output,ABS_ERROR); in test_cos_q31()
105 for(i=0; i < ref.nbSamples(); i++) in test_sin_q31()
110 ASSERT_SNR(ref,output,(float32_t)SNR_THRESHOLD); in test_sin_q31()
111 ASSERT_NEAR_EQ(ref,output,ABS_ERROR); in test_sin_q31()
122 for(i=0; i < ref.nbSamples(); i++) in test_sqrt_q31()
129 ASSERT_NEAR_EQ(ref,output,ABS_SQRT_ERROR); in test_sqrt_q31()
140 for(unsigned long i=0; i < ref.nbSamples(); i++) in test_recip_q31()
146 ASSERT_SNR(ref,output,(float32_t)SNR_THRESHOLD); in test_recip_q31()
147 ASSERT_NEAR_EQ(ref,output,RECIP_ERROR); in test_recip_q31()
160 ref.reload(FastMathQ31::COS1_Q31_ID,mgr); in setUp()
161 output.create(ref.nbSamples(),FastMathQ31::OUT_Q31_ID,mgr); in setUp()
169 ref.reload(FastMathQ31::SIN1_Q31_ID,mgr); in setUp()
170 output.create(ref.nbSamples(),FastMathQ31::OUT_Q31_ID,mgr); in setUp()
178 ref.reload(FastMathQ31::SQRT1_Q31_ID,mgr); in setUp()
179 output.create(ref.nbSamples(),FastMathQ31::OUT_Q31_ID,mgr); in setUp()
189 ref.reload(FastMathQ31::DIVISION_VALUE_Q31_ID,mgr); in setUp()
192 output.create(ref.nbSamples(),FastMathQ31::OUT_Q31_ID,mgr); in setUp()
193 shift.create(ref.nbSamples(),FastMathQ31::SHIFT_S16_ID,mgr); in setUp()
201 ref.reload(FastMathQ31::LOG1_Q31_ID,mgr); in setUp()
202 output.create(ref.nbSamples(),FastMathQ31::OUT_Q31_ID,mgr); in setUp()
210 ref.reload(FastMathQ31::LOG1_Q31_ID,mgr,3); in setUp()
211 output.create(ref.nbSamples(),FastMathQ31::OUT_Q31_ID,mgr); in setUp()
219 ref.reload(FastMathQ31::LOG1_Q31_ID,mgr,8); in setUp()
220 output.create(ref.nbSamples(),FastMathQ31::OUT_Q31_ID,mgr); in setUp()
228 ref.reload(FastMathQ31::LOG1_Q31_ID,mgr,11); in setUp()
229 output.create(ref.nbSamples(),FastMathQ31::OUT_Q31_ID,mgr); in setUp()
237 ref.reload(FastMathQ31::ATAN2_Q31_ID,mgr); in setUp()
238 output.create(ref.nbSamples(),FastMathQ31::OUT_Q31_ID,mgr); in setUp()
246 ref.reload(FastMathQ31::RECIP_VAL_Q31_ID,mgr); in setUp()
249 output.create(ref.nbSamples(),FastMathQ31::OUT_Q31_ID,mgr); in setUp()
250 shift.create(ref.nbSamples(),FastMathQ31::SHIFT_S16_ID,mgr); in setUp()