Lines Matching full:output
26 q31_t *output; in test_arm_cmplx_conj_q31() local
31 /* Allocate output buffer */ in test_arm_cmplx_conj_q31()
32 output = malloc(buf_length * sizeof(q31_t)); in test_arm_cmplx_conj_q31()
33 zassert_not_null(output, ASSERT_MSG_BUFFER_ALLOC_FAILED); in test_arm_cmplx_conj_q31()
36 arm_cmplx_conj_q31(input1, output, length); in test_arm_cmplx_conj_q31()
38 /* Validate output */ in test_arm_cmplx_conj_q31()
40 test_snr_error_q31(buf_length, output, ref, SNR_ERROR_THRESH), in test_arm_cmplx_conj_q31()
44 test_near_equal_q31(buf_length, output, ref, in test_arm_cmplx_conj_q31()
48 /* Free output buffer */ in test_arm_cmplx_conj_q31()
49 free(output); in test_arm_cmplx_conj_q31()
60 q63_t *output; in test_arm_cmplx_dot_prod_q31() local
62 /* Allocate output buffer */ in test_arm_cmplx_dot_prod_q31()
63 output = malloc(2 * sizeof(q63_t)); in test_arm_cmplx_dot_prod_q31()
64 zassert_not_null(output, ASSERT_MSG_BUFFER_ALLOC_FAILED); in test_arm_cmplx_dot_prod_q31()
67 arm_cmplx_dot_prod_q31(input1, input2, length, &output[0], &output[1]); in test_arm_cmplx_dot_prod_q31()
69 /* Validate output */ in test_arm_cmplx_dot_prod_q31()
71 test_snr_error_q63(2, output, ref, SNR_ERROR_THRESH), in test_arm_cmplx_dot_prod_q31()
75 test_near_equal_q63(2, output, ref, ABS_ERROR_THRESH_Q63), in test_arm_cmplx_dot_prod_q31()
78 /* Free output buffer */ in test_arm_cmplx_dot_prod_q31()
79 free(output); in test_arm_cmplx_dot_prod_q31()
92 q31_t *output; in test_arm_cmplx_mag_q31() local
94 /* Allocate output buffer */ in test_arm_cmplx_mag_q31()
95 output = malloc(length * sizeof(q31_t)); in test_arm_cmplx_mag_q31()
96 zassert_not_null(output, ASSERT_MSG_BUFFER_ALLOC_FAILED); in test_arm_cmplx_mag_q31()
99 arm_cmplx_mag_q31(input1, output, length); in test_arm_cmplx_mag_q31()
101 /* Validate output */ in test_arm_cmplx_mag_q31()
103 test_snr_error_q31(length, output, ref, SNR_ERROR_THRESH), in test_arm_cmplx_mag_q31()
107 test_near_equal_q31(length, output, ref, ABS_ERROR_THRESH_Q31), in test_arm_cmplx_mag_q31()
110 /* Free output buffer */ in test_arm_cmplx_mag_q31()
111 free(output); in test_arm_cmplx_mag_q31()
121 q31_t *output; in test_arm_cmplx_mag_squared_q31() local
123 /* Allocate output buffer */ in test_arm_cmplx_mag_squared_q31()
124 output = malloc(length * sizeof(q31_t)); in test_arm_cmplx_mag_squared_q31()
125 zassert_not_null(output, ASSERT_MSG_BUFFER_ALLOC_FAILED); in test_arm_cmplx_mag_squared_q31()
128 arm_cmplx_mag_squared_q31(input1, output, length); in test_arm_cmplx_mag_squared_q31()
130 /* Validate output */ in test_arm_cmplx_mag_squared_q31()
132 test_snr_error_q31(length, output, ref, SNR_ERROR_THRESH), in test_arm_cmplx_mag_squared_q31()
136 test_near_equal_q31(length, output, ref, ABS_ERROR_THRESH_Q31), in test_arm_cmplx_mag_squared_q31()
139 /* Free output buffer */ in test_arm_cmplx_mag_squared_q31()
140 free(output); in test_arm_cmplx_mag_squared_q31()
152 q31_t *output; in test_arm_cmplx_mult_cmplx_q31() local
157 /* Allocate output buffer */ in test_arm_cmplx_mult_cmplx_q31()
158 output = malloc(buf_length * sizeof(q31_t)); in test_arm_cmplx_mult_cmplx_q31()
159 zassert_not_null(output, ASSERT_MSG_BUFFER_ALLOC_FAILED); in test_arm_cmplx_mult_cmplx_q31()
162 arm_cmplx_mult_cmplx_q31(input1, input2, output, length); in test_arm_cmplx_mult_cmplx_q31()
164 /* Validate output */ in test_arm_cmplx_mult_cmplx_q31()
166 test_snr_error_q31(buf_length, output, ref, SNR_ERROR_THRESH), in test_arm_cmplx_mult_cmplx_q31()
170 test_near_equal_q31(buf_length, output, ref, in test_arm_cmplx_mult_cmplx_q31()
174 /* Free output buffer */ in test_arm_cmplx_mult_cmplx_q31()
175 free(output); in test_arm_cmplx_mult_cmplx_q31()
190 q31_t *output; in test_arm_cmplx_mult_real_q31() local
195 /* Allocate output buffer */ in test_arm_cmplx_mult_real_q31()
196 output = malloc(buf_length * sizeof(q31_t)); in test_arm_cmplx_mult_real_q31()
197 zassert_not_null(output, ASSERT_MSG_BUFFER_ALLOC_FAILED); in test_arm_cmplx_mult_real_q31()
200 arm_cmplx_mult_real_q31(input1, input2, output, length); in test_arm_cmplx_mult_real_q31()
202 /* Validate output */ in test_arm_cmplx_mult_real_q31()
204 test_snr_error_q31(buf_length, output, ref, SNR_ERROR_THRESH), in test_arm_cmplx_mult_real_q31()
208 test_near_equal_q31(buf_length, output, ref, in test_arm_cmplx_mult_real_q31()
212 /* Free output buffer */ in test_arm_cmplx_mult_real_q31()
213 free(output); in test_arm_cmplx_mult_real_q31()