81 #ifndef DSPLIB_MINERROR_IXX_IXX_OXX_H_
82 #define DSPLIB_MINERROR_IXX_IXX_OXX_H_
84 #include "../common/DSPLIB_types.h"
208 const void *restrict pIn,
209 const void *restrict pErrCoefs,
210 const int *restrict pMaxIndex,
211 const void *restrict pMaxVal);
244 void *restrict pErrCoefs,
245 int *restrict pMaxIndex,
246 void *restrict pMaxVal);
DSPLIB_STATUS_NAME
The enumeration of all status codes.
void * DSPLIB_kernelHandle
Handle type for DSPLIB operations.
int32_t DSPLIB_minerror_getHandleSize(DSPLIB_minerror_InitArgs *pKerInitArgs)
This is a query function to calculate the size of internal handle.
DSPLIB_STATUS DSPLIB_minerror_init_checkParams(DSPLIB_kernelHandle handle, const DSPLIB_bufParams2D_t *bufParamsIn, const DSPLIB_bufParams1D_t *bufParamsErrCoefs, const DSPLIB_bufParams1D_t *bufParamsOutIndex, const DSPLIB_bufParams1D_t *bufParamsOutVal, const DSPLIB_minerror_InitArgs *pKerInitArgs)
This function checks the validity of the parameters passed to DSPLIB_minerror_init function....
DSPLIB_STATUS DSPLIB_minerror_init(DSPLIB_kernelHandle handle, DSPLIB_bufParams2D_t *bufParamsIn, DSPLIB_bufParams1D_t *bufParamsErrCoefs, DSPLIB_bufParams1D_t *bufParamsOutIndex, DSPLIB_bufParams1D_t *bufParamsOutVal, DSPLIB_minerror_InitArgs *pKerInitArgs)
This function should be called before the DSPLIB_minerror_exec function is called....
DSPLIB_STATUS DSPLIB_minerror_exec_checkParams(DSPLIB_kernelHandle handle, const void *restrict pIn, const void *restrict pErrCoefs, const int *restrict pMaxIndex, const void *restrict pMaxVal)
This function checks the validity of the parameters passed to DSPLIB_minerror_exec function....
DSPLIB_STATUS DSPLIB_minerror_exec(DSPLIB_kernelHandle handle, void *restrict pIn, void *restrict pErrCoefs, int *restrict pMaxIndex, void *restrict pMaxVal)
This function is the main kernel compute function.
A structure for a 1 dimensional buffer descriptor.
A structure for a 2 dimensional buffer descriptor.
Structure containing the parameters to initialize the kernel.
uint32_t errCoefsSize
Size of error coefficients vector
int8_t funcStyle
Variant of the function refer to DSPLIB_FUNCTION_STYLE
uint32_t vecInSize
Size of input data