Edge AI Add-on API 2.2.0
Loading...
Searching...
No Matches
nrf_dsp_spectral_spread.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 */
18#ifndef _NRF_DSP_SPECTRAL_SPREAD_H_
19#define _NRF_DSP_SPECTRAL_SPREAD_H_
20
22
23#ifdef __cplusplus
24extern "C" {
25#endif
26
38 uint16_t num,
40
51int16_t nrf_dsp_spectral_spread_i16(int16_t p_spectrum[],
52 uint16_t num,
54
55#ifdef __cplusplus
56}
57#endif
58
59#endif /* _NRF_DSP_SPECTRAL_SPREAD_H_ */
60
flt32_t nrf_dsp_spectral_spread_f32(flt32_t p_spectrum[], uint16_t num, nrf_dsp_spectral_ctx_f32_t *p_ctx)
Calculate Spectral Spread in floating-point spectrum.
int16_t nrf_dsp_spectral_spread_i16(int16_t p_spectrum[], uint16_t num, nrf_dsp_spectral_ctx_i16_t *p_ctx)
Calculate Spectral Spread in INT16 fixed-point spectrum.
float flt32_t
32-bit floating-point type definition.
Definition nrf_edgeai_ctypes.h:21
Floating-point spectral reusable context, in which is used to store derived or intermediate metrics t...
Definition nrf_dsp_types.h:107
INT16-fixed-point spectral reusable context, in which is used to store derived or intermediate metric...
Definition nrf_dsp_types.h:168