Home
last modified time | relevance | path

Searched +full:- +full:- +full:output (Results 1 – 25 of 1134) sorted by relevance

12345678910>>...46

/Zephyr-latest/tests/lib/cmsis_dsp/quaternionmath/src/
Df32.c3 * Copyright (C) 2010-2021 ARM Limited or its affiliates. All rights reserved.
5 * SPDX-License-Identifier: Apache-2.0
17 #define REL_ERROR_THRESH (1.0e-6)
18 #define ABS_ERROR_THRESH (1.0e-7)
25 float32_t *output; in ZTEST() local
27 /* Allocate output buffer */ in ZTEST()
28 output = malloc(length * sizeof(float32_t)); in ZTEST()
29 zassert_not_null(output, ASSERT_MSG_BUFFER_ALLOC_FAILED); in ZTEST()
32 arm_quaternion_norm_f32(input, output, length); in ZTEST()
34 /* Validate output */ in ZTEST()
[all …]
/Zephyr-latest/tests/lib/cmsis_dsp/support/src/
Df16.c3 * Copyright (C) 2010-2021 ARM Limited or its affiliates. All rights reserved.
5 * SPDX-License-Identifier: Apache-2.0
18 #define ABS_ERROR_THRESH_F16 (1.0e-5)
19 #define REL_ERROR_THRESH_F16 (1.0e-5)
21 #define ABS_ERROR_THRESH_F32 (1.0e-3)
22 #define REL_ERROR_THRESH_F32 (1.0e-3)
28 #define ABS_ERROR_THRESH_WS (1.0e-1)
29 #define REL_ERROR_THRESH_WS (5.0e-3)
33 float16_t *output; in test_arm_copy_f16() local
35 /* Allocate output buffer */ in test_arm_copy_f16()
[all …]
Dq15.c3 * Copyright (C) 2010-2020 ARM Limited or its affiliates. All rights reserved.
5 * SPDX-License-Identifier: Apache-2.0
16 #define REL_ERROR_THRESH (1.0e-3)
23 q15_t *output; in test_arm_copy_q15() local
25 /* Allocate output buffer */ in test_arm_copy_q15()
26 output = malloc(length * sizeof(q15_t)); in test_arm_copy_q15()
27 zassert_not_null(output, ASSERT_MSG_BUFFER_ALLOC_FAILED); in test_arm_copy_q15()
30 arm_copy_q15(input1, output, length); in test_arm_copy_q15()
32 /* Validate output */ in test_arm_copy_q15()
34 test_equal_q15(length, input1, output), in test_arm_copy_q15()
[all …]
Dq31.c3 * Copyright (C) 2010-2020 ARM Limited or its affiliates. All rights reserved.
5 * SPDX-License-Identifier: Apache-2.0
16 #define REL_ERROR_THRESH (1.0e-5)
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()
[all …]
Dq7.c3 * Copyright (C) 2010-2020 ARM Limited or its affiliates. All rights reserved.
5 * SPDX-License-Identifier: Apache-2.0
16 #define REL_ERROR_THRESH (1.0e-5)
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()
[all …]
Df32.c3 * Copyright (C) 2010-2021 ARM Limited or its affiliates. All rights reserved.
5 * SPDX-License-Identifier: Apache-2.0
17 #define REL_ERROR_THRESH (1.0e-5)
24 float32_t *output; in test_arm_copy_f32() local
26 /* Allocate output buffer */ in test_arm_copy_f32()
27 output = malloc(length * sizeof(float32_t)); in test_arm_copy_f32()
28 zassert_not_null(output, ASSERT_MSG_BUFFER_ALLOC_FAILED); in test_arm_copy_f32()
31 arm_copy_f32((float32_t *)input1, output, length); in test_arm_copy_f32()
33 /* Validate output */ in test_arm_copy_f32()
35 test_equal_f32(length, (float32_t *)input1, output), in test_arm_copy_f32()
[all …]
/Zephyr-latest/samples/modules/cmsis_dsp/moving_average/
Dsample.yaml7 - samples
9 - qemu_cortex_m0
10 - native_sim
12 - cmsis-dsp
17 - "Input\\[00\\]: 0 0 0 0 0 0 0 0 0 0 | Output\\[00\\]: 0.00"
18 - "Input\\[01\\]: 0 0 0 0 0 0 0 0 0 1 | Output\\[01\\]: 0.10"
19 - "Input\\[02\\]: 0 0 0 0 0 0 0 0 1 2 | Output\\[02\\]: 0.30"
20 - "Input\\[03\\]: 0 0 0 0 0 0 0 1 2 3 | Output\\[03\\]: 0.60"
21 - "Input\\[04\\]: 0 0 0 0 0 0 1 2 3 4 | Output\\[04\\]: 1.00"
22 - "Input\\[05\\]: 0 0 0 0 0 1 2 3 4 5 | Output\\[05\\]: 1.50"
[all …]
/Zephyr-latest/tests/lib/cmsis_dsp/fastmath/src/
Df16.c3 * Copyright (C) 2010-2021 ARM Limited or its affiliates. All rights reserved.
5 * SPDX-License-Identifier: Apache-2.0
18 #define REL_ERROR_THRESH (1.0e-3)
19 #define REL_LOG_ERROR_THRESH (3.0e-2)
20 #define ABS_ERROR_THRESH (1.0e-3)
21 #define ABS_LOG_ERROR_THRESH (3.0e-2)
29 #define REL_ERROR_THRESH (1.1e-3)
41 float16_t *output;
43 /* Allocate output buffer */
44 output = malloc(length * sizeof(float16_t));
[all …]
Df32.c3 * Copyright (C) 2010-2020 ARM Limited or its affiliates. All rights reserved.
5 * SPDX-License-Identifier: Apache-2.0
17 #define REL_ERROR_THRESH (1.0e-6)
18 #define ABS_ERROR_THRESH (1.0e-5)
26 float32_t *output; in ZTEST() local
28 /* Allocate output buffer */ in ZTEST()
29 output = malloc(length * sizeof(float32_t)); in ZTEST()
30 zassert_not_null(output, ASSERT_MSG_BUFFER_ALLOC_FAILED); in ZTEST()
34 output[index] = arm_cos_f32(((float32_t *)in_angles)[index]); in ZTEST()
37 /* Validate output */ in ZTEST()
[all …]
Dq31.c3 * Copyright (C) 2010-2020 ARM Limited or its affiliates. All rights reserved.
5 * SPDX-License-Identifier: Apache-2.0
25 q31_t *output; in ZTEST() local
27 /* Allocate output buffer */ in ZTEST()
28 output = malloc(length * sizeof(q31_t)); in ZTEST()
29 zassert_not_null(output, ASSERT_MSG_BUFFER_ALLOC_FAILED); in ZTEST()
33 output[index] = arm_cos_q31(in_angles[index]); in ZTEST()
36 /* Validate output */ in ZTEST()
38 test_snr_error_q31(length, output, ref_cos, SNR_ERROR_THRESH), in ZTEST()
42 test_near_equal_q31(length, output, ref_cos, ABS_ERROR_THRESH), in ZTEST()
[all …]
Dq15.c3 * Copyright (C) 2010-2021 ARM Limited or its affiliates. All rights reserved.
5 * SPDX-License-Identifier: Apache-2.0
25 q15_t *output; in ZTEST() local
27 /* Allocate output buffer */ in ZTEST()
28 output = malloc(length * sizeof(q15_t)); in ZTEST()
29 zassert_not_null(output, ASSERT_MSG_BUFFER_ALLOC_FAILED); in ZTEST()
33 output[index] = arm_cos_q15(in_angles[index]); in ZTEST()
36 /* Validate output */ in ZTEST()
38 test_snr_error_q15(length, output, ref_cos, SNR_ERROR_THRESH), in ZTEST()
42 test_near_equal_q15(length, output, ref_cos, ABS_ERROR_THRESH), in ZTEST()
[all …]
/Zephyr-latest/tests/subsys/dsp/basicmath/src/
Df16.c3 * Copyright (C) 2010-2021 ARM Limited or its affiliates. All rights reserved.
5 * SPDX-License-Identifier: Apache-2.0
18 #define REL_ERROR_THRESH (4.0e-2)
24 float16_t *output; in test_zdsp_add_f16() local
26 /* Allocate output buffer */ in test_zdsp_add_f16()
27 output = malloc(length * sizeof(float16_t)); in test_zdsp_add_f16()
28 zassert_not_null(output, ASSERT_MSG_BUFFER_ALLOC_FAILED); in test_zdsp_add_f16()
31 zdsp_add_f16((float16_t *)input1, (float16_t *)input2, output, length); in test_zdsp_add_f16()
33 /* Validate output */ in test_zdsp_add_f16()
35 test_snr_error_f16(length, output, (float16_t *)ref, in test_zdsp_add_f16()
[all …]
Df32.c3 * Copyright (C) 2010-2021 ARM Limited or its affiliates. All rights reserved.
5 * SPDX-License-Identifier: Apache-2.0
17 #define REL_ERROR_THRESH (5.0e-5)
22 DSP_DATA float32_t *output; in test_zdsp_add_f32() local
24 /* Allocate output buffer */ in test_zdsp_add_f32()
25 output = (DSP_DATA float32_t *)malloc(length * sizeof(float32_t)); in test_zdsp_add_f32()
26 zassert_not_null(output, ASSERT_MSG_BUFFER_ALLOC_FAILED); in test_zdsp_add_f32()
29 zdsp_add_f32((DSP_DATA float32_t *)input1, (DSP_DATA float32_t *)input2, output, length); in test_zdsp_add_f32()
31 /* Validate output */ in test_zdsp_add_f32()
33 test_snr_error_f32(length, output, (float32_t *)ref, in test_zdsp_add_f32()
[all …]
/Zephyr-latest/tests/lib/cmsis_dsp/complexmath/src/
Df16.c3 * Copyright (C) 2010-2021 ARM Limited or its affiliates. All rights reserved.
5 * SPDX-License-Identifier: Apache-2.0
17 #define REL_ERROR_THRESH (6.0e-2)
25 float16_t *output; in test_arm_cmplx_conj_f16() local
30 /* Allocate output buffer */ in test_arm_cmplx_conj_f16()
31 output = malloc(buf_length * sizeof(float16_t)); in test_arm_cmplx_conj_f16()
32 zassert_not_null(output, ASSERT_MSG_BUFFER_ALLOC_FAILED); in test_arm_cmplx_conj_f16()
35 arm_cmplx_conj_f16((float16_t *)input1, output, length); in test_arm_cmplx_conj_f16()
37 /* Validate output */ in test_arm_cmplx_conj_f16()
39 test_snr_error_f16(buf_length, output, (float16_t *)ref, in test_arm_cmplx_conj_f16()
[all …]
Df32.c3 * Copyright (C) 2010-2020 ARM Limited or its affiliates. All rights reserved.
5 * SPDX-License-Identifier: Apache-2.0
17 #define REL_ERROR_THRESH (7.0e-6)
25 float32_t *output; in test_arm_cmplx_conj_f32() local
30 /* Allocate output buffer */ in test_arm_cmplx_conj_f32()
31 output = malloc(buf_length * sizeof(float32_t)); in test_arm_cmplx_conj_f32()
32 zassert_not_null(output, ASSERT_MSG_BUFFER_ALLOC_FAILED); in test_arm_cmplx_conj_f32()
35 arm_cmplx_conj_f32((float32_t *)input1, output, length); in test_arm_cmplx_conj_f32()
37 /* Validate output */ in test_arm_cmplx_conj_f32()
39 test_snr_error_f32(buf_length, output, (float32_t *)ref, in test_arm_cmplx_conj_f32()
[all …]
Dq15.c3 * Copyright (C) 2010-2020 ARM Limited or its affiliates. All rights reserved.
5 * SPDX-License-Identifier: Apache-2.0
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()
[all …]
Dq31.c3 * Copyright (C) 2010-2020 ARM Limited or its affiliates. All rights reserved.
5 * SPDX-License-Identifier: Apache-2.0
26 q31_t *output; in test_arm_cmplx_conj_q31() local
31 /* Allocate output buffer */ in test_arm_cmplx_conj_q31()
32 output = malloc(buf_length * sizeof(q31_t)); in test_arm_cmplx_conj_q31()
33 zassert_not_null(output, ASSERT_MSG_BUFFER_ALLOC_FAILED); in test_arm_cmplx_conj_q31()
36 arm_cmplx_conj_q31(input1, output, length); in test_arm_cmplx_conj_q31()
38 /* Validate output */ in test_arm_cmplx_conj_q31()
40 test_snr_error_q31(buf_length, output, ref, SNR_ERROR_THRESH), in test_arm_cmplx_conj_q31()
44 test_near_equal_q31(buf_length, output, ref, in test_arm_cmplx_conj_q31()
[all …]
/Zephyr-latest/tests/bluetooth/host/cs/bt_le_cs_parse_pct/src/
Dmain.c4 * SPDX-License-Identifier: Apache-2.0
19 * - Valid PCT is passed in
22 * - IQ term matches expected values
30 struct bt_le_cs_iq_sample output; in ZTEST() member
33 {.input = {0x00, 0x00, 0x00}, .output = {.i = 0, .q = 0}}, in ZTEST()
34 {.input = {0xFF, 0xFF, 0xFF}, .output = {.i = -1, .q = -1}}, in ZTEST()
35 {.input = {0xFF, 0x00, 0xFF}, .output = {.i = 255, .q = -16}}, in ZTEST()
36 {.input = {0xFF, 0x00, 0x00}, .output = {.i = 255, .q = 0}}, in ZTEST()
37 {.input = {0x00, 0xFF, 0x00}, .output = {.i = -256, .q = 15}}, in ZTEST()
38 {.input = {0x00, 0x00, 0xFF}, .output = {.i = 0, .q = -16}}, in ZTEST()
[all …]
/Zephyr-latest/tests/lib/cmsis_dsp/interpolation/src/
Df32.c3 * Copyright (C) 2010-2021 ARM Limited or its affiliates. All rights reserved.
5 * SPDX-License-Identifier: Apache-2.0
17 #define REL_ERROR_THRESH (8.0e-5)
25 float32_t *output; in test_arm_linear_interp_f32() local
33 /* Allocate output buffer */ in test_arm_linear_interp_f32()
34 output = malloc(length * sizeof(float32_t)); in test_arm_linear_interp_f32()
35 zassert_not_null(output, ASSERT_MSG_BUFFER_ALLOC_FAILED); in test_arm_linear_interp_f32()
39 output[index] = arm_linear_interp_f32(&inst, in test_arm_linear_interp_f32()
43 /* Validate output */ in test_arm_linear_interp_f32()
45 test_snr_error_f32(length, output, (float32_t *)ref_linear, in test_arm_linear_interp_f32()
[all …]
Dq15.c3 * Copyright (C) 2010-2021 ARM Limited or its affiliates. All rights reserved.
5 * SPDX-License-Identifier: Apache-2.0
23 q15_t *output; in ZTEST() local
25 /* Allocate output buffer */ in ZTEST()
26 output = malloc(length * sizeof(q15_t)); in ZTEST()
27 zassert_not_null(output, ASSERT_MSG_BUFFER_ALLOC_FAILED); in ZTEST()
35 output[index] = arm_linear_interp_q15((q15_t *)in_linear_y, in ZTEST()
40 /* Validate output */ in ZTEST()
42 test_snr_error_q15(length, output, ref_linear, in ZTEST()
47 test_near_equal_q15(length, output, ref_linear, in ZTEST()
[all …]
Dq31.c3 * Copyright (C) 2010-2021 ARM Limited or its affiliates. All rights reserved.
5 * SPDX-License-Identifier: Apache-2.0
23 q31_t *output; in ZTEST() local
25 /* Allocate output buffer */ in ZTEST()
26 output = malloc(length * sizeof(q31_t)); in ZTEST()
27 zassert_not_null(output, ASSERT_MSG_BUFFER_ALLOC_FAILED); in ZTEST()
35 output[index] = arm_linear_interp_q31((q31_t *)in_linear_y, in ZTEST()
40 /* Validate output */ in ZTEST()
42 test_snr_error_q31(length, output, ref_linear, in ZTEST()
47 test_near_equal_q31(length, output, ref_linear, in ZTEST()
[all …]
Dq7.c3 * Copyright (C) 2010-2021 ARM Limited or its affiliates. All rights reserved.
5 * SPDX-License-Identifier: Apache-2.0
23 q7_t *output; in ZTEST() local
25 /* Allocate output buffer */ in ZTEST()
26 output = malloc(length * sizeof(q7_t)); in ZTEST()
27 zassert_not_null(output, ASSERT_MSG_BUFFER_ALLOC_FAILED); in ZTEST()
35 output[index] = arm_linear_interp_q7((q7_t *)in_linear_y, in ZTEST()
40 /* Validate output */ in ZTEST()
42 test_snr_error_q7(length, output, ref_linear, in ZTEST()
47 test_near_equal_q7(length, output, ref_linear, in ZTEST()
[all …]
/Zephyr-latest/include/zephyr/logging/
Dlog_output.h4 * SPDX-License-Identifier: Apache-2.0
20 * @brief Log output API
21 * @defgroup log_output Log output API
26 /**@defgroup LOG_OUTPUT_FLAGS Log output formatting flags.
74 * @brief Prototype of the function processing output data.
82 * @note If the log output function cannot process all of the data, it is
106 * @param output Pointer to log_output struct.
112 typedef void (*log_format_func_t)(const struct log_output *output,
123 * @param _func Function for processing output data.
124 * @param _buf Pointer to the output buffer.
[all …]
/Zephyr-latest/boards/nxp/mr_canhubk3/
Dmr_canhubk3-pinctrl.dtsi4 * SPDX-License-Identifier: Apache-2.0
7 #include <nxp/s32/S32K344-172MQFP-pinctrl.h>
13 input-enable;
20 output-enable;
24 input-enable;
31 output-enable;
35 input-enable;
42 output-enable;
46 input-enable;
53 output-enable;
[all …]
/Zephyr-latest/tests/lib/cmsis_dsp/statistics/src/
Df16.c3 * Copyright (C) 2010-2021 ARM Limited or its affiliates. All rights reserved.
5 * SPDX-License-Identifier: Apache-2.0
17 #define REL_ERROR_THRESH (6.0e-3)
20 #define REL_ERROR_THRESH_KB (5.0e-3)
21 #define ABS_ERROR_THRESH_KB (5.0e-3)
29 #define REL_ERROR_THRESH (10.0e-3)
44 /* Validate output */ in test_arm_max_f16()
64 /* Validate output */ in test_arm_max_no_idx_f16()
82 /* Validate output */ in test_arm_min_f16()
103 /* Validate output */ in test_arm_absmax_f16()
[all …]

12345678910>>...46