![]() |
Edge AI Add-on API 2.2.0
|
| void nrf_dsp_clip_i16 | ( | int16_t * | p_input, |
| uint16_t | num, | ||
| const int16_t | min, | ||
| const int16_t | max ) |
#include <include/nrf_edgeai/dsp/support/nrf_dsp_clipping.h>
Clips INT16 values to the limit (min, max)
| [in,out] | p_input | Pointer to the input vector |
| [in] | num | Number of samples in the input vector |
| [in] | min | Minimum limit for the input samples, all value below will be clipped to this limit |
| [in] | max | Maximum limit for the input samples, all value above will be clipped to this limit |