Edge AI Add-on API 2.2.0
Loading...
Searching...
No Matches
nrf_dsp_amdf.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 */
15#ifndef _NRF_DSP_STAT_AMDF_FUNCTIONS_H_
16#define _NRF_DSP_STAT_AMDF_FUNCTIONS_H_
17
19
20#ifdef __cplusplus
21extern "C" {
22#endif
23
32flt32_t nrf_dsp_amdf_f32(const flt32_t* p_input, uint16_t num);
33
43flt32_t nrf_dsp_amdf_f32_s(const flt32_t* p_input, uint16_t num, size32_t stride);
44
53int16_t nrf_dsp_amdf_i8(const int8_t* p_input, uint16_t num);
54
64int16_t nrf_dsp_amdf_i8_s(const int8_t* p_input, uint16_t num, size32_t stride);
65
74int32_t nrf_dsp_amdf_i16(const int16_t* p_input, uint16_t num);
75
85int32_t nrf_dsp_amdf_i16_s(const int16_t* p_input, uint16_t num, size32_t stride);
86
87#ifdef __cplusplus
88}
89#endif
90
91#endif /* _NRF_DSP_STAT_AMDF_FUNCTIONS_H_ */
92
int32_t nrf_dsp_amdf_i16(const int16_t *p_input, uint16_t num)
Calculates Average Magnitude Difference value of a INT16 fixed-point vector.
flt32_t nrf_dsp_amdf_f32(const flt32_t *p_input, uint16_t num)
Calculates Average Magnitude Difference value of a floating-point vector.
flt32_t nrf_dsp_amdf_f32_s(const flt32_t *p_input, uint16_t num, size32_t stride)
Calculates Average Magnitude Difference value of a floating-point vector ​​using values ​​in incremen...
int16_t nrf_dsp_amdf_i8(const int8_t *p_input, uint16_t num)
Calculates Average Magnitude Difference value of a INT8 fixed-point vector.
int16_t nrf_dsp_amdf_i8_s(const int8_t *p_input, uint16_t num, size32_t stride)
Calculates Average Magnitude Difference value of a INT8 fixed-point vector ​​using values ​​in increm...
int32_t nrf_dsp_amdf_i16_s(const int16_t *p_input, uint16_t num, size32_t stride)
Calculates Average Magnitude Difference value of a INT16 fixed-point vector ​​using values ​​in incre...
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