Edge AI Add-on API 2.2.0
Loading...
Searching...
No Matches
nrf_dsp_psot.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_PSOT_FUNCTIONS_H_
16#define _NRF_DSP_STAT_PSOT_FUNCTIONS_H_
17
19
20#ifdef __cplusplus
21extern "C" {
22#endif
23
33flt32_t nrf_dsp_psot_f32(const flt32_t* p_input, uint16_t num, const flt32_t threshold);
34
46 uint16_t num,
47 size32_t stride,
48 const flt32_t threshold);
49
59int16_t nrf_dsp_psot_i8(const int8_t* p_input, uint16_t num, const int8_t threshold);
60
71int16_t nrf_dsp_psot_i8_s(const int8_t* p_input,
72 uint16_t num,
73 size32_t stride,
74 const int8_t threshold);
75
85int16_t nrf_dsp_psot_i16(const int16_t* p_input, uint16_t num, const int16_t threshold);
86
97int16_t nrf_dsp_psot_i16_s(const int16_t* p_input,
98 uint16_t num,
99 size32_t stride,
100 const int16_t threshold);
101
102#ifdef __cplusplus
103}
104#endif
105
106#endif /* _NRF_DSP_STAT_PSOT_FUNCTIONS_H_ */
107
int16_t nrf_dsp_psot_i8(const int8_t *p_input, uint16_t num, const int8_t threshold)
Calculates Percentage of signal over threshold in a INT8 fixed-point vector.
flt32_t nrf_dsp_psot_f32(const flt32_t *p_input, uint16_t num, const flt32_t threshold)
Calculates Percentage of signal over threshold in a floating-point vector.
int16_t nrf_dsp_psot_i8_s(const int8_t *p_input, uint16_t num, size32_t stride, const int8_t threshold)
Calculates Percentage of signal over threshold in a INT8 fixed-point vector ​​using values ​​in incre...
int16_t nrf_dsp_psot_i16(const int16_t *p_input, uint16_t num, const int16_t threshold)
Calculates Percentage of signal over threshold in a INT16 fixed-point vector.
int16_t nrf_dsp_psot_i16_s(const int16_t *p_input, uint16_t num, size32_t stride, const int16_t threshold)
Calculates Percentage of signal over threshold in a INT16 fixed-point vector ​​using values ​​in incr...
flt32_t nrf_dsp_psot_f32_s(const flt32_t *p_input, uint16_t num, size32_t stride, const flt32_t threshold)
Calculates Percentage of signal over threshold in a floating-point vector ​​using values ​​in increme...
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