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

◆ nrf_dsp_amdf_i16()

int32_t nrf_dsp_amdf_i16 ( const int16_t * p_input,
uint16_t num )

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

Calculates Average Magnitude Difference value of a INT16 fixed-point vector.

Parameters
[in]p_inputPointer to the input vector
[in]numNumber of samples in input vector
Returns
int32_t Average Magnitude Difference value in the vector