TIOVX User Guide

Detailed Description

Graph static configuration values.

Defines

#define TIVX_DEFAULT_GRAPH_TIMEOUT   (TIVX_EVENT_TIMEOUT_WAIT_FOREVER)
 Default timeout value for graph level control event ACK waits. This is the default timeout value used within the following APIs. More...
 
#define TIVX_GRAPH_PARAMETER_ENQUEUE_FLAG_PIPEUP   (0x00000001u)
 Flag used with tivxGraphParameterEnqueueReadyRef to indicate that this enqueue call if for pipeup phase. More...
 
#define TIVX_GRAPH_MAX_SUPER_NODES   (8u)
 Max possible super nodes in graph.
 

Functions

vx_status tivxGraphParameterEnqueueReadyRef (vx_graph graph, vx_uint32 graph_parameter_index, vx_reference *refs, vx_uint32 num_refs, vx_uint32 flags)
 Same as vxGraphParameterEnqueueReadyRef except that it take an additional TIOVX specific flag parameter. More...
 

Macro Definition Documentation

◆ TIVX_DEFAULT_GRAPH_TIMEOUT

#define TIVX_DEFAULT_GRAPH_TIMEOUT   (TIVX_EVENT_TIMEOUT_WAIT_FOREVER)

Default timeout value for graph level control event ACK waits. This is the default timeout value used within the following APIs.

Definition at line 38 of file vx_graph.h.

◆ TIVX_GRAPH_PARAMETER_ENQUEUE_FLAG_PIPEUP

#define TIVX_GRAPH_PARAMETER_ENQUEUE_FLAG_PIPEUP   (0x00000001u)

Flag used with tivxGraphParameterEnqueueReadyRef to indicate that this enqueue call if for pipeup phase.

Typically used only with source nodes which have a pipeup requirement

Definition at line 49 of file vx_graph.h.

Function Documentation

◆ tivxGraphParameterEnqueueReadyRef()

vx_status tivxGraphParameterEnqueueReadyRef ( vx_graph  graph,
vx_uint32  graph_parameter_index,
vx_reference refs,
vx_uint32  num_refs,
vx_uint32  flags 
)

Same as vxGraphParameterEnqueueReadyRef except that it take an additional TIOVX specific flag parameter.

For valid values of flag see

  • TIVX_GRAPH_PARAMETER_ENQUEUE_FLAG_PIPEUP The tivxGraphParameterEnqueueReadyRef API is needed if explicitly enqueueing and dequeueing from a capture node graph parameter that has set the VX_KERNEL_PIPEUP_OUTPUT_DEPTH using the vxSetKernelAttribute API. The tivxGraphParameterEnqueueReadyRef must be called for the num_bufs given as the VX_KERNEL_PIPEUP_OUTPUT_DEPTH. This API differs from vxGraphParameterEnqueueReadyRef in that it does not additionally schedule a graph execution. In the case that this API is not used at the capture node graph parameter, the teardown of the graph will pend as it will be waiting on graph executions that have not completed.

For more detailed description of vxGraphParameterEnqueueReadyRef see vxGraphParameterEnqueueReadyRef

Parameters
[in]graphGraph reference
[in]graph_parameter_indexGraph parameter index
[in]refsThe array of references to enqueue into the graph parameter
[in]num_refsNumber of references to enqueue
[in]flagsFlag to control behavior of the operation
Returns
A vx_status_e enumeration.
Return values
VX_SUCCESSNo errors.
VX_ERROR_INVALID_REFERENCEgraph is not a valid reference OR reference is not a valid reference
VX_ERROR_INVALID_PARAMETERSgraph_parameter_index is NOT a valid graph parameter index
VX_FAILUREReference could not be enqueued.