![]() |
Edge AI Add-on API 2.2.0
|
| int8_t nrf_dsp_window_flatsliding_init | ( | nrf_dsp_window_flatsliding_t * | p_ctx, |
| void * | p_window, | ||
| const uint16_t | max_samples_num, | ||
| const size_t | uniq_features_num, | ||
| const uint16_t | window_shift ) |
#include <include/nrf_edgeai/dsp/utils/data_windowing/nrf_dsp_window_flatten_sliding.h>
Initialize flatten by colums sliding window context type.
| [out] | p_ctx | Pointer to the window context which will be initialized |
| [in] | p_window | Pointer to window buffer |
| [in] | max_samples_num | Maximum number of feature samples in window buffer, feature sample = 1 * uniq_features_num |
| [in] | uniq_features_num | Number of unique features in feature sample, e.g feature sample = {x, y, z}, then uniq_features_num = 3 |
| [in] | window_shift | Window shift in samples by which the window will be shifted when it is filled. Must be less or equal max_samples_num |