Lines Matching refs:ref

31         arm_vlog_q15(inp,outp,ref.nbSamples());  in test_vlog_q15()
33 ASSERT_SNR(ref,output,(float32_t)SNR_THRESHOLD); in test_vlog_q15()
34 ASSERT_NEAR_EQ(ref,output,LOG_ABS_ERROR); in test_vlog_q15()
47 for(i=0; i < ref.nbSamples(); i++) in test_atan2_scalar_q15()
56 ASSERT_SNR(ref,output,(q15_t)SNR_THRESHOLD); in test_atan2_scalar_q15()
57 ASSERT_NEAR_EQ(ref,output,ABS_ATAN_ERROR); in test_atan2_scalar_q15()
70 for(unsigned long i=0; i < ref.nbSamples(); i++) in test_division_q15()
77 ASSERT_SNR(ref,output,(float32_t)SNR_THRESHOLD); in test_division_q15()
78 ASSERT_NEAR_EQ(ref,output,DIV_ERROR); in test_division_q15()
90 for(i=0; i < ref.nbSamples(); i++) in test_cos_q15()
95 ASSERT_SNR(ref,output,(float32_t)SNR_THRESHOLD); in test_cos_q15()
96 ASSERT_NEAR_EQ(ref,output,ABS_ERROR); in test_cos_q15()
106 for(i=0; i < ref.nbSamples(); i++) in test_sin_q15()
111 ASSERT_SNR(ref,output,(float32_t)SNR_THRESHOLD); in test_sin_q15()
112 ASSERT_NEAR_EQ(ref,output,ABS_ERROR); in test_sin_q15()
124 for(i=0; i < ref.nbSamples(); i++) in test_sqrt_q15()
131 ASSERT_SNR(ref,output,(float32_t)SNR_THRESHOLD); in test_sqrt_q15()
132 ASSERT_NEAR_EQ(ref,output,ABS_SQRT_ERROR); in test_sqrt_q15()
143 for(unsigned long i=0; i < ref.nbSamples(); i++) in test_recip_q15()
149 ASSERT_SNR(ref,output,(float32_t)SNR_THRESHOLD); in test_recip_q15()
150 ASSERT_NEAR_EQ(ref,output,RECIP_ERROR); in test_recip_q15()
163 ref.reload(FastMathQ15::COS1_Q15_ID,mgr); in setUp()
164 output.create(ref.nbSamples(),FastMathQ15::OUT_Q15_ID,mgr); in setUp()
172 ref.reload(FastMathQ15::SIN1_Q15_ID,mgr); in setUp()
173 output.create(ref.nbSamples(),FastMathQ15::OUT_Q15_ID,mgr); in setUp()
181 ref.reload(FastMathQ15::SQRT1_Q15_ID,mgr); in setUp()
182 output.create(ref.nbSamples(),FastMathQ15::OUT_Q15_ID,mgr); in setUp()
192 ref.reload(FastMathQ15::DIVISION_VALUE_Q15_ID,mgr); in setUp()
195 output.create(ref.nbSamples(),FastMathQ15::OUT_Q15_ID,mgr); in setUp()
196 shift.create(ref.nbSamples(),FastMathQ15::SHIFT_S16_ID,mgr); in setUp()
204 ref.reload(FastMathQ15::LOG1_Q15_ID,mgr); in setUp()
205 output.create(ref.nbSamples(),FastMathQ15::OUT_Q15_ID,mgr); in setUp()
213 ref.reload(FastMathQ15::LOG1_Q15_ID,mgr,7); in setUp()
214 output.create(ref.nbSamples(),FastMathQ15::OUT_Q15_ID,mgr); in setUp()
222 ref.reload(FastMathQ15::LOG1_Q15_ID,mgr,16); in setUp()
223 output.create(ref.nbSamples(),FastMathQ15::OUT_Q15_ID,mgr); in setUp()
231 ref.reload(FastMathQ15::LOG1_Q15_ID,mgr,23); in setUp()
232 output.create(ref.nbSamples(),FastMathQ15::OUT_Q15_ID,mgr); in setUp()
240 ref.reload(FastMathQ15::ATAN2_Q15_ID,mgr); in setUp()
241 output.create(ref.nbSamples(),FastMathQ15::OUT_Q15_ID,mgr); in setUp()
249 ref.reload(FastMathQ15::RECIP_VAL_Q15_ID,mgr); in setUp()
252 output.create(ref.nbSamples(),FastMathQ15::OUT_Q15_ID,mgr); in setUp()
253 shift.create(ref.nbSamples(),FastMathQ15::SHIFT_S16_ID,mgr); in setUp()