Lines Matching full:output

29 	/* Validate output */  in test_arm_max_q15()
50 /* Validate output */ in test_arm_min_q15()
71 /* Validate output */ in test_arm_absmax_q15()
92 /* Validate output */ in test_arm_absmin_q15()
108 q15_t *output; in test_arm_mean_q15() local
113 /* Allocate output buffer */ in test_arm_mean_q15()
114 output = malloc(1 * sizeof(q15_t)); in test_arm_mean_q15()
115 zassert_not_null(output, ASSERT_MSG_BUFFER_ALLOC_FAILED); in test_arm_mean_q15()
118 arm_mean_q15(input1, length, &output[0]); in test_arm_mean_q15()
120 /* Validate output */ in test_arm_mean_q15()
122 test_snr_error_q15(1, output, ref, SNR_ERROR_THRESH), in test_arm_mean_q15()
126 test_near_equal_q15(1, output, ref, ABS_ERROR_THRESH_Q15), in test_arm_mean_q15()
129 /* Free output buffer */ in test_arm_mean_q15()
130 free(output); in test_arm_mean_q15()
141 q63_t *output; in test_arm_power_q15() local
146 /* Allocate output buffer */ in test_arm_power_q15()
147 output = malloc(1 * sizeof(q63_t)); in test_arm_power_q15()
148 zassert_not_null(output, ASSERT_MSG_BUFFER_ALLOC_FAILED); in test_arm_power_q15()
151 arm_power_q15(input1, length, &output[0]); in test_arm_power_q15()
153 /* Validate output */ in test_arm_power_q15()
155 test_snr_error_q63(1, output, ref, SNR_ERROR_THRESH), in test_arm_power_q15()
159 test_near_equal_q63(1, output, ref, ABS_ERROR_THRESH_Q63), in test_arm_power_q15()
162 /* Free output buffer */ in test_arm_power_q15()
163 free(output); in test_arm_power_q15()
174 q15_t *output; in test_arm_rms_q15() local
179 /* Allocate output buffer */ in test_arm_rms_q15()
180 output = malloc(1 * sizeof(q15_t)); in test_arm_rms_q15()
181 zassert_not_null(output, ASSERT_MSG_BUFFER_ALLOC_FAILED); in test_arm_rms_q15()
184 arm_rms_q15(input1, length, &output[0]); in test_arm_rms_q15()
186 /* Validate output */ in test_arm_rms_q15()
188 test_snr_error_q15(1, output, ref, SNR_ERROR_THRESH), in test_arm_rms_q15()
192 test_near_equal_q15(1, output, ref, ABS_ERROR_THRESH_Q15), in test_arm_rms_q15()
195 /* Free output buffer */ in test_arm_rms_q15()
196 free(output); in test_arm_rms_q15()
207 q15_t *output; in test_arm_std_q15() local
212 /* Allocate output buffer */ in test_arm_std_q15()
213 output = malloc(1 * sizeof(q15_t)); in test_arm_std_q15()
214 zassert_not_null(output, ASSERT_MSG_BUFFER_ALLOC_FAILED); in test_arm_std_q15()
217 arm_std_q15(input1, length, &output[0]); in test_arm_std_q15()
219 /* Validate output */ in test_arm_std_q15()
221 test_snr_error_q15(1, output, ref, SNR_ERROR_THRESH), in test_arm_std_q15()
225 test_near_equal_q15(1, output, ref, ABS_ERROR_THRESH_Q15), in test_arm_std_q15()
228 /* Free output buffer */ in test_arm_std_q15()
229 free(output); in test_arm_std_q15()
240 q15_t *output; in test_arm_var_q15() local
245 /* Allocate output buffer */ in test_arm_var_q15()
246 output = malloc(1 * sizeof(q15_t)); in test_arm_var_q15()
247 zassert_not_null(output, ASSERT_MSG_BUFFER_ALLOC_FAILED); in test_arm_var_q15()
250 arm_var_q15(input1, length, &output[0]); in test_arm_var_q15()
252 /* Validate output */ in test_arm_var_q15()
254 test_snr_error_q15(1, output, ref, SNR_ERROR_THRESH), in test_arm_var_q15()
258 test_near_equal_q15(1, output, ref, ABS_ERROR_THRESH_Q15), in test_arm_var_q15()
261 /* Free output buffer */ in test_arm_var_q15()
262 free(output); in test_arm_var_q15()