TIOVX User Guide
tivx_obj_desc.h
Go to the documentation of this file.
1 /*
2 *
3 * Copyright (c) 2017-2019 Texas Instruments Incorporated
4 *
5 * All rights reserved not granted herein.
6 *
7 * Limited License.
8 *
9 * Texas Instruments Incorporated grants a world-wide, royalty-free, non-exclusive
10 * license under copyrights and patents it now or hereafter owns or controls to make,
11 * have made, use, import, offer to sell and sell ("Utilize") this software subject to the
12 * terms herein. With respect to the foregoing patent license, such license is granted
13 * solely to the extent that any such patent is necessary to Utilize the software alone.
14 * The patent license shall not apply to any combinations which include this software,
15 * other than combinations with devices manufactured by or for TI ("TI Devices").
16 * No hardware patent is licensed hereunder.
17 *
18 * Redistributions must preserve existing copyright notices and reproduce this license
19 * (including the above copyright notice and the disclaimer and (if applicable) source
20 * code license limitations below) in the documentation and/or other materials provided
21 * with the distribution
22 *
23 * Redistribution and use in binary form, without modification, are permitted provided
24 * that the following conditions are met:
25 *
26 * * No reverse engineering, decompilation, or disassembly of this software is
27 * permitted with respect to any software provided in binary form.
28 *
29 * * any redistribution and use are licensed by TI for use only with TI Devices.
30 *
31 * * Nothing shall obligate TI to provide you with source code for the software
32 * licensed and provided to you in object code.
33 *
34 * If software source code is provided to you, modification and redistribution of the
35 * source code are permitted provided that the following conditions are met:
36 *
37 * * any redistribution and use of the source code, including any resulting derivative
38 * works, are licensed by TI for use only with TI Devices.
39 *
40 * * any redistribution and use of any object code compiled from the source code
41 * and any resulting derivative works, are licensed by TI for use only with TI Devices.
42 *
43 * Neither the name of Texas Instruments Incorporated nor the names of its suppliers
44 *
45 * may be used to endorse or promote products derived from this software without
46 * specific prior written permission.
47 *
48 * DISCLAIMER.
49 *
50 * THIS SOFTWARE IS PROVIDED BY TI AND TI'S LICENSORS "AS IS" AND ANY EXPRESS
51 * OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
52 * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
53 * IN NO EVENT SHALL TI AND TI'S LICENSORS BE LIABLE FOR ANY DIRECT, INDIRECT,
54 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
55 * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
56 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
57 * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
58 * OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
59 * OF THE POSSIBILITY OF SUCH DAMAGE.
60 *
61 */
62 
63 
64 
65 #ifndef TIVX_OBJ_DESC_H_
66 #define TIVX_OBJ_DESC_H_
67 
68 #include <TI/tivx_mem.h>
69 #include <TI/tivx_config.h>
70 #include <TI/tivx_ext_raw_image.h>
71 
72 #ifdef __cplusplus
73 extern "C" {
74 #endif
75 
84 #define TIVX_OBJ_DESC_MAX_SHM_ENTRY_SIZE (1024U)
85 
91 #define TIVX_IMAGE_MAX_PLANES (4u)
92 
98 #define TIVX_CONTEXT_MAX_TENSOR_DIMS (4)
99 
103 #define TIVX_REF_FLAG_LOG_RT_TRACE (0x00000001u)
104 
108 #define TIVX_REF_FLAG_IS_INVALID (0x00000002u)
109 
113 #define TIVX_NODE_FLAG_IS_REPLICATED (0x00000001u)
114 
118 #define TIVX_NODE_FLAG_IS_EXECUTED (0x00000002u)
119 
123 #define TIVX_NODE_FLAG_IS_USER_CALLBACK (0x00000004u)
124 
129 #define TIVX_NODE_FLAG_IS_TARGET_KERNEL (0x00000008u)
130 
134 #define TIVX_NODE_FLAG_IS_SUPERNODE (0x00000010u)
135 
140 #define TIVX_NODE_OBJ_DESC_STATE_IDLE (0x0u)
141 
153 #define TIVX_NODE_OBJ_DESC_STATE_BLOCKED (0x1u)
154 
155 
160 #define TIVX_OBJ_DESC_MAX_HOST_PORT_ID_CPU (16u)
161 
167 typedef enum _tivx_obj_desc_type_e {
168 
171 
174 
177 
180 
183 
186 
189 
193 
197 
201 
205 
209 
213 
217 
220 
223 
226 
230 
234 
238 
242 
245 
247 
253 typedef enum _tivx_image_create_type_e
254 {
267 
269 
275 typedef struct _tivx_remap_point {
276 
277  vx_float32 src_x;
278  vx_float32 src_y;
279 
281 
292 typedef struct _tivx_obj_desc_t {
293 
295  volatile uint16_t obj_desc_id;
296 
298  volatile uint16_t type;
299 
304  volatile uint16_t scope_obj_desc_id;
305 
307  volatile uint16_t in_node_done_cnt;
308 
310  volatile uint64_t host_ref;
311 
313  volatile uint32_t flags;
314 
316  volatile uint32_t element_idx;
317 
319  volatile uint64_t timestamp;
320 
322  volatile uint32_t host_cpu_id;
323 
325  volatile uint32_t rsv0;
326 
333  volatile uint16_t host_port_id[TIVX_OBJ_DESC_MAX_HOST_PORT_ID_CPU];
334 
335 
337 
347 typedef struct _tivx_obj_desc_node
348 {
351 
354  volatile uint32_t flags;
355 
357  volatile uint32_t kernel_id;
358 
360  volatile uint32_t kernel_name_obj_desc_id;
361 
363  volatile uint32_t target_id;
364 
374  volatile uint32_t node_complete_cmd_obj_desc_id;
375 
383  volatile uint32_t target_kernel_index[TIVX_NODE_MAX_REPLICATE];
384 
386  volatile uint32_t exe_status;
387 
389  volatile uint32_t exe_time_beg_h;
390 
392  volatile uint32_t exe_time_beg_l;
393 
395  volatile uint32_t exe_time_end_h;
396 
398  volatile uint32_t exe_time_end_l;
399 
401  volatile uint32_t num_params;
402 
404  volatile uint32_t num_out_nodes;
405 
407  volatile uint32_t num_in_nodes;
408 
411 
417  volatile uint32_t is_prm_replicated;
418 
423  volatile uint32_t num_of_replicas;
424 
426  volatile uint16_t data_id[TIVX_KERNEL_MAX_PARAMS];
427 
430  volatile uint16_t data_ref_q_id[TIVX_KERNEL_MAX_PARAMS];
431 
433  volatile uint16_t out_node_id[TIVX_NODE_MAX_OUT_NODES];
434 
436  volatile uint16_t in_node_id[TIVX_NODE_MAX_IN_NODES];
437 
441  volatile uint16_t state;
442 
445  volatile uint16_t blocked_node_id;
446 
448  volatile uint16_t pipeline_id;
449 
451  volatile uint16_t prev_pipe_node_id;
452 
456  volatile uint32_t is_prm_input;
457 
461  volatile uint32_t is_prm_data_ref_q;
462 
466  volatile uint32_t is_prm_array_element;
467 
471  volatile uint32_t source_state;
472 
475  volatile uint32_t num_pipeup_bufs;
476 
480  volatile uint32_t pipeup_buf_idx;
481 
484  volatile uint32_t block_width;
485 
488  volatile uint32_t block_height;
489 
491 
497 typedef struct _tivx_obj_desc_image
498 {
504  volatile uint32_t width;
506  volatile uint32_t height;
508  volatile uint32_t format;
510  volatile uint32_t planes;
512  volatile uint32_t color_space;
514  volatile uint32_t color_range;
516  volatile uint32_t mem_size[TIVX_IMAGE_MAX_PLANES];
518  volatile uint32_t rsv[1];
529  volatile uint32_t uniform_image_pixel_value;
531  volatile uint32_t create_type;
537 
538 
544 typedef struct _tivx_obj_desc_remap
545 {
551  volatile uint32_t src_width;
553  volatile uint32_t src_height;
555  volatile uint32_t dst_width;
557  volatile uint32_t dst_height;
559  volatile uint32_t mem_size;
561 
567 typedef struct _tivx_obj_desc_matrix
568 {
574  volatile uint32_t rows;
576  volatile uint32_t columns;
578  volatile uint32_t origin_x;
580  volatile uint32_t origin_y;
582  volatile vx_enum pattern;
584  volatile uint32_t mem_size;
586  volatile vx_enum data_type;
587 
589 
595 typedef struct _tivx_obj_desc_lut
596 {
602  volatile vx_enum item_type;
608  volatile uint32_t mem_size;
609 
611 
617 typedef struct _tivx_obj_desc_pyramid
618 {
624  volatile vx_uint32 width;
626  volatile uint32_t height;
628  volatile vx_float32 scale;
630  volatile vx_df_image format;
632  volatile uint16_t obj_desc_id[TIVX_PYRAMID_MAX_LEVEL_OBJECTS];
634 
640 typedef struct _tivx_obj_desc_convolution
641 {
647  volatile uint32_t rows;
649  volatile uint32_t columns;
651  volatile uint32_t scale;
653  volatile uint32_t mem_size;
655 
661 typedef struct _tivx_obj_desc_threshold
662 {
666  volatile vx_enum type;
668  volatile int32_t value;
670  volatile int32_t upper;
672  volatile int32_t lower;
674  volatile int32_t true_value;
676  volatile int32_t false_value;
678  volatile vx_enum data_type;
680 
686 typedef struct _tivx_obj_desc_distribution
687 {
693  volatile uint32_t num_bins;
695  volatile uint32_t offset;
697  volatile uint32_t range;
699  volatile uint32_t num_win;
701  volatile uint32_t mem_size;
702 
704 
710 typedef struct _tivx_obj_desc_array
711 {
717  volatile vx_enum item_type;
719  volatile uint32_t item_size;
721  volatile uint32_t num_items;
723  volatile uint32_t capacity;
725  volatile uint32_t mem_size;
726 
728 
734 typedef struct _tivx_obj_desc_user_data_object
735 {
741  volatile uint32_t mem_size;
743  volatile uint32_t valid_mem_size;
745  volatile vx_char type_name[VX_MAX_REFERENCE_NAME];
746 
748 
754 typedef struct _tivx_obj_desc_raw_image
755 {
769  volatile uint32_t mem_size[TIVX_RAW_IMAGE_MAX_EXPOSURES];
771  volatile uint32_t create_type;
776 
778 
784 typedef struct _tivx_obj_desc_object_array
785 {
789  volatile vx_enum item_type;
791  volatile uint32_t num_items;
793  volatile uint16_t obj_desc_id[TIVX_OBJECT_ARRAY_MAX_ITEMS];
794 
796 
802 typedef struct _tivx_obj_desc_scalar
803 {
807  volatile uint32_t data_type;
809  volatile uint32_t rsv;
810 
811  union {
813  volatile vx_char chr;
815  volatile vx_int8 s08;
817  volatile vx_uint8 u08;
819  volatile vx_int16 s16;
821  volatile vx_uint16 u16;
823  volatile vx_int32 s32;
825  volatile vx_uint32 u32;
827  volatile vx_int64 s64;
829  volatile vx_uint64 u64;
830 #if defined(EXPERIMENTAL_PLATFORM_SUPPORTS_16_FLOAT)
831 
832  volatile vx_float16 f16;
833 #endif
834 
835  volatile vx_float32 f32;
837  volatile vx_float64 f64;
839  volatile vx_df_image fcc;
841  volatile vx_enum enm;
843  volatile vx_size size;
845  volatile vx_bool boolean;
846  } data;
847 
849 
855 typedef struct _tivx_obj_desc_tensor
856 {
862  volatile uint32_t number_of_dimensions;
864  volatile uint32_t data_type;
866  volatile uint32_t fixed_point_position;
868  volatile uint32_t scaling_divisor;
872  volatile uint32_t dimensions[TIVX_CONTEXT_MAX_TENSOR_DIMS];
886  volatile uint32_t stride[TIVX_CONTEXT_MAX_TENSOR_DIMS];
888  volatile uint32_t mem_size;
890 
901 void tivxGetObjDescList(volatile uint16_t obj_desc_id[],
902  tivx_obj_desc_t *obj_desc[], uint32_t num_desc_id);
903 
916 tivx_obj_desc_t *tivxGetObjDescElement(tivx_obj_desc_t *obj_desc, uint16_t elem_idx);
917 
933 void tivx_obj_desc_strncpy(volatile void *dst, volatile void *src, uint32_t size);
934 
950 void tivx_obj_desc_memcpy(volatile void *dst, volatile void *src, uint32_t size);
951 
967 void tivx_obj_desc_memset(volatile void *dst, uint8_t val, uint32_t size);
968 
969 
985 int32_t tivx_obj_desc_strncmp(volatile void *dst, volatile void *src, uint32_t size);
986 
1005 int32_t tivx_obj_desc_strncmp_delim(volatile void *dst, volatile void *src, uint32_t size, char delim);
1006 
1007 #ifdef __cplusplus
1008 }
1009 #endif
1010 
1011 #endif
volatile uint32_t num_items
number of valid items in array
Value of a invalid object descriptor.
Object descriptor that has information related to Distribution object.
volatile uint32_t src_width
The source width.
volatile vx_uint64 u64
Unsigned 64 bit.
Image object descriptor as placed in shared memory.
vx_bool
volatile uint32_t flags
reference flags
Object descriptor.
volatile uint32_t exe_status
node execution status
volatile uint32_t height
height of the level0 image
void tivxGetObjDescList(volatile uint16_t obj_desc_id[], tivx_obj_desc_t *obj_desc[], uint32_t num_desc_id)
Function to get the pointer to object descriptors for the given object descriptor id...
volatile uint32_t mem_size
size of buffer pointed to by mem_ptr
vx_border_t border_mode
border mode
vx_rectangle_t valid_roi
valid region of raw image to use for processing
volatile vx_char chr
A character.
tivx_image_create_type_e
Method by which image is created.
volatile uint32_t num_win
number of windows
volatile vx_enum item_type
The item type of the lut.
#define VX_MAX_REFERENCE_NAME
Interface to Memory allocation and deallocation APIs.
volatile vx_enum type
type of threshold
Remap point in remap table.
volatile vx_enum enm
Signed 32 bit.
uint16_t vx_uint16
volatile uint32_t mem_size
size of buffer pointed to by mem_ptr
uint8_t vx_uint8
tivx_obj_desc_t base
base object descriptor
volatile vx_bool boolean
Boolean Values.
void tivx_obj_desc_memset(volatile void *dst, uint8_t val, uint32_t size)
Utility function for memory/string copy/set operation on object descriptor pointers.
volatile uint64_t host_ref
Host reference, accessible only on HOST side.
volatile uint32_t dst_width
The destination width.
Object descriptor queue.
volatile uint32_t rows
number of rows
int16_t vx_int16
size_t vx_size
volatile uint32_t block_height
variable to store the tile height for the given node
Object descriptor graph.
tivx_obj_desc_t base
base object descriptor
tivx_obj_desc_t base
base object descriptor
volatile uint32_t offset
number of columns
volatile uint16_t prev_pipe_node_id
node in the previous pipeline relative to this node
volatile uint32_t origin_x
position at which to place the mask
tivx_obj_desc_t base
base object descriptor
user data object descriptor as placed in shared memory
Object descriptor that has information related to Array object.
int32_t tivx_obj_desc_strncmp(volatile void *dst, volatile void *src, uint32_t size)
Utility function for memory/string compare operation on object descriptor pointers.
volatile uint32_t origin_y
position at which to place the mask
int32_t vx_enum
volatile uint32_t planes
Number of data planes in image.
volatile uint32_t num_bins
number of rows
tivx_shared_mem_ptr_t mem_ptr
lut memory address
volatile vx_uint16 u16
Unsigned 16 bit.
volatile uint32_t scaling_divisor
each element of the tensor can be divided by this scaling value in order to obtain its real value ...
volatile vx_uint32 u32
Unsigned 32 bit.
lut object descriptor as placed in shared memory
Object descriptor that has information related to kernel name.
Create using vxCreateUniformImage()
int32_t vx_int32
Object descriptor that has information related to Convolution object.
volatile int32_t true_value
threshold true value
object array object descriptor as placed in shared memory
volatile uint16_t obj_desc_id
ID of object in shared memory.
Create using vxCreateImageFromHandle()
volatile uint32_t exe_time_end_l
node execution time
int64_t vx_int64
Object descriptor that has information related to matrix object.
volatile uint32_t item_size
Size of the array item.
Object descriptor that has information related to node object.
volatile uint32_t scaling_divisor_fixed_point_position
Fixed point precision of the scaling divisor.
char vx_char
volatile vx_enum item_type
The item type of the array.
float vx_float32
The TI Raw Image extension.
distribution object descriptor as placed in shared memory
array object descriptor as placed in shared memory
volatile uint32_t columns
number of columns
tivx_shared_mem_ptr_t mem_ptr
convolution memory address
volatile uint16_t pipeline_id
pipeline ID to which this node obj desc belongs
Create using vxCreateImageFromChannel()
Create using vxCreateImage()
volatile uint32_t create_type
method by which image was created, see tivx_image_create_type_e
tivx_shared_mem_ptr_t mem_ptr
user data object memory address
convolution object descriptor as placed in shared memory
volatile vx_float64 f64
64 bit float
tivx_obj_desc_t base
base object descriptor
volatile uint32_t scale
scale factor
vx_rectangle_t valid_roi
valid region of image to use for processing
volatile uint32_t range
scale factor
volatile uint32_t is_prm_data_ref_q
bitmask which indicates if prm is data ref q bitN = 1 means param at index N is data ref q ...
volatile vx_df_image format
image format
volatile uint32_t data_type
Data type of tensor.
Create using vxCreateImageFromROI()
#define TIVX_OBJ_DESC_MAX_HOST_PORT_ID_CPU
Max size of the array host_port_id, in tivx_obj_desc_t.
volatile uint32_t exe_time_end_h
node execution time
Object descriptor that has information related to command object.
volatile vx_int16 s16
Signed 16 bit.
volatile uint32_t format
Data format of image, see vx_df_image.
volatile uint32_t number_of_dimensions
Number of dimensions in the tensor.
tivx_obj_desc_t * tivxGetObjDescElement(tivx_obj_desc_t *obj_desc, uint16_t elem_idx)
Function to get the pointer to an element of an object array. If the object being passed is a regular...
Object descriptor that has information related to image object.
volatile vx_float32 f32
32 bit float
tivx_obj_desc_t base
base object descriptor
uint32_t vx_df_image
volatile uint32_t source_state
Flag indicating whether or not node is in pipeup state or steady state.
volatile uint32_t is_prm_replicated
bitmask which indicates if prm is replicated valid only when TIVX_NODE_FLAG_IS_REPLICATED is set in f...
volatile uint32_t dst_height
The destination height.
tivx_obj_desc_t base
base object descriptor
Object descriptor that has information related to Lut object.
tivx_obj_desc_t base
base object descriptor
#define TIVX_IMAGE_MAX_PLANES
Max possible planes of data in an image.
Definition: tivx_obj_desc.h:91
Tensor object descriptor as placed in shared memory.
volatile vx_enum data_type
data type of the threshold
volatile uint32_t flags
node flags see TIVX_NODE_FLAG_xxx
Object descriptor that has information related to Pyramid object.
volatile uint32_t kernel_name_obj_desc_id
kernel name object descriptor ID
tivx_obj_desc_t base
base object descriptor
#define TIVX_CONTEXT_MAX_TENSOR_DIMS
Max possible dimensions of data in a tensor.
Definition: tivx_obj_desc.h:98
Object descriptor that has information related to threshold object.
volatile vx_enum item_type
The item type of the lut.
volatile uint32_t height
Height of image in lines.
Remap object descriptor as placed in shared memory.
volatile int32_t lower
lower limit
Object descriptor that has information related to user data object.
volatile vx_int8 s08
Signed 8 bit.
volatile uint32_t mem_size
size of buffer pointed to by mem_ptr
tivx_shared_mem_ptr_t mem_ptr
matrix memory address
tivx_raw_image_create_params_t params
create parameters for raw image
volatile uint32_t element_idx
holds the index ID in the case that this is an element within a pyramid or object array ...
tivx_obj_desc_t base
base object descriptor
Object descriptor that has information related to tensor object.
volatile uint16_t state
node state one of TIVX_NODE_OBJ_DESC_STATE_IDLE, TIVX_NODE_OBJ_DESC_STATE_BLOCKED ...
volatile uint32_t block_width
variable to store the tile width for the given node
volatile uint32_t rsv
Reserved field to make below union on 64b aligned boundary.
volatile vx_uint32 num_items
number of items
volatile uint32_t num_pipeup_bufs
number of buffers required for pipeup state
tivx_shared_mem_ptr_t mem_ptr
buffer address
tivx_shared_mem_ptr_t mem_ptr
distribution memory address
double vx_float64
volatile uint32_t mem_size
size of buffer pointed to by mem_ptr
volatile uint32_t num_out_nodes
Number of nodes that are connected to output of this node.
tivx_obj_desc_t base
base object descriptor
tivx_obj_desc_type_e
Enum that list all possible object descriptor type&#39;s.
volatile vx_uint32 item_size
size of each item
volatile int32_t upper
upper limit
volatile uint32_t num_of_replicas
number of times node is replicated valid only when TIVX_NODE_FLAG_IS_REPLICATED is set in flags...
Structure describing a shared memory pointer.
Definition: tivx_mem.h:188
int32_t tivx_obj_desc_strncmp_delim(volatile void *dst, volatile void *src, uint32_t size, char delim)
Utility function for memory/string compare operation on object descriptor pointers with delimiter...
volatile uint32_t mem_size
size of buffer pointed to by mem_ptr
tivx_shared_mem_ptr_t mem_ptr
array memory address
volatile uint32_t valid_mem_size
size of valid data within the buffer
Object descriptor that has information related to remap object.
volatile uint32_t data_type
The value contained in the reference for a scalar type.
volatile int32_t false_value
threshold false value
volatile uint32_t rows
number of rows
volatile uint64_t timestamp
reference timestamp
volatile uint32_t num_in_nodes
Number of nodes that are connected to input of this node.
threshold object descriptor as placed in shared memory
volatile uint32_t exe_time_beg_h
node execution time
volatile uint32_t target_id
ID of target to execute on. Set by host.
volatile vx_uint32 width
width of the level0 image
volatile vx_enum pattern
Pattern of the matrix vx_pattern_e.
raw image descriptor as placed in shared memory
volatile uint32_t mem_size
size of buffer pointed to by mem_ptr
volatile uint32_t create_type
method by which raw image was created, see tivx_image_create_type_e
tivx_obj_desc_t base
base object descriptor
volatile uint32_t rsv0
reserved to make 64b aligned
volatile int32_t value
threshold value
volatile vx_uint32 num_levels
number of pyramid levels
volatile uint16_t scope_obj_desc_id
object descriptor ID of the scope in which this object is created For element of pyramid and object a...
tivx_obj_desc_t base
base object descriptor
#define TIVX_RAW_IMAGE_MAX_EXPOSURES
Maximum number of RAW image exposures that can be contained in a raw image object.
tivx_obj_desc_t base
base object descriptor
volatile uint32_t columns
number of columns
Object descriptor that has information related to scalar object.
volatile uint32_t num_items
number of valid items in array
volatile uint32_t mem_size
size of buffer pointed to by mem_ptr
volatile uint32_t fixed_point_position
Fixed point precision of the tensor.
volatile uint32_t is_prm_input
bitmask which indicates if prm is input to a node bitN = 1 means param at index N is input to node ...
uint32_t vx_uint32
volatile uint32_t num_params
number of parameters associated with this node
volatile vx_size size
Architecture depth unsigned value.
volatile uint16_t blocked_node_id
node ID that is blocked on this node to be IDLE
int8_t vx_int8
void tivx_obj_desc_memcpy(volatile void *dst, volatile void *src, uint32_t size)
Utility function for memory/string copy/set operation on object descriptor pointers.
void tivx_obj_desc_strncpy(volatile void *dst, volatile void *src, uint32_t size)
Utility function for memory/string copy/set operation on object descriptor pointers.
volatile vx_enum data_type
From vx_type_e.
pyramid object descriptor as placed in shared memory
volatile uint16_t type
Type of object descriptor, see tivx_obj_desc_type_e.
volatile uint32_t color_range
Color range of the image channel, see vx_channel_range_e.
Object descriptor that has information related to raw image object.
Create using vxCreateVirtualImage()
matrix object descriptor as placed in shared memory
tivx_obj_desc_t base
base object descriptor
Scalar object descriptor as placed in shared memory.
tivx_shared_mem_ptr_t mem_ptr
buffer address
volatile uint32_t mem_size
Buffer size.
Node object descriptor.
volatile vx_int32 s32
Signed 32 bit.
The raw image create params structure that is given to the tivxCreateRawImage function.
volatile uint32_t pipeup_buf_idx
Pipe buf idx used for when to begin graph processing on source node.
uint64_t vx_uint64
Object descriptor that has information related to super node.
volatile vx_float32 scale
Scaling factor between levels of the pyramid.
Object descriptor data ref queue.
volatile uint32_t width
Width of image in pixels.
volatile uint16_t in_node_done_cnt
number of input nodes that have consumed this obj_desc, used in pipelining mode only for data referen...
volatile uint32_t kernel_id
ID of kernel to execute on target.
volatile vx_df_image fcc
32 bit image format code
volatile uint32_t exe_time_beg_l
node execution time
volatile uint32_t color_space
Color space of the image, see vx_color_space_e.
volatile uint32_t host_cpu_id
holds the CPU ID of the OpenVX host for this object descriptor
volatile uint32_t node_complete_cmd_obj_desc_id
command to send when node completes execution
volatile uint32_t uniform_image_pixel_value
the value to use to fill for a uniform image.
volatile vx_int64 s64
Signed 64 bit.
volatile uint32_t src_height
The source height.
volatile vx_uint8 u08
Unsigned 8 bit.
volatile uint32_t capacity
Max size of the array.
Object descriptor that has information related to Object Array object.
volatile uint32_t is_prm_array_element
bitmask which indicates if prm is array element bitN = 1 means param at index N is array element ...