← Back to C-Kernel-Engine Docs Doxygen Source Documentation
Loading...
Searching...
No Matches
ckernel_select_next_id_checked.h
Go to the documentation of this file.
1#ifndef CKERNEL_SELECT_NEXT_ID_CHECKED_H
2#define CKERNEL_SELECT_NEXT_ID_CHECKED_H
3
4#include <stddef.h>
5#include <stdint.h>
6
7#ifdef __cplusplus
8extern "C" {
9#endif
10
11enum {
15};
16
17/* Select the first maximum in the final finite row. The stop ID is excluded
18 * while emitted_frames < min_frames. A declared ID range is suppressed except
19 * for the stop ID once the minimum is met. A positive status is a normal control
20 * outcome and stops dependent generated calls. Invalid calls return a negative
21 * status and leave selected unchanged; budget exhaustion also leaves it
22 * unchanged. EOS writes selected before returning CK_NEXT_ID_STOP. */
24 const float *values, size_t values_elements,
25 size_t rows, size_t channels, size_t row_stride,
26 size_t emitted_frames, size_t min_frames, size_t max_frames,
27 size_t stop_id, size_t suppressed_begin, size_t suppressed_end,
28 int32_t *selected, size_t selected_elements);
29
30#ifdef __cplusplus
31}
32#endif
33
34#endif
int ck_select_next_id_checked_f32(const float *values, size_t values_elements, size_t rows, size_t channels, size_t row_stride, size_t emitted_frames, size_t min_frames, size_t max_frames, size_t stop_id, size_t suppressed_begin, size_t suppressed_end, int32_t *selected, size_t selected_elements)