Lines Matching full:output
27 q15_t *output; in test_arm_cmplx_conj_q15() local
32 /* Allocate output buffer */ in test_arm_cmplx_conj_q15()
33 output = malloc(buf_length * sizeof(q15_t)); in test_arm_cmplx_conj_q15()
34 zassert_not_null(output, ASSERT_MSG_BUFFER_ALLOC_FAILED); in test_arm_cmplx_conj_q15()
37 arm_cmplx_conj_q15(input1, output, length); in test_arm_cmplx_conj_q15()
39 /* Validate output */ in test_arm_cmplx_conj_q15()
41 test_snr_error_q15(buf_length, output, ref, SNR_ERROR_THRESH), in test_arm_cmplx_conj_q15()
45 test_near_equal_q15(buf_length, output, ref, in test_arm_cmplx_conj_q15()
49 /* Free output buffer */ in test_arm_cmplx_conj_q15()
50 free(output); in test_arm_cmplx_conj_q15()
61 q31_t *output; in test_arm_cmplx_dot_prod_q15() local
63 /* Allocate output buffer */ in test_arm_cmplx_dot_prod_q15()
64 output = malloc(2 * sizeof(q31_t)); in test_arm_cmplx_dot_prod_q15()
65 zassert_not_null(output, ASSERT_MSG_BUFFER_ALLOC_FAILED); in test_arm_cmplx_dot_prod_q15()
68 arm_cmplx_dot_prod_q15(input1, input2, length, &output[0], &output[1]); in test_arm_cmplx_dot_prod_q15()
70 /* Validate output */ in test_arm_cmplx_dot_prod_q15()
72 test_snr_error_q31(2, output, ref, SNR_ERROR_THRESH), in test_arm_cmplx_dot_prod_q15()
76 test_near_equal_q31(2, output, ref, ABS_ERROR_THRESH_Q31), in test_arm_cmplx_dot_prod_q15()
79 /* Free output buffer */ in test_arm_cmplx_dot_prod_q15()
80 free(output); in test_arm_cmplx_dot_prod_q15()
93 q15_t *output; in test_arm_cmplx_mag_q15() local
95 /* Allocate output buffer */ in test_arm_cmplx_mag_q15()
96 output = malloc(length * sizeof(q15_t)); in test_arm_cmplx_mag_q15()
97 zassert_not_null(output, ASSERT_MSG_BUFFER_ALLOC_FAILED); in test_arm_cmplx_mag_q15()
100 arm_cmplx_mag_q15(input1, output, length); in test_arm_cmplx_mag_q15()
102 /* Validate output */ in test_arm_cmplx_mag_q15()
104 test_snr_error_q15(length, output, ref, SNR_ERROR_THRESH_HIGH), in test_arm_cmplx_mag_q15()
108 test_near_equal_q15(length, output, ref, ABS_ERROR_THRESH_Q15), in test_arm_cmplx_mag_q15()
111 /* Free output buffer */ in test_arm_cmplx_mag_q15()
112 free(output); in test_arm_cmplx_mag_q15()
122 q15_t *output; in test_arm_cmplx_mag_squared_q15() local
124 /* Allocate output buffer */ in test_arm_cmplx_mag_squared_q15()
125 output = malloc(length * sizeof(q15_t)); in test_arm_cmplx_mag_squared_q15()
126 zassert_not_null(output, ASSERT_MSG_BUFFER_ALLOC_FAILED); in test_arm_cmplx_mag_squared_q15()
129 arm_cmplx_mag_squared_q15(input1, output, length); in test_arm_cmplx_mag_squared_q15()
131 /* Validate output */ in test_arm_cmplx_mag_squared_q15()
133 test_snr_error_q15(length, output, ref, SNR_ERROR_THRESH), in test_arm_cmplx_mag_squared_q15()
137 test_near_equal_q15(length, output, ref, ABS_ERROR_THRESH_Q15), in test_arm_cmplx_mag_squared_q15()
140 /* Free output buffer */ in test_arm_cmplx_mag_squared_q15()
141 free(output); in test_arm_cmplx_mag_squared_q15()
153 q15_t *output; in test_arm_cmplx_mult_cmplx_q15() local
158 /* Allocate output buffer */ in test_arm_cmplx_mult_cmplx_q15()
159 output = malloc(buf_length * sizeof(q15_t)); in test_arm_cmplx_mult_cmplx_q15()
160 zassert_not_null(output, ASSERT_MSG_BUFFER_ALLOC_FAILED); in test_arm_cmplx_mult_cmplx_q15()
163 arm_cmplx_mult_cmplx_q15(input1, input2, output, length); in test_arm_cmplx_mult_cmplx_q15()
165 /* Validate output */ in test_arm_cmplx_mult_cmplx_q15()
167 test_snr_error_q15(buf_length, output, ref, SNR_ERROR_THRESH), in test_arm_cmplx_mult_cmplx_q15()
171 test_near_equal_q15(buf_length, output, ref, in test_arm_cmplx_mult_cmplx_q15()
175 /* Free output buffer */ in test_arm_cmplx_mult_cmplx_q15()
176 free(output); in test_arm_cmplx_mult_cmplx_q15()
191 q15_t *output; in test_arm_cmplx_mult_real_q15() local
196 /* Allocate output buffer */ in test_arm_cmplx_mult_real_q15()
197 output = malloc(buf_length * sizeof(q15_t)); in test_arm_cmplx_mult_real_q15()
198 zassert_not_null(output, ASSERT_MSG_BUFFER_ALLOC_FAILED); in test_arm_cmplx_mult_real_q15()
201 arm_cmplx_mult_real_q15(input1, input2, output, length); in test_arm_cmplx_mult_real_q15()
203 /* Validate output */ in test_arm_cmplx_mult_real_q15()
205 test_snr_error_q15(buf_length, output, ref, SNR_ERROR_THRESH), in test_arm_cmplx_mult_real_q15()
209 test_near_equal_q15(buf_length, output, ref, in test_arm_cmplx_mult_real_q15()
213 /* Free output buffer */ in test_arm_cmplx_mult_real_q15()
214 free(output); in test_arm_cmplx_mult_real_q15()