Lines Matching refs:output
124 float32_t *output; in test_arm_mean_f32() local
130 output = malloc(1 * sizeof(float32_t)); in test_arm_mean_f32()
131 zassert_not_null(output, ASSERT_MSG_BUFFER_ALLOC_FAILED); in test_arm_mean_f32()
134 arm_mean_f32((float32_t *)input1, length, &output[0]); in test_arm_mean_f32()
138 test_snr_error_f32(1, output, ref, SNR_ERROR_THRESH), in test_arm_mean_f32()
142 test_rel_error_f32(1, output, ref, REL_ERROR_THRESH), in test_arm_mean_f32()
146 free(output); in test_arm_mean_f32()
157 float32_t *output; in test_arm_power_f32() local
163 output = malloc(1 * sizeof(float32_t)); in test_arm_power_f32()
164 zassert_not_null(output, ASSERT_MSG_BUFFER_ALLOC_FAILED); in test_arm_power_f32()
167 arm_power_f32((float32_t *)input1, length, &output[0]); in test_arm_power_f32()
171 test_snr_error_f32(1, output, ref, SNR_ERROR_THRESH), in test_arm_power_f32()
175 test_rel_error_f32(1, output, ref, REL_ERROR_THRESH), in test_arm_power_f32()
179 free(output); in test_arm_power_f32()
190 float32_t *output; in test_arm_rms_f32() local
196 output = malloc(1 * sizeof(float32_t)); in test_arm_rms_f32()
197 zassert_not_null(output, ASSERT_MSG_BUFFER_ALLOC_FAILED); in test_arm_rms_f32()
200 arm_rms_f32((float32_t *)input1, length, &output[0]); in test_arm_rms_f32()
204 test_snr_error_f32(1, output, ref, SNR_ERROR_THRESH), in test_arm_rms_f32()
208 test_rel_error_f32(1, output, ref, REL_ERROR_THRESH), in test_arm_rms_f32()
212 free(output); in test_arm_rms_f32()
223 float32_t *output; in test_arm_std_f32() local
229 output = malloc(1 * sizeof(float32_t)); in test_arm_std_f32()
230 zassert_not_null(output, ASSERT_MSG_BUFFER_ALLOC_FAILED); in test_arm_std_f32()
233 arm_std_f32((float32_t *)input1, length, &output[0]); in test_arm_std_f32()
237 test_snr_error_f32(1, output, ref, SNR_ERROR_THRESH), in test_arm_std_f32()
241 test_rel_error_f32(1, output, ref, REL_ERROR_THRESH), in test_arm_std_f32()
245 free(output); in test_arm_std_f32()
256 float32_t *output; in test_arm_var_f32() local
262 output = malloc(1 * sizeof(float32_t)); in test_arm_var_f32()
263 zassert_not_null(output, ASSERT_MSG_BUFFER_ALLOC_FAILED); in test_arm_var_f32()
266 arm_var_f32((float32_t *)input1, length, &output[0]); in test_arm_var_f32()
270 test_snr_error_f32(1, output, ref, SNR_ERROR_THRESH), in test_arm_var_f32()
274 test_rel_error_f32(1, output, ref, REL_ERROR_THRESH), in test_arm_var_f32()
278 free(output); in test_arm_var_f32()
291 float32_t *output; in ZTEST() local
297 output = malloc(length * sizeof(float32_t)); in ZTEST()
298 zassert_not_null(output, ASSERT_MSG_BUFFER_ALLOC_FAILED); in ZTEST()
302 output[index] = in ZTEST()
309 test_snr_error_f32(length, ref, output, SNR_ERROR_THRESH), in ZTEST()
313 test_near_equal_f32(length, ref, output, REL_ERROR_THRESH), in ZTEST()
317 free(output); in ZTEST()
326 float32_t *output; in ZTEST() local
332 output = malloc(length * sizeof(float32_t)); in ZTEST()
333 zassert_not_null(output, ASSERT_MSG_BUFFER_ALLOC_FAILED); in ZTEST()
337 output[index] = in ZTEST()
344 test_snr_error_f32(length, ref, output, SNR_ERROR_THRESH), in ZTEST()
348 test_near_equal_f32(length, ref, output, REL_ERROR_THRESH), in ZTEST()
352 free(output); in ZTEST()
362 float32_t *output; in ZTEST() local
368 output = malloc(length * sizeof(float32_t)); in ZTEST()
369 zassert_not_null(output, ASSERT_MSG_BUFFER_ALLOC_FAILED); in ZTEST()
373 output[index] = in ZTEST()
383 test_snr_error_f32(length, ref, output, SNR_ERROR_THRESH), in ZTEST()
387 test_near_equal_f32(length, ref, output, REL_ERROR_THRESH), in ZTEST()
391 free(output); in ZTEST()
401 float32_t *output; in ZTEST() local
408 output = malloc(length * sizeof(float32_t)); in ZTEST()
409 zassert_not_null(output, ASSERT_MSG_BUFFER_ALLOC_FAILED); in ZTEST()
416 output[index] = in ZTEST()
427 test_snr_error_f32(length, ref, output, SNR_ERROR_THRESH), in ZTEST()
431 test_near_equal_f32(length, ref, output, REL_ERROR_THRESH), in ZTEST()
435 free(output); in ZTEST()