Lines Matching full:output

25 	float32_t *output;  in test_arm_cmplx_conj_f32()  local
30 /* Allocate output buffer */ in test_arm_cmplx_conj_f32()
31 output = malloc(buf_length * sizeof(float32_t)); in test_arm_cmplx_conj_f32()
32 zassert_not_null(output, ASSERT_MSG_BUFFER_ALLOC_FAILED); in test_arm_cmplx_conj_f32()
35 arm_cmplx_conj_f32((float32_t *)input1, output, length); in test_arm_cmplx_conj_f32()
37 /* Validate output */ in test_arm_cmplx_conj_f32()
39 test_snr_error_f32(buf_length, output, (float32_t *)ref, in test_arm_cmplx_conj_f32()
44 test_rel_error_f32(buf_length, output, (float32_t *)ref, in test_arm_cmplx_conj_f32()
48 /* Free output buffer */ in test_arm_cmplx_conj_f32()
49 free(output); in test_arm_cmplx_conj_f32()
60 float32_t *output; in test_arm_cmplx_dot_prod_f32() local
62 /* Allocate output buffer */ in test_arm_cmplx_dot_prod_f32()
63 output = malloc(2 * sizeof(float32_t)); in test_arm_cmplx_dot_prod_f32()
64 zassert_not_null(output, ASSERT_MSG_BUFFER_ALLOC_FAILED); in test_arm_cmplx_dot_prod_f32()
69 &output[0], &output[1]); in test_arm_cmplx_dot_prod_f32()
71 /* Validate output */ in test_arm_cmplx_dot_prod_f32()
73 test_snr_error_f32(2, output, (float32_t *)ref, in test_arm_cmplx_dot_prod_f32()
78 test_rel_error_f32(2, output, (float32_t *)ref, in test_arm_cmplx_dot_prod_f32()
82 /* Free output buffer */ in test_arm_cmplx_dot_prod_f32()
83 free(output); in test_arm_cmplx_dot_prod_f32()
96 float32_t *output; in test_arm_cmplx_mag_f32() local
98 /* Allocate output buffer */ in test_arm_cmplx_mag_f32()
99 output = malloc(length * sizeof(float32_t)); in test_arm_cmplx_mag_f32()
100 zassert_not_null(output, ASSERT_MSG_BUFFER_ALLOC_FAILED); in test_arm_cmplx_mag_f32()
103 arm_cmplx_mag_f32((float32_t *)input1, output, length); in test_arm_cmplx_mag_f32()
105 /* Validate output */ in test_arm_cmplx_mag_f32()
107 test_snr_error_f32(length, output, (float32_t *)ref, in test_arm_cmplx_mag_f32()
112 test_rel_error_f32(length, output, (float32_t *)ref, in test_arm_cmplx_mag_f32()
116 /* Free output buffer */ in test_arm_cmplx_mag_f32()
117 free(output); in test_arm_cmplx_mag_f32()
127 float32_t *output; in test_arm_cmplx_mag_squared_f32() local
129 /* Allocate output buffer */ in test_arm_cmplx_mag_squared_f32()
130 output = malloc(length * sizeof(float32_t)); in test_arm_cmplx_mag_squared_f32()
131 zassert_not_null(output, ASSERT_MSG_BUFFER_ALLOC_FAILED); in test_arm_cmplx_mag_squared_f32()
134 arm_cmplx_mag_squared_f32((float32_t *)input1, output, length); in test_arm_cmplx_mag_squared_f32()
136 /* Validate output */ in test_arm_cmplx_mag_squared_f32()
138 test_snr_error_f32(length, output, (float32_t *)ref, in test_arm_cmplx_mag_squared_f32()
143 test_rel_error_f32(length, output, (float32_t *)ref, in test_arm_cmplx_mag_squared_f32()
147 /* Free output buffer */ in test_arm_cmplx_mag_squared_f32()
148 free(output); in test_arm_cmplx_mag_squared_f32()
160 float32_t *output; in test_arm_cmplx_mult_cmplx_f32() local
165 /* Allocate output buffer */ in test_arm_cmplx_mult_cmplx_f32()
166 output = malloc(buf_length * sizeof(float32_t)); in test_arm_cmplx_mult_cmplx_f32()
167 zassert_not_null(output, ASSERT_MSG_BUFFER_ALLOC_FAILED); in test_arm_cmplx_mult_cmplx_f32()
171 (float32_t *)input1, (float32_t *)input2, output, length); in test_arm_cmplx_mult_cmplx_f32()
173 /* Validate output */ in test_arm_cmplx_mult_cmplx_f32()
175 test_snr_error_f32(buf_length, output, (float32_t *)ref, in test_arm_cmplx_mult_cmplx_f32()
180 test_rel_error_f32(buf_length, output, (float32_t *)ref, in test_arm_cmplx_mult_cmplx_f32()
184 /* Free output buffer */ in test_arm_cmplx_mult_cmplx_f32()
185 free(output); in test_arm_cmplx_mult_cmplx_f32()
200 float32_t *output; in test_arm_cmplx_mult_real_f32() local
205 /* Allocate output buffer */ in test_arm_cmplx_mult_real_f32()
206 output = malloc(buf_length * sizeof(float32_t)); in test_arm_cmplx_mult_real_f32()
207 zassert_not_null(output, ASSERT_MSG_BUFFER_ALLOC_FAILED); in test_arm_cmplx_mult_real_f32()
211 (float32_t *)input1, (float32_t *)input2, output, length); in test_arm_cmplx_mult_real_f32()
213 /* Validate output */ in test_arm_cmplx_mult_real_f32()
216 buf_length, output, (float32_t *)ref, in test_arm_cmplx_mult_real_f32()
222 buf_length, output, (float32_t *)ref, in test_arm_cmplx_mult_real_f32()
226 /* Free output buffer */ in test_arm_cmplx_mult_real_f32()
227 free(output); in test_arm_cmplx_mult_real_f32()