Lines Matching full:output

23 	q7_t *output;  in test_arm_copy_q7()  local
25 /* Allocate output buffer */ in test_arm_copy_q7()
26 output = malloc(length * sizeof(q7_t)); in test_arm_copy_q7()
27 zassert_not_null(output, ASSERT_MSG_BUFFER_ALLOC_FAILED); in test_arm_copy_q7()
30 arm_copy_q7(input1, output, length); in test_arm_copy_q7()
32 /* Validate output */ in test_arm_copy_q7()
34 test_equal_q7(length, input1, output), in test_arm_copy_q7()
37 /* Free output buffer */ in test_arm_copy_q7()
38 free(output); in test_arm_copy_q7()
48 q7_t *output; in test_arm_fill_q7() local
51 /* Allocate output buffer */ in test_arm_fill_q7()
52 output = malloc(length * sizeof(q7_t)); in test_arm_fill_q7()
53 zassert_not_null(output, ASSERT_MSG_BUFFER_ALLOC_FAILED); in test_arm_fill_q7()
56 arm_fill_q7(val, output, length); in test_arm_fill_q7()
58 /* Validate output */ in test_arm_fill_q7()
61 output[index], val, ASSERT_MSG_INCORRECT_COMP_RESULT); in test_arm_fill_q7()
64 /* Free output buffer */ in test_arm_fill_q7()
65 free(output); in test_arm_fill_q7()
75 float32_t *output; in test_arm_q7_to_float() local
77 /* Allocate output buffer */ in test_arm_q7_to_float()
78 output = malloc(length * sizeof(float32_t)); in test_arm_q7_to_float()
79 zassert_not_null(output, ASSERT_MSG_BUFFER_ALLOC_FAILED); in test_arm_q7_to_float()
82 arm_q7_to_float(input1, output, length); in test_arm_q7_to_float()
84 /* Validate output */ in test_arm_q7_to_float()
86 test_close_error_f32(length, (float32_t *)ref, output, in test_arm_q7_to_float()
90 /* Free output buffer */ in test_arm_q7_to_float()
91 free(output); in test_arm_q7_to_float()
101 q31_t *output; in test_arm_q7_to_q31() local
103 /* Allocate output buffer */ in test_arm_q7_to_q31()
104 output = malloc(length * sizeof(q31_t)); in test_arm_q7_to_q31()
105 zassert_not_null(output, ASSERT_MSG_BUFFER_ALLOC_FAILED); in test_arm_q7_to_q31()
108 arm_q7_to_q31(input1, output, length); in test_arm_q7_to_q31()
110 /* Validate output */ in test_arm_q7_to_q31()
112 test_near_equal_q31(length, ref, output, ABS_ERROR_THRESH_Q31), in test_arm_q7_to_q31()
115 /* Free output buffer */ in test_arm_q7_to_q31()
116 free(output); in test_arm_q7_to_q31()
126 q15_t *output; in test_arm_q7_to_q15() local
128 /* Allocate output buffer */ in test_arm_q7_to_q15()
129 output = malloc(length * sizeof(q15_t)); in test_arm_q7_to_q15()
130 zassert_not_null(output, ASSERT_MSG_BUFFER_ALLOC_FAILED); in test_arm_q7_to_q15()
133 arm_q7_to_q15(input1, output, length); in test_arm_q7_to_q15()
135 /* Validate output */ in test_arm_q7_to_q15()
137 test_near_equal_q15(length, ref, output, ABS_ERROR_THRESH_Q15), in test_arm_q7_to_q15()
140 /* Free output buffer */ in test_arm_q7_to_q15()
141 free(output); in test_arm_q7_to_q15()