Edge AI Add-on API 3.0.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
68#define NRF_EDGEAI_DECLARE_FEATURE_FUNCTION(feature_name, input_type, feature_type) \
69 size32_t nrf_edgeai_feature_##feature_name(input_type *p_input, \
70 size32_t num, \
71 feature_type *p_features, \
72 nrf_edgeai_features_mask_t feature_mask, \
73 void *p_pipeline_ctx, \
74 nrf_edgeai_feature_get_arg_cb_t get_argument, \
75 void *p_argument_ctx)
76
77#define NRF_EDGEAI_DECLARE_FEATURE_FUNCTION_I8(feature_name) \
78 NRF_EDGEAI_DECLARE_FEATURE_FUNCTION(feature_name, int8_t, int16_t)
79
80#define NRF_EDGEAI_DECLARE_FEATURE_FUNCTION_I16(feature_name) \
81 NRF_EDGEAI_DECLARE_FEATURE_FUNCTION(feature_name, int16_t, int32_t)
82
83#define NRF_EDGEAI_DECLARE_FEATURE_FUNCTION_F32(feature_name) \
84 NRF_EDGEAI_DECLARE_FEATURE_FUNCTION(feature_name, flt32_t, flt32_t)
85
86#endif /* _NRF_EDGEAI_PRIVATE_INTERFACES_FEATURES_COMMON_H_ */