19 #ifndef VX_INTERNAL_H_ 20 #define VX_INTERNAL_H_ 39 #include <TI/tivx_config.h> 73 #include <tivx_objects.h> 91 #define TIVX_ALIGN(value, align) ((((value)+((align)-1U))/(align))*(align)) 96 #define TIVX_FLOOR(value, align) (((value)/(align))*(align)) 104 #define TIVX_DEFAULT_STRIDE_Y_ALIGN (16U) 109 #define TIVX_TYPE_IS_SCALAR(type) (((vx_enum)VX_TYPE_INVALID < (type)) && ((type) < (vx_enum)VX_TYPE_SCALAR_MAX)) 114 #define TIVX_TYPE_IS_STRUCT(type) (((type) >= (vx_enum)VX_TYPE_RECTANGLE) && ((type) < (vx_enum)VX_TYPE_KHRONOS_STRUCT_MAX)) 119 #define TIVX_TYPE_IS_OBJECT(type) (((type) >= (vx_enum)VX_TYPE_REFERENCE) && ((type) < (vx_enum)VX_TYPE_KHRONOS_OBJECT_END)) 124 #define TIVX_TYPE_IS_TI_OBJECT(type) (((type) >= (vx_enum)VX_TYPE_VENDOR_OBJECT_START) && ((type) < (vx_enum)VX_TYPE_VENDOR_OBJECT_END)) 129 #define TIVX_MAGIC (0xFACEC0DEU) 135 #define TIVX_BAD_MAGIC (42U) 148 #define VX_CHECK_PARAM(ptr, size, type, align) ((NULL != ptr) && (size == sizeof(type)) && (((vx_size)ptr & align) == 0U)) 158 *val = ((uint64_t)h<<32) | (uint64_t)l;
166 *h = (uint32_t)(val >> 32);
167 *l = (uint32_t)(val >> 0);
Implementation of Reference object.
static void tivx_uint64_to_uint32(uint64_t val, volatile uint32_t *h, volatile uint32_t *l)
Macro to convert uint64 to 2x uint32.
The internal error implementation.
Interface to Memory allocation and deallocation APIs.
Implementation of Remap object.
Interface to TI extension APIs.
Implementation of Module APIs.
Implementation of Context object.
Implementation of Target Object APIs.
Implementation of Data Reference Queue Object APIs.
Implementation of Raw Image object.
Implementation of Object descriptor Queue Object APIs.
Implementation of Array object.
Internal private implementation of object descriptor.
Implementation of Graph object.
Implementation of Matrix object.
Implementation of Delay object.
Implementation of resource log API.
tivx_type_e
TIVX defined reference types.
Interface to object descriptor.
Implementation of Threshold object.
The OpenVX Pipelining, Streaming and Batch Processing extension API.
The Internal Debugging API.
Target Kernel Instance implementation APIs.
Implementation of Kernel object.
Interface file for utility functions for the Kernel.
Implementation of real-time trace log API.
Implementation of Scalar object.
Inter-processor Communication (IPC) APIs.
Implementation of Image object.
Implementation of Object Array data object.
Implementation of Pyramid object.
Implementation of Tensor object.
Implementation of user data object.
Implementation of Lut object.
VX_TYPE_VENDOR_OBJECT_START
Target Kernel implementation APIs.
Interface to kernel APIs on target.
Implementation of Parameter object.
Implementation of Lut object.
static void tivx_uint32_to_uint64(volatile uint64_t *val, uint32_t h, uint32_t l)
Macro to convert 2x uint32 to uint64.
Implementation of Super Node object.
Interface to Event Queue APIs.
Implementation of Node object.
Implementation of Lut object.