TIOVX User Guide

Detailed Description

APIs for querying and manipulating the OpenVX graph.

Functions

vx_status VX_API_CALL tivxSetGraphPipelineDepth (vx_graph graph, vx_uint32 pipeline_depth)
 Indicates to the implementation the depth of the graph pipeline. More...
 
vx_node tivxGraphGetNode (vx_graph graph, uint32_t idx)
 This API is used to get a reference to a node within a graph at a given index within the graph. More...
 

Function Documentation

◆ tivxSetGraphPipelineDepth()

vx_status VX_API_CALL tivxSetGraphPipelineDepth ( vx_graph  graph,
vx_uint32  pipeline_depth 
)

Indicates to the implementation the depth of the graph pipeline.

Parameters
[in]graphGraph reference
[in]pipeline_depthPipeline depth; Max value is (TIVX_GRAPH_MAX_PIPELINE_DEPTH-1) else it will return an error

◆ tivxGraphGetNode()

vx_node tivxGraphGetNode ( vx_graph  graph,
uint32_t  idx 
)

This API is used to get a reference to a node within a graph at a given index within the graph.

Use vxQueryGraph with attribute VX_GRAPH_NUMNODES to get number of nodes within a graph. This API can be called only on a verified graph. Node returned by this API is not reference counted and should not be released by the user.

Parameters
[in]graphgraph handle
[in]idxnode index, value from 0 .. value returned by vxQueryGraph(VX_GRAPH_NUMNODES) - 1
Returns
vx_node in case of success, else NULL