Edge AI Add-on API 2.3.0
Loading...
Searching...
No Matches
nrf_dsp_autocorr.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_AUTOCORR_FUNCTIONS_H_
16#define _NRF_DSP_STAT_AUTOCORR_FUNCTIONS_H_
17
19
20#ifdef __cplusplus
21extern "C" {
22#endif
23
38 uint16_t num,
39 const uint8_t lag,
41
56int16_t nrf_dsp_autocorr_i8(const int8_t *p_input,
57 uint16_t num,
58 const uint8_t lag,
60
75int16_t nrf_dsp_autocorr_i16(const int16_t *p_input,
76 uint16_t num,
77 const uint8_t lag,
79
80#ifdef __cplusplus
81}
82#endif
83
84#endif /* _NRF_DSP_STAT_AUTOCORR_FUNCTIONS_H_ */
85
flt32_t nrf_dsp_autocorr_f32(const flt32_t *p_input, uint16_t num, const uint8_t lag, nrf_dsp_stat_ctx_f32_t *p_ctx)
Calculate Autocorrelation value in the floating-point vector.
int16_t nrf_dsp_autocorr_i8(const int8_t *p_input, uint16_t num, const uint8_t lag, nrf_dsp_stat_ctx_i8_t *p_ctx)
Calculate Autocorrelation value in the INT8 fixed-point vector.
int16_t nrf_dsp_autocorr_i16(const int16_t *p_input, uint16_t num, const uint8_t lag, nrf_dsp_stat_ctx_i16_t *p_ctx)
Calculate Autocorrelation value in the INT16 fixed-point vector.
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