TIOVX User Guide
vx_internal.h File Reference

The top level TI OpenVX implementation header. More...

#include <stdarg.h>
#include <stdio.h>
#include <stdlib.h>
#include <VX/vx.h>
#include <VX/vx_khr_pipelining.h>
#include <TI/tivx.h>
#include <VX/vx_khr_safe_casts.h>
#include <TI/tivx_mem.h>
#include <TI/tivx_obj_desc.h>
#include <TI/tivx_target_kernel.h>
#include <TI/tivx_debug.h>
#include <tivx_platform.h>
#include <tivx_ipc.h>
#include <TI/tivx_mutex.h>
#include <TI/tivx_event.h>
#include <TI/tivx_task.h>
#include <TI/tivx_queue.h>
#include <TI/tivx_config.h>
#include <tivx_obj_desc_priv.h>
#include <tivx_target.h>
#include <tivx_target_kernel_priv.h>
#include <tivx_target_kernel_instance.h>
#include <tivx_obj_desc_queue.h>
#include <tivx_event_queue.h>
#include <vx_reference.h>
#include <tivx_data_ref_queue.h>
#include <vx_context.h>
#include <vx_error.h>
#include <vx_graph.h>
#include <vx_kernel.h>
#include <vx_node.h>
#include <vx_parameter.h>
#include <vx_remap.h>
#include <vx_scalar.h>
#include <vx_image.h>
#include <vx_matrix.h>
#include <vx_lut.h>
#include <vx_convolution.h>
#include <vx_distribution.h>
#include <vx_threshold.h>
#include <vx_pyramid.h>
#include <vx_objarray.h>
#include <vx_array.h>
#include <vx_user_data_object.h>
#include <tivx_raw_image.h>
#include <tivx_super_node.h>
#include <vx_tensor.h>
#include <vx_delay.h>
#include <vx_module.h>
#include <vx_meta_format.h>
#include <tivx_objects.h>
#include <tivx_log_rt_trace.h>
#include <tivx_log_resource.h>
#include <tivx_kernels_host_utils.h>

Go to the source code of this file.

Macros

#define TIVX_ALIGN(value, align)   ((((value)+((align)-1U))/(align))*(align))
 Macro to align a 'value' to 'align' units.
 
#define TIVX_FLOOR(value, align)   (((value)/(align))*(align))
 Macro to floor a 'value' to 'align' units.
 
#define TIVX_DEFAULT_STRIDE_Y_ALIGN   (16U)
 Macro to specify default alignment to use for stride in Y-direction. More...
 
#define TIVX_TYPE_IS_SCALAR(type)   (((vx_enum)VX_TYPE_INVALID < (type)) && ((type) < (vx_enum)VX_TYPE_SCALAR_MAX))
 Used to determine if a type is a scalar.
 
#define TIVX_TYPE_IS_STRUCT(type)   (((type) >= (vx_enum)VX_TYPE_RECTANGLE) && ((type) < (vx_enum)VX_TYPE_KHRONOS_STRUCT_MAX))
 Used to determine if a type is a struct.
 
#define TIVX_TYPE_IS_OBJECT(type)   (((type) >= (vx_enum)VX_TYPE_REFERENCE) && ((type) < (vx_enum)VX_TYPE_KHRONOS_OBJECT_END))
 Used to determine if a type is an Khronos defined object.
 
#define TIVX_TYPE_IS_TI_OBJECT(type)   (((type) >= (vx_enum)VX_TYPE_VENDOR_OBJECT_START) && ((type) < (vx_enum)VX_TYPE_VENDOR_OBJECT_END))
 Used to determine if a type is TI defined object.
 
#define TIVX_MAGIC   (0xFACEC0DEU)
 A magic value to look for and set in references.
 
#define TIVX_BAD_MAGIC   (42U)
 A magic value to look for and set in references. Used to indicate a free'ed reference.
 
#define VX_CHECK_PARAM(ptr, size, type, align)   ((NULL != ptr) && (size == sizeof(type)) && (((vx_size)ptr & align) == 0U))
 A parameter checker for size and alignment.
 

Enumerations

enum  tivx_type_e { ,
  TIVX_TYPE_ARRAY_MAP_INFO = (vx_enum)VX_TYPE_VENDOR_STRUCT_START + 1,
  TIVX_TYPE_IMAGE_MAP_INFO = (vx_enum)VX_TYPE_VENDOR_STRUCT_START + 2,
  TIVX_TYPE_RAW_IMAGE_MAP_INFO = (vx_enum)VX_TYPE_VENDOR_STRUCT_START + 3,
  TIVX_TYPE_TENSOR_MAP_INFO = (vx_enum)VX_TYPE_VENDOR_STRUCT_START + 4,
  TIVX_TYPE_USER_DATA_OBJECT_MAP_INFO = (vx_enum)VX_TYPE_VENDOR_STRUCT_START + 5,
  TIVX_TYPE_EVENT_QUEUE_ELEMENT = (vx_enum)VX_TYPE_VENDOR_STRUCT_START + 6,
  TIVX_TYPE_TARGET = (vx_enum)VX_TYPE_VENDOR_STRUCT_START + 7,
  TIVX_TYPE_TARGET_KERNEL_INSTANCE = (vx_enum)VX_TYPE_VENDOR_STRUCT_START + 8,
  TIVX_TYPE_TARGET_KERNEL = (vx_enum)VX_TYPE_VENDOR_STRUCT_START + 9,
  TIVX_TYPE_DELAY_PARAM = (vx_enum)VX_TYPE_VENDOR_STRUCT_START + 10,
  TIVX_TYPE_EVENT = (vx_enum)VX_TYPE_VENDOR_STRUCT_START + 11,
  TIVX_TYPE_UINTPTR = (vx_enum)VX_TYPE_VENDOR_STRUCT_START + 12,
  TIVX_TYPE_CONTEXT_USER_STRUCTS = (vx_enum)VX_TYPE_VENDOR_STRUCT_START + 13,
  TIVX_TYPE_GRAPH_PARAMETERS = (vx_enum)VX_TYPE_VENDOR_STRUCT_START + 14,
  TIVX_TYPE_DATA_REF_QUEUE_LIST = (vx_enum)VX_TYPE_VENDOR_STRUCT_START + 15,
  TIVX_TYPE_DELAY_DATA_REF_QUEUE_LIST = (vx_enum)VX_TYPE_VENDOR_STRUCT_START + 16
}
 TIVX defined reference types. More...
 

Functions

static void tivx_uint32_to_uint64 (volatile uint64_t *val, uint32_t h, uint32_t l)
 Macro to convert 2x uint32 to uint64.
 
static void tivx_uint64_to_uint32 (uint64_t val, volatile uint32_t *h, volatile uint32_t *l)
 Macro to convert uint64 to 2x uint32.
 

Detailed Description

The top level TI OpenVX implementation header.

Definition in file vx_internal.h.