Edge AI Add-on API 2.2.0
Loading...
Searching...
No Matches
nrf_dsp_madf.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 */
14#ifndef _NRF_DSP_STAT_MEAN_ABS_DIFF_H_
15#define _NRF_DSP_STAT_MEAN_ABS_DIFF_H_
16
18
19#ifdef __cplusplus
20extern "C" {
21#endif
22
31flt32_t nrf_dsp_madf_f32(const flt32_t* p_input, uint16_t num);
32
42flt32_t nrf_dsp_madf_f32_s(const flt32_t* p_input, uint16_t num, size32_t stride);
43
52int16_t nrf_dsp_madf_i8(const int8_t* p_input, uint16_t num);
53
63int16_t nrf_dsp_madf_i8_s(const int8_t* p_input, uint16_t num, size32_t stride);
64
73int16_t nrf_dsp_madf_i16(const int16_t* p_input, uint16_t num);
74
84int16_t nrf_dsp_madf_i16_s(const int16_t* p_input, uint16_t num, size32_t stride);
85
86#ifdef __cplusplus
87}
88#endif
89
90#endif /* _NRF_DSP_STAT_MEAN_ABS_DIFF_H_ */
91
flt32_t nrf_dsp_madf_f32(const flt32_t *p_input, uint16_t num)
Calculates Mean Absolute Difference value of a floating-point vector.
int16_t nrf_dsp_madf_i16_s(const int16_t *p_input, uint16_t num, size32_t stride)
Calculates Mean Absolute Difference value of a INT16 fixed-point vector ​​using values ​​in increment...
int16_t nrf_dsp_madf_i8_s(const int8_t *p_input, uint16_t num, size32_t stride)
Calculates Mean Absolute Difference value of a INT8 fixed-point vector ​​using values ​​in increments...
int16_t nrf_dsp_madf_i8(const int8_t *p_input, uint16_t num)
Calculates Mean Absolute Difference value of a INT8 fixed-point vector.
flt32_t nrf_dsp_madf_f32_s(const flt32_t *p_input, uint16_t num, size32_t stride)
Calculates Mean Absolute Difference value of a floating-point vector ​​using values ​​in increments o...
int16_t nrf_dsp_madf_i16(const int16_t *p_input, uint16_t num)
Calculates Mean Absolute Difference value of a INT16 fixed-point vector.
size_t size32_t
Architecture 32-bit size_t type definition.
Definition nrf_edgeai_ctypes.h:31
float flt32_t
32-bit floating-point type definition.
Definition nrf_edgeai_ctypes.h:21