Lines Matching full:output
29 /* Validate output */ in test_arm_max_q31()
50 /* Validate output */ in test_arm_min_q31()
71 /* Validate output */ in test_arm_absmax_q31()
92 /* Validate output */ in test_arm_absmin_q31()
108 q31_t *output; in test_arm_mean_q31() local
113 /* Allocate output buffer */ in test_arm_mean_q31()
114 output = malloc(1 * sizeof(q31_t)); in test_arm_mean_q31()
115 zassert_not_null(output, ASSERT_MSG_BUFFER_ALLOC_FAILED); in test_arm_mean_q31()
118 arm_mean_q31(input1, length, &output[0]); in test_arm_mean_q31()
120 /* Validate output */ in test_arm_mean_q31()
122 test_snr_error_q31(1, output, ref, SNR_ERROR_THRESH), in test_arm_mean_q31()
126 test_near_equal_q31(1, output, ref, ABS_ERROR_THRESH_Q15), in test_arm_mean_q31()
129 /* Free output buffer */ in test_arm_mean_q31()
130 free(output); in test_arm_mean_q31()
141 q63_t *output; in test_arm_power_q31() local
146 /* Allocate output buffer */ in test_arm_power_q31()
147 output = malloc(1 * sizeof(q63_t)); in test_arm_power_q31()
148 zassert_not_null(output, ASSERT_MSG_BUFFER_ALLOC_FAILED); in test_arm_power_q31()
151 arm_power_q31(input1, length, &output[0]); in test_arm_power_q31()
153 /* Validate output */ in test_arm_power_q31()
155 test_snr_error_q63(1, output, ref, SNR_ERROR_THRESH), in test_arm_power_q31()
159 test_near_equal_q63(1, output, ref, ABS_ERROR_THRESH_Q63), in test_arm_power_q31()
162 /* Free output buffer */ in test_arm_power_q31()
163 free(output); in test_arm_power_q31()
174 q31_t *output; in test_arm_rms_q31() local
179 /* Allocate output buffer */ in test_arm_rms_q31()
180 output = malloc(1 * sizeof(q31_t)); in test_arm_rms_q31()
181 zassert_not_null(output, ASSERT_MSG_BUFFER_ALLOC_FAILED); in test_arm_rms_q31()
184 arm_rms_q31(input1, length, &output[0]); in test_arm_rms_q31()
186 /* Validate output */ in test_arm_rms_q31()
188 test_snr_error_q31(1, output, ref, SNR_ERROR_THRESH), in test_arm_rms_q31()
192 test_near_equal_q31(1, output, ref, ABS_ERROR_THRESH_Q15), in test_arm_rms_q31()
195 /* Free output buffer */ in test_arm_rms_q31()
196 free(output); in test_arm_rms_q31()
207 q31_t *output; in test_arm_std_q31() local
212 /* Allocate output buffer */ in test_arm_std_q31()
213 output = malloc(1 * sizeof(q31_t)); in test_arm_std_q31()
214 zassert_not_null(output, ASSERT_MSG_BUFFER_ALLOC_FAILED); in test_arm_std_q31()
217 arm_std_q31(input1, length, &output[0]); in test_arm_std_q31()
219 /* Validate output */ in test_arm_std_q31()
221 test_snr_error_q31(1, output, ref, SNR_ERROR_THRESH), in test_arm_std_q31()
225 test_near_equal_q31(1, output, ref, ABS_ERROR_THRESH_Q15), in test_arm_std_q31()
228 /* Free output buffer */ in test_arm_std_q31()
229 free(output); in test_arm_std_q31()
240 q31_t *output; in test_arm_var_q31() local
245 /* Allocate output buffer */ in test_arm_var_q31()
246 output = malloc(1 * sizeof(q31_t)); in test_arm_var_q31()
247 zassert_not_null(output, ASSERT_MSG_BUFFER_ALLOC_FAILED); in test_arm_var_q31()
250 arm_var_q31(input1, length, &output[0]); in test_arm_var_q31()
252 /* Validate output */ in test_arm_var_q31()
254 test_snr_error_q31(1, output, ref, SNR_ERROR_THRESH), in test_arm_var_q31()
258 test_near_equal_q31(1, output, ref, ABS_ERROR_THRESH_Q15), in test_arm_var_q31()
261 /* Free output buffer */ in test_arm_var_q31()
262 free(output); in test_arm_var_q31()