TIOVX User Guide
vx_context.h File Reference

Implementation of Context object. More...

Go to the source code of this file.

Data Structures

struct  tivx_graph_sort_context
 Context used while sorting a graph. More...
 
struct  tivx_user_structs_t
 The list of user defined structs. More...
 
struct  tivx_context_t
 The top level context data for the entire OpenVX instance. More...
 

Macros

#define TIVX_CONTEXT_MAX_CONVOLUTION_DIM   (9)
 The largest convolution matrix the specification requires support for is 9x9.
 
#define TIVX_CONTEXT_MAX_OPTICALFLOWPYRLK_DIM   (9)
 The largest optical flow pyr LK window.
 
#define TIVX_CONTEXT_MAX_NONLINEAR_DIM   (9)
 The largest nonlinear filter matrix the specification requires support for is 9x9.
 

Functions

vx_bool ownIsValidContext (vx_context context)
 Check if 'context' is valid. More...
 
vx_status ownContextFlushCmdPendQueue (vx_context context)
 Flushes the command pend queue, if not empty. More...
 
vx_bool ownAddReferenceToContext (vx_context context, vx_reference ref)
 Add reference to a context. More...
 
vx_bool ownRemoveReferenceFromContext (vx_context context, vx_reference ref)
 Remove reference from a context. More...
 
vx_status ownAddKernelToContext (vx_context context, vx_kernel kernel)
 Add's unique kernel to context. More...
 
vx_status ownRemoveKernelFromContext (vx_context context, vx_kernel kernel)
 Remove unique kernel from context. More...
 
vx_status ownIsKernelInContext (vx_context context, vx_enum enumeration, const vx_char string[VX_MAX_KERNEL_NAME], vx_bool *is_found)
 Check if kernel exists inside the context.
 
vx_status ownContextSendCmd (vx_context context, uint32_t target_id, uint32_t cmd, uint32_t num_obj_desc, const uint16_t *obj_desc_id, uint32_t timeout)
 Send a command to specified target with object descriptor ID's as parameters. More...
 
vx_status ownContextSendControlCmd (vx_context context, uint16_t node_obj_desc, uint32_t target_id, uint32_t replicated_node_idx, uint32_t node_cmd_id, const uint16_t obj_desc_id[], uint32_t num_obj_desc, uint32_t timeout)
 Send a control command to specified target with object descriptor ID's as parameters. More...
 
vx_bool ownContextGetKernelRemoveLock (vx_context context)
 Get value of kernel remove lock flag. More...
 
void ownContextSetKernelRemoveLock (vx_context context, vx_bool do_lock)
 Set value of kernel remove lock flag. More...
 
vx_status ownReleaseReferenceBufferGeneric (vx_reference *ref)
 Common callback function. More...
 
vx_status ownContextLock (vx_context context)
 Lock context. More...
 
vx_status ownContextUnlock (vx_context context)
 Lock context. More...
 
vx_context ownGetContext (void)
 Returns the vx_context object currently being used. More...
 

Detailed Description

Implementation of Context object.

Definition in file vx_context.h.