Edge AI Add-on API 2.2.0
Loading...
Searching...
No Matches
nrf_dsp_rfht.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_TRANSFORM_REAL_FHT_H_
16#define _NRF_DSP_TRANSFORM_REAL_FHT_H_
17
19
20#ifdef __cplusplus
21extern "C" {
22#endif
23
25#define NRF_DSP_FRACT_BITS_7 7
26#define NRF_DSP_FRACT_BITS_15 15
27
32{
35
38
40 uint16_t* p_rev_bit_index;
41
43 void* p_window;
44
46 uint16_t window_size;
47
49 uint16_t log_n;
51
66 const void* p_sin_table,
67 const void* p_tg_table,
68 const uint16_t* p_rev_bit_index,
69 void* p_window,
70 const uint16_t window_size,
71 const uint16_t log_n);
72
80
90
100
101#ifdef __cplusplus
102}
103#endif
104
105#endif /* _NRF_DSP_TRANSFORM_REAL_FHT_H_ */
106
struct nrf_dsp_rfht_instance_s nrf_dsp_rfht_instance_t
Instance structure for the RFHT/RIFHT functions.
int8_t nrf_dsp_rfht_init(nrf_dsp_rfht_instance_t *p_inst, const void *p_sin_table, const void *p_tg_table, const uint16_t *p_rev_bit_index, void *p_window, const uint16_t window_size, const uint16_t log_n)
Initialize instance structure for the RFHT/RIFHT functions.
void nrf_dsp_rfht_f32(const nrf_dsp_rfht_instance_t *p_inst)
Perform RFHT on the floating-point input vector.
uint16_t nrf_dsp_rfht_i16(const nrf_dsp_rfht_instance_t *p_inst)
Perform RFHT on the INT16 input vector.
uint16_t nrf_dsp_rfht_i8(const nrf_dsp_rfht_instance_t *p_inst)
Perform RFHT on the INT8 input vector.
void * p_window
Definition nrf_dsp_rfht.h:43
uint16_t window_size
Definition nrf_dsp_rfht.h:46
void * p_tg_table
Definition nrf_dsp_rfht.h:37
uint16_t * p_rev_bit_index
Definition nrf_dsp_rfht.h:40
void * p_sin_table
Definition nrf_dsp_rfht.h:34
uint16_t log_n
Definition nrf_dsp_rfht.h:49
Instance structure for the RFHT/RIFHT functions.
Definition nrf_dsp_rfht.h:32