34 #ifndef VXLIB_TABLELOOKUP_IXX_IXX_OXX_H_
35 #define VXLIB_TABLELOOKUP_IXX_IXX_OXX_H_
37 #include "../common/VXLIB_types.h"
188 const void *restrict pIn,
189 const void *restrict pOut,
190 const void *restrict pLut);
void * VXLIB_kernelHandle
Handle type for VXLIB operations.
VXLIB_STATUS_NAME
The enumeration of all status codes.
VXLIB_STATUS VXLIB_tableLookup_exec_checkParams(VXLIB_kernelHandle handle, const void *restrict pIn, const void *restrict pOut, const void *restrict pLut)
This function checks the validity of the parameters passed to VXLIB_tableLookup_exec function....
VXLIB_STATUS VXLIB_tableLookup_init(VXLIB_kernelHandle handle, VXLIB_bufParams2D_t *bufParamsIn, VXLIB_bufParams2D_t *bufParamsOut, VXLIB_bufParams1D_t *bufParamsLut, const VXLIB_tableLookup_InitArgs *pKerInitArgs)
This function should be called before the VXLIB_tableLookup_exec function is called....
void VXLIB_tableLookup_perfEst(VXLIB_kernelHandle handle, const VXLIB_bufParams2D_t *bufParamsIn, const VXLIB_bufParams2D_t *bufParamsOut, const VXLIB_bufParams1D_t *bufParamsLut, const VXLIB_tableLookup_InitArgs *pKerInitArgs, size_t *archCycles, size_t *estCycles)
This function estimates the archCycles and estCycles.
VXLIB_STATUS VXLIB_tableLookup_exec(VXLIB_kernelHandle handle, void *restrict pIn, void *restrict pOut, void *restrict pLut)
This function is the main kernel compute function.
VXLIB_STATUS VXLIB_tableLookup_init_checkParams(VXLIB_kernelHandle handle, const VXLIB_bufParams2D_t *bufParamsIn, const VXLIB_bufParams2D_t *bufParamsOut, const VXLIB_bufParams1D_t *bufParamsLut, const VXLIB_tableLookup_InitArgs *pKerInitArgs)
This function checks the validity of the parameters passed to VXLIB_tableLookup_init function....
int32_t VXLIB_tableLookup_getHandleSize(VXLIB_tableLookup_InitArgs *pKerInitArgs)
This is a query function to calculate the size of internal handle.
VXLIB_STATUS VXLIB_tableLookup_set(VXLIB_kernelHandle handle, void *restrict pLut)
This function place the lookup table in suitable memory location.
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 count
Parameter indicating size of lookup table
int8_t funcStyle
Variant of the function, refer to VXLIB_FUNCTION_STYLE
uint16_t offset
Parameter indicating index of input value = 0 in the lookup table