Lines Matching full:output
28 /* Validate output */ in test_arm_max_f32()
48 /* Validate output */ in test_arm_max_no_idx_f32()
66 /* Validate output */ in test_arm_min_f32()
87 /* Validate output */ in test_arm_absmax_f32()
108 /* Validate output */ in test_arm_absmin_f32()
124 float32_t *output; in test_arm_mean_f32() local
129 /* Allocate output buffer */ in test_arm_mean_f32()
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()
136 /* Validate output */ 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()
145 /* Free output buffer */ in test_arm_mean_f32()
146 free(output); in test_arm_mean_f32()
157 float32_t *output; in test_arm_power_f32() local
162 /* Allocate output buffer */ in test_arm_power_f32()
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()
169 /* Validate output */ 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()
178 /* Free output buffer */ in test_arm_power_f32()
179 free(output); in test_arm_power_f32()
190 float32_t *output; in test_arm_rms_f32() local
195 /* Allocate output buffer */ in test_arm_rms_f32()
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()
202 /* Validate output */ 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()
211 /* Free output buffer */ in test_arm_rms_f32()
212 free(output); in test_arm_rms_f32()
223 float32_t *output; in test_arm_std_f32() local
228 /* Allocate output buffer */ in test_arm_std_f32()
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()
235 /* Validate output */ 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()
244 /* Free output buffer */ in test_arm_std_f32()
245 free(output); in test_arm_std_f32()
256 float32_t *output; in test_arm_var_f32() local
261 /* Allocate output buffer */ in test_arm_var_f32()
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()
268 /* Validate output */ 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()
277 /* Free output buffer */ in test_arm_var_f32()
278 free(output); in test_arm_var_f32()
291 float32_t *output; in ZTEST() local
296 /* Allocate output buffer */ in ZTEST()
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()
307 /* Validate output */ 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()
316 /* Free output buffer */ in ZTEST()
317 free(output); in ZTEST()
326 float32_t *output; in ZTEST() local
331 /* Allocate output buffer */ in ZTEST()
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()
342 /* Validate output */ 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()
351 /* Free output buffer */ in ZTEST()
352 free(output); in ZTEST()
362 float32_t *output; in ZTEST() local
367 /* Allocate output buffer */ in ZTEST()
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()
381 /* Validate output */ 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()
390 /* Free output buffer */ 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()
425 /* Validate output */ 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()