Edge AI Add-on API 2.2.0
Loading...
Searching...
No Matches

◆ nrf_dsp_range_i8_s()

uint8_t nrf_dsp_range_i8_s ( const int8_t * p_input,
uint16_t num,
size32_t stride )

#include <include/nrf_edgeai/dsp/statistic/nrf_dsp_range.h>

Finds the difference between the minimum and maximum value in the INT8 fixed-point vector using values in increments of 'stride'.

This function finds min/max values via a call to nrf_dsp_min_max_i8_s().

Parameters
[in]p_inputPointer to the input vector
[in]numNumber of samples in input vector
[in]strideVector element offset stride
Returns
uint8_t Difference between the minimum and maximum value in the input vector