Edge AI Add-on API 2.2.0
Loading...
Searching...
No Matches
nrf_edgeai_features_common.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2026 Nordic Semiconductor ASA
3 *
4 * SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
5 */
6#ifndef _NRF_EDGEAI_PRIVATE_INTERFACES_FEATURES_COMMON_H_
7#define _NRF_EDGEAI_PRIVATE_INTERFACES_FEATURES_COMMON_H_
8
10
67#define NRF_EDGEAI_DECLARE_FEATURE_FUNCTION(feature_name, input_type, feature_type) \
68 size32_t nrf_edgeai_feature_##feature_name(input_type* p_input, \
69 size32_t num, \
70 feature_type* p_features, \
71 nrf_edgeai_features_mask_t feature_mask, \
72 void* p_pipeline_ctx, \
73 nrf_edgeai_feature_get_arg_cb_t get_argument, \
74 void* p_argument_ctx)
75
76#define NRF_EDGEAI_DECLARE_FEATURE_FUNCTION_I8(feature_name) \
77 NRF_EDGEAI_DECLARE_FEATURE_FUNCTION(feature_name, int8_t, int16_t)
78
79#define NRF_EDGEAI_DECLARE_FEATURE_FUNCTION_I16(feature_name) \
80 NRF_EDGEAI_DECLARE_FEATURE_FUNCTION(feature_name, int16_t, int32_t)
81
82#define NRF_EDGEAI_DECLARE_FEATURE_FUNCTION_F32(feature_name) \
83 NRF_EDGEAI_DECLARE_FEATURE_FUNCTION(feature_name, flt32_t, flt32_t)
84
85#endif /* _NRF_EDGEAI_PRIVATE_INTERFACES_FEATURES_COMMON_H_ */