Edge AI Add-on API 3.0.0
Loading...
Searching...
No Matches
nrf_dsp_scr.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_SCR_FUNCTIONS_H_
16#define _NRF_DSP_STAT_SCR_FUNCTIONS_H_
17
19
20#ifdef __cplusplus
21extern "C" {
22#endif
23
37 uint16_t num,
38 nrf_dsp_sigma_factor_t sigma_factor,
40
56 uint16_t num,
57 nrf_dsp_sigma_factor_t sigma_factor,
58 size32_t stride,
60
74int16_t nrf_dsp_scr_i8(const int8_t *p_input,
75 uint16_t num,
76 nrf_dsp_sigma_factor_t sigma_factor,
78
94int16_t nrf_dsp_scr_i8_s(const int8_t *p_input,
95 uint16_t num,
96 nrf_dsp_sigma_factor_t sigma_factor,
97 size32_t stride,
99
113int16_t nrf_dsp_scr_i16(const int16_t *p_input,
114 uint16_t num,
115 nrf_dsp_sigma_factor_t sigma_factor,
117
133int16_t nrf_dsp_scr_i16_s(const int16_t *p_input,
134 uint16_t num,
135 nrf_dsp_sigma_factor_t sigma_factor,
136 size32_t stride,
138
139#ifdef __cplusplus
140}
141#endif
142
143#endif /* _NRF_DSP_STAT_SCR_FUNCTIONS_H_ */
144
int16_t nrf_dsp_scr_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)
Counts Sigma-crossing rate with respect to Mean, of a INT16 fixed-point vector ​​using values ​​in in...
int16_t nrf_dsp_scr_i8(const int8_t *p_input, uint16_t num, nrf_dsp_sigma_factor_t sigma_factor, nrf_dsp_stat_ctx_i8_t *p_ctx)
Counts Sigma-crossing rate with respect to Mean, of a INT8 fixed-point vector.
flt32_t nrf_dsp_scr_f32(const flt32_t *p_input, uint16_t num, nrf_dsp_sigma_factor_t sigma_factor, nrf_dsp_stat_ctx_f32_t *p_ctx)
Counts Sigma-crossing rate with respect to Mean, of a floating-point vector.
flt32_t nrf_dsp_scr_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)
Counts Sigma-crossing rate with respect to Mean, of a floating-point vector ​​using values ​​in incre...
int16_t nrf_dsp_scr_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)
Counts Sigma-crossing rate with respect to Mean, of a INT8 fixed-point vector ​​using values ​​in inc...
int16_t nrf_dsp_scr_i16(const int16_t *p_input, uint16_t num, nrf_dsp_sigma_factor_t sigma_factor, nrf_dsp_stat_ctx_i16_t *p_ctx)
Counts Sigma-crossing rate with respect to Mean, of a 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