Edge AI Add-on API 2.2.0
Loading...
Searching...
No Matches
nrf_dsp_crest.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_CREST_FUNCTIONS_H_
16#define _NRF_DSP_STAT_CREST_FUNCTIONS_H_
17
19
20#ifdef __cplusplus
21extern "C" {
22#endif
23
36 uint16_t num,
37 const flt32_t* p_absmax,
39
53 uint16_t num,
54 size32_t stride,
55 const flt32_t* p_absmax,
57
69int16_t nrf_dsp_crest_i8(const int8_t* p_input,
70 uint16_t num,
71 const int8_t* p_absmax,
73
86int16_t nrf_dsp_crest_i8_s(const int8_t* p_input,
87 uint16_t num,
88 size32_t stride,
89 const int8_t* p_absmax,
91
103int16_t nrf_dsp_crest_i16(const int16_t* p_input,
104 uint16_t num,
105 const int16_t* p_absmax,
107
120int16_t nrf_dsp_crest_i16_s(const int16_t* p_input,
121 uint16_t num,
122 size32_t stride,
123 const int16_t* p_absmax,
125
126#ifdef __cplusplus
127}
128#endif
129
130#endif /* _NRF_DSP_STAT_CREST_FUNCTIONS_H_ */
131
int16_t nrf_dsp_crest_i8(const int8_t *p_input, uint16_t num, const int8_t *p_absmax, nrf_dsp_stat_ctx_i8_t *p_ctx)
Calculates Crest Factor (Peak to RMS) in a INT8 fixed-point vector.
int16_t nrf_dsp_crest_i16(const int16_t *p_input, uint16_t num, const int16_t *p_absmax, nrf_dsp_stat_ctx_i16_t *p_ctx)
Calculates Crest Factor (Peak to RMS) in a INT16 fixed-point vector.
int16_t nrf_dsp_crest_i16_s(const int16_t *p_input, uint16_t num, size32_t stride, const int16_t *p_absmax, nrf_dsp_stat_ctx_i16_t *p_ctx)
Calculates Crest Factor (Peak to RMS) in a INT16 fixed-point vector ​​using values ​​in increments of...
int16_t nrf_dsp_crest_i8_s(const int8_t *p_input, uint16_t num, size32_t stride, const int8_t *p_absmax, nrf_dsp_stat_ctx_i8_t *p_ctx)
Calculates Crest Factor (Peak to RMS) in a INT8 fixed-point vector ​​using values ​​in increments of ...
flt32_t nrf_dsp_crest_f32_s(const flt32_t *p_input, uint16_t num, size32_t stride, const flt32_t *p_absmax, nrf_dsp_stat_ctx_f32_t *p_ctx)
Calculates Crest Factor (Peak to RMS) in a floating-point vector ​​using values ​​in increments of 's...
flt32_t nrf_dsp_crest_f32(const flt32_t *p_input, uint16_t num, const flt32_t *p_absmax, nrf_dsp_stat_ctx_f32_t *p_ctx)
Calculates Crest Factor (Peak to RMS) in a floating-point vector.
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:85
INT16 statistics reusable context, in which is used to store derived or intermediate metrics to simpl...
Definition nrf_dsp_types.h:146
INT8 statistics reusable context, in which is used to store derived or intermediate metrics to simpli...
Definition nrf_dsp_types.h:125