TIOVX User Guide

The top level context data for the entire OpenVX instance. More...

#include <vx_context.h>

Data Fields

tivx_reference_t base
 The base reference object.
 
vx_reference reftable [TIVX_CONTEXT_MAX_REFERENCES]
 References associated with a context.
 
vx_uint32 num_references
 The number of references in the table.
 
vx_uint32 num_unique_kernels
 The combined number of unique kernels in the system.
 
vx_log_callback_f log_callback
 Callback to call for logging messages from framework.
 
vx_bool log_enabled
 The log enable toggle.
 
tivx_mutex log_lock
 Lock to use for locking log print's.
 
tivx_mutex lock
 Lock to use for locking context.
 
vx_bool perf_enabled
 The performance counter enable toggle.
 
vx_border_t imm_border
 The immediate mode border.
 
vx_enum imm_border_policy
 The unsupported border mode policy for immediate mode functions.
 
vx_bool is_dynamic_user_kernel_id_used [TIVX_MAX_KERNEL_ID]
 Flag indicating whether corresponding dynamic_user_kernel_id is being used.
 
vx_uint32 num_dynamic_user_kernel_id
 Number of dynamic_user_kernel_id's being used.
 
vx_bool is_dynamic_user_library_id_used [TIVX_MAX_LIBRARY_ID]
 Flag indicating whether corresponding dynamic_user_library_id is being used.
 
vx_uint32 num_dynamic_user_library_id
 Number of dynamic_user_library_id's being used.
 
vx_enum imm_target_enum
 The immediate mode enumeration.
 
vx_char imm_target_string [TIVX_TARGET_MAX_NAME]
 The immediate mode target string.
 
tivx_user_structs_t user_structs [TIVX_CONTEXT_MAX_USER_STRUCTS]
 The list of user defined structs.
 
vx_kernel kerneltable [TIVX_CONTEXT_MAX_KERNELS]
 
tivx_obj_desc_cmd_tobj_desc_cmd [TIVX_MAX_CTRL_CMD_OBJECTS]
 
tivx_event cmd_ack_event [TIVX_MAX_CTRL_CMD_OBJECTS]
 
tivx_queue free_queue
 handle to free queue holding tivx_event_queue_elem_t's NOTE: queue holds index's to event_list[]
 
uintptr_t free_queue_memory [TIVX_MAX_CTRL_CMD_OBJECTS]
 free queue memory
 
tivx_queue pend_queue
 handle to ready queue holding tivx_event_queue_elem_t's which are ready to be delivered to users NOTE: queue holds index's to event_list[]
 
uintptr_t pend_queue_memory [TIVX_MAX_CTRL_CMD_OBJECTS]
 free queue memory
 
vx_bool remove_kernel_lock
 
tivx_graph_sort_context graph_sort_context
 
tivx_event_queue_t event_queue
 

Detailed Description

The top level context data for the entire OpenVX instance.

Definition at line 75 of file vx_context.h.

Field Documentation

◆ kerneltable

vx_kernel tivx_context_t::kerneltable[TIVX_CONTEXT_MAX_KERNELS]

Information about all kernels suported in this context

Definition at line 117 of file vx_context.h.

◆ obj_desc_cmd

tivx_obj_desc_cmd_t* tivx_context_t::obj_desc_cmd[TIVX_MAX_CTRL_CMD_OBJECTS]

Command object that is used to send control messages to different target

Definition at line 120 of file vx_context.h.

◆ cmd_ack_event

tivx_event tivx_context_t::cmd_ack_event[TIVX_MAX_CTRL_CMD_OBJECTS]

Event used to received a command ACK

Definition at line 123 of file vx_context.h.

◆ remove_kernel_lock

vx_bool tivx_context_t::remove_kernel_lock

Flag to disallow kernel removal, used for built in kernels added during context create

Definition at line 145 of file vx_context.h.

◆ graph_sort_context

tivx_graph_sort_context tivx_context_t::graph_sort_context

Context used while sorting a graph

Definition at line 148 of file vx_context.h.

◆ event_queue

tivx_event_queue_t tivx_context_t::event_queue

Event queue

Definition at line 151 of file vx_context.h.


The documentation for this struct was generated from the following file: