![]() |
Edge AI Add-on API 2.2.0
|
| 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 ) |
#include <include/nrf_edgeai/dsp/transform/nrf_dsp_rfht.h>
Initialize instance structure for the RFHT/RIFHT functions.
| [out] | p_inst | Pointer to instance structure to initialize |
| [in] | p_sin_table | Pointer to sin() table, with size of window_size / 4 elements |
| [in] | p_tg_table | Pointer to tg() table, with size of window_size / 4 elements |
| [in] | p_rev_bit_index | Pointer to index reordering array, with size of window_size elements |
| [in] | p_window | Pointer to RFHT result buffer, with size of window_size elements |
| [in] | window_size | Window buffer size to store result of FHT, should be powers of two in value (128/256/512/etc) |
| [in] | log_n | Value of log2(window_size) |