Edge AI Add-on API 3.0.0
Loading...
Searching...
No Matches
nrf_dsp_psos.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_PSOS_FUNCTIONS_H_
16#define _NRF_DSP_STAT_PSOS_FUNCTIONS_H_
17
19
20#ifdef __cplusplus
21extern "C" {
22#endif
23
38 uint16_t num,
39 nrf_dsp_sigma_factor_t sigma_factor,
41
57 uint16_t num,
58 nrf_dsp_sigma_factor_t sigma_factor,
59 size32_t stride,
61
76int16_t nrf_dsp_psos_i8(const int8_t *p_input,
77 uint16_t num,
78 nrf_dsp_sigma_factor_t sigma_factor,
80
96int16_t nrf_dsp_psos_i8_s(const int8_t *p_input,
97 uint16_t num,
98 nrf_dsp_sigma_factor_t sigma_factor,
99 size32_t stride,
100 nrf_dsp_stat_ctx_i8_t *p_ctx);
101
116int16_t nrf_dsp_psos_i16(const int16_t *p_input,
117 uint16_t num,
118 nrf_dsp_sigma_factor_t sigma_factor,
120
136int16_t nrf_dsp_psos_i16_s(const int16_t *p_input,
137 uint16_t num,
138 nrf_dsp_sigma_factor_t sigma_factor,
139 size32_t stride,
141
142#ifdef __cplusplus
143}
144#endif
145
146#endif /* _NRF_DSP_STAT_PSOS_FUNCTIONS_H_ */
147
int16_t nrf_dsp_psos_i16_s(const int16_t *p_input, uint16_t num, nrf_dsp_sigma_factor_t sigma_factor, size32_t stride, nrf_dsp_stat_ctx_i16_t *p_ctx)
Calculates Percentage of signal over Sigma with respect to Mean, in the INT16 fixed-point vector ​​us...
int16_t nrf_dsp_psos_i8(const int8_t *p_input, uint16_t num, nrf_dsp_sigma_factor_t sigma_factor, nrf_dsp_stat_ctx_i8_t *p_ctx)
Calculates Percentage of signal over Sigma with respect to Mean, in the INT8 fixed-point vector.
int16_t nrf_dsp_psos_i8_s(const int8_t *p_input, uint16_t num, nrf_dsp_sigma_factor_t sigma_factor, size32_t stride, nrf_dsp_stat_ctx_i8_t *p_ctx)
Calculates Percentage of signal over Sigma with respect to Mean, in the INT8 fixed-point vector ​​usi...
flt32_t nrf_dsp_psos_f32(const flt32_t *p_input, uint16_t num, nrf_dsp_sigma_factor_t sigma_factor, nrf_dsp_stat_ctx_f32_t *p_ctx)
Calculates Percentage of signal over Sigma with respect to Mean, in the floating-point vector.
flt32_t nrf_dsp_psos_f32_s(const flt32_t *p_input, uint16_t num, nrf_dsp_sigma_factor_t sigma_factor, size32_t stride, nrf_dsp_stat_ctx_f32_t *p_ctx)
Calculates Percentage of signal over Sigma with respect to Mean, in the floating-point vector ​​using...
int16_t nrf_dsp_psos_i16(const int16_t *p_input, uint16_t num, nrf_dsp_sigma_factor_t sigma_factor, nrf_dsp_stat_ctx_i16_t *p_ctx)
Calculates Percentage of signal over Sigma with respect to Mean, in the INT16 fixed-point vector.
enum nrf_dsp_sigma_factor_e nrf_dsp_sigma_factor_t
Sigma(STD) factor for calculation sigma related features, can be positive or negative.
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
Floating-point statistics reusable context, in which is used to store derived or intermediate metrics...
Definition nrf_dsp_types.h:80
INT16 statistics reusable context, in which is used to store derived or intermediate metrics to simpl...
Definition nrf_dsp_types.h:135
INT8 statistics reusable context, in which is used to store derived or intermediate metrics to simpli...
Definition nrf_dsp_types.h:116