TIOVX User Guide
|
Object descriptor. More...
#include <tivx_obj_desc.h>
Data Fields | |
volatile uint16_t | obj_desc_id |
ID of object in shared memory. | |
volatile uint16_t | type |
Type of object descritor, see tivx_obj_desc_type_e. | |
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 array, this is obj_desc_id of excompassing pyramid, object array | |
volatile uint16_t | in_node_done_cnt |
number of input nodes that have consumed this obj_desc, used in pipelining mode only for data references | |
volatile uint64_t | host_ref |
Host reference, accessible only on HOST side. | |
volatile uint32_t | flags |
reference flags | |
volatile uint32_t | element_idx |
holds the index ID in the case that this is an element within a pyramid or object array | |
volatile uint64_t | timestamp |
reference timestamp | |
volatile uint32_t | host_cpu_id |
holds the CPU ID of the OpenVX host for this object descriptor | |
volatile uint32_t | rsv0 |
reserved to make 64b aligned | |
volatile uint16_t | host_port_id [TIVX_OBJ_DESC_MAX_HOST_PORT_ID_CPU] |
holds the index of the IPC port on OpenVX host for this object descriptor for each remote CPU More... | |
Object descriptor.
Must be first element of any objects descriptors placed in shared memory
Make sure this structure is multiple of 64b
Definition at line 292 of file tivx_obj_desc.h.
volatile uint16_t tivx_obj_desc_t::host_port_id[TIVX_OBJ_DESC_MAX_HOST_PORT_ID_CPU] |
holds the index of the IPC port on OpenVX host for this object descriptor for each remote CPU
A connection to each remote CPU could be on a different host_port_id, hence this needs to hold host_port_id for each remote CPU, this array is indexed by TIOVX CPU ID. TIVX_OBJ_DESC_MAX_HOST_PORT_ID_CPU MUST be <= TIVX_CPU_ID_MAX
Definition at line 333 of file tivx_obj_desc.h.