Edge AI Add-on API 2.3.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
43flt32_t nrf_dsp_madf_f32_s(const flt32_t *p_input, uint16_t num, size32_t stride);
44
53int16_t nrf_dsp_madf_i8(const int8_t *p_input, uint16_t num);
54
65int16_t nrf_dsp_madf_i8_s(const int8_t *p_input, uint16_t num, size32_t stride);
66
75int16_t nrf_dsp_madf_i16(const int16_t *p_input, uint16_t num);
76
87int16_t nrf_dsp_madf_i16_s(const int16_t *p_input, uint16_t num, size32_t stride);
88
89#ifdef __cplusplus
90}
91#endif
92
93#endif /* _NRF_DSP_STAT_MEAN_ABS_DIFF_H_ */
94
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