The OpenVX Specification  a73e458
Object: Node (Advanced)

Detailed Description

Defines the advanced features of the Node Interface.

Modules

 Node: Border Modes
 Defines the border mode behaviors.
 

Functions

vx_node VX_API_CALL vxCreateGenericNode (vx_graph graph, vx_kernel kernel)
 Creates a reference to a node object for a given kernel. More...
 

Function Documentation

◆ vxCreateGenericNode()

vx_node VX_API_CALL vxCreateGenericNode ( vx_graph  graph,
vx_kernel  kernel 
)

Creates a reference to a node object for a given kernel.

This node has no references assigned as parameters after completion. The client is then required to set these parameters manually by vxSetParameterByIndex. When clients supply their own node creation functions (for use with User Kernels), this is the API to use along with the parameter setting API.

Parameters
[in]graphThe reference to the graph in which this node exists [R00760].
[in]kernelThe kernel reference to associate with this new node [R00761].
Returns
A node reference vx_node [R00762]. Any possible errors preventing a successful creation should be checked using vxGetStatus [R00763].
Note
A call to this API sets all parameters to NULL [R00764].
Postcondition
Call vxSetParameterByIndex for as many parameters as needed to be set.