Lines Matching full:output

23 	q31_t *output;  in test_arm_copy_q31()  local
25 /* Allocate output buffer */ in test_arm_copy_q31()
26 output = malloc(length * sizeof(q31_t)); in test_arm_copy_q31()
27 zassert_not_null(output, ASSERT_MSG_BUFFER_ALLOC_FAILED); in test_arm_copy_q31()
30 arm_copy_q31(input1, output, length); in test_arm_copy_q31()
32 /* Validate output */ in test_arm_copy_q31()
34 test_equal_q31(length, input1, output), in test_arm_copy_q31()
37 /* Free output buffer */ in test_arm_copy_q31()
38 free(output); in test_arm_copy_q31()
48 q31_t *output; in test_arm_fill_q31() local
51 /* Allocate output buffer */ in test_arm_fill_q31()
52 output = malloc(length * sizeof(q31_t)); in test_arm_fill_q31()
53 zassert_not_null(output, ASSERT_MSG_BUFFER_ALLOC_FAILED); in test_arm_fill_q31()
56 arm_fill_q31(val, output, length); in test_arm_fill_q31()
58 /* Validate output */ in test_arm_fill_q31()
61 output[index], val, ASSERT_MSG_INCORRECT_COMP_RESULT); in test_arm_fill_q31()
64 /* Free output buffer */ in test_arm_fill_q31()
65 free(output); in test_arm_fill_q31()
75 float32_t *output; in test_arm_q31_to_float() local
77 /* Allocate output buffer */ in test_arm_q31_to_float()
78 output = malloc(length * sizeof(float32_t)); in test_arm_q31_to_float()
79 zassert_not_null(output, ASSERT_MSG_BUFFER_ALLOC_FAILED); in test_arm_q31_to_float()
82 arm_q31_to_float(input1, output, length); in test_arm_q31_to_float()
84 /* Validate output */ in test_arm_q31_to_float()
87 length, (float32_t *)ref, output, REL_ERROR_THRESH), in test_arm_q31_to_float()
90 /* Free output buffer */ in test_arm_q31_to_float()
91 free(output); in test_arm_q31_to_float()
101 q15_t *output; in test_arm_q31_to_q15() local
103 /* Allocate output buffer */ in test_arm_q31_to_q15()
104 output = malloc(length * sizeof(q15_t)); in test_arm_q31_to_q15()
105 zassert_not_null(output, ASSERT_MSG_BUFFER_ALLOC_FAILED); in test_arm_q31_to_q15()
108 arm_q31_to_q15(input1, output, length); in test_arm_q31_to_q15()
110 /* Validate output */ in test_arm_q31_to_q15()
112 test_near_equal_q15(length, ref, output, ABS_ERROR_THRESH_Q15), in test_arm_q31_to_q15()
115 /* Free output buffer */ in test_arm_q31_to_q15()
116 free(output); in test_arm_q31_to_q15()
126 q7_t *output; in test_arm_q31_to_q7() local
128 /* Allocate output buffer */ in test_arm_q31_to_q7()
129 output = malloc(length * sizeof(q7_t)); in test_arm_q31_to_q7()
130 zassert_not_null(output, ASSERT_MSG_BUFFER_ALLOC_FAILED); in test_arm_q31_to_q7()
133 arm_q31_to_q7(input1, output, length); in test_arm_q31_to_q7()
135 /* Validate output */ in test_arm_q31_to_q7()
137 test_near_equal_q7(length, ref, output, ABS_ERROR_THRESH_Q7), in test_arm_q31_to_q7()
140 /* Free output buffer */ in test_arm_q31_to_q7()
141 free(output); in test_arm_q31_to_q7()