34 #ifndef VXLIB_ABSDIFF_IXX_IXX_OXX_PRIV_H_
35 #define VXLIB_ABSDIFF_IXX_IXX_OXX_PRIV_H_
37 #include "../common/VXLIB_utility.h"
54 #define VXLIB_ABSDIFF_IXX_IXX_OXX_PBLOCK_SIZE (2 * VXLIB_SE_PARAM_SIZE + VXLIB_SA_PARAM_SIZE)
95 template <u
int32_t dTypeIn0>
128 template <
typename dataType>
148 template <
typename dataType>
VXLIB_STATUS VXLIB_absDiff_exec_cn(VXLIB_kernelHandle handle, void *restrict pIn0, void *restrict pIn1, void *restrict pOut)
This function is the main execution function for the natural C implementation of the kernel....
VXLIB_STATUS VXLIB_absDiff_exec_ci(VXLIB_kernelHandle handle, void *restrict pIn0, void *restrict pIn1, void *restrict pOut)
This function is the main execution function for the C7x implementation of the kernel....
VXLIB_STATUS VXLIB_absDiff_init_cn(VXLIB_kernelHandle handle, VXLIB_bufParams2D_t *bufParamsIn0, VXLIB_bufParams2D_t *bufParamsIn1, VXLIB_bufParams2D_t *bufParamsOut)
This function is the initialization function for the natural C implementation of the kernel....
#define VXLIB_ABSDIFF_IXX_IXX_OXX_PBLOCK_SIZE
Macro to define the size of bufPblock array of VXLIB_absDiff_PrivArgs structure.
VXLIB_STATUS VXLIB_absDiff_init_ci(VXLIB_kernelHandle handle, const VXLIB_bufParams2D_t *bufParamsIn0, const VXLIB_bufParams2D_t *bufParamsIn1, const VXLIB_bufParams2D_t *bufParamsOut, const VXLIB_absDiff_InitArgs *pKerInitArgs)
This function is the initialization function for the C7x implementation of the kernel....
VXLIB_STATUS(* pFxnVXLIB_absDiff_exec)(VXLIB_kernelHandle handle, void *restrict pIn0, void *restrict pIn1, void *restrict pOut)
This is a function pointer type that conforms to the declaration of VXLIB_absDiff_exec_ci and VXLIB_a...
void * VXLIB_kernelHandle
Handle type for VXLIB operations.
VXLIB_STATUS_NAME VXLIB_STATUS
Return value for VXLIB functions.
VXLIB_STATUS_NAME
The enumeration of all status codes.
Structure containing the parameters to initialize the kernel.
Structure that is reserved for internal use by the kernel.
size_t numBlocks
Number of blocks to be processed after simidfication.
uint32_t height
Height of image
uint32_t strideIn1Elements
Stride of input1 in elements.
pFxnVXLIB_absDiff_exec execute
Function pointer to point to the right execution variant between VXLIB_absDiff_exec_cn and VXLIB_absD...
uint32_t strideIn0Elements
Stride of input0 in elements.
uint32_t width
Width of image
uint32_t strideOutElements
Stride of output in elements.
A structure for a 2 dimensional buffer descriptor.