The OpenVX Specification  dba1aa3
Data Object Copy

Detailed Description

Copy a data object to another.

Copy data from an input data object into another data object. The input and output object must have the same object type and meta data. If these objects are object arrays, or pyramids then a deep copy shall be performed.

Functions

vx_node VX_API_CALL vxCopyNode (vx_graph graph, vx_reference input, vx_reference output)
 Copy data from one object to another. More...
 
vx_status VX_API_CALL vxuCopy (vx_context context, vx_reference input, vx_reference output)
 [Immediate] Copy data from one object to another. More...
 

Function Documentation

vx_node VX_API_CALL vxCopyNode ( vx_graph  graph,
vx_reference  input,
vx_reference  output 
)

Copy data from one object to another.

Note
An implementation may optimize away the copy when virtual data objects are used.
Parameters
[in]graphThe reference to the graph.
[in]inputThe input data object.
[out]outputThe output data object with meta-data identical to the input data object.
Returns
vx_node.
Return values
vx_nodeA node reference. Any possible errors preventing a successful creation should be checked using vxGetStatus
vx_status VX_API_CALL vxuCopy ( vx_context  context,
vx_reference  input,
vx_reference  output 
)

[Immediate] Copy data from one object to another.

Parameters
[in]contextThe reference to the overall context.
[in]inputThe input data object.
[out]outputThe output data object.
Returns
A vx_status_e enumeration.
Return values
VX_SUCCESSSuccess
*An error occurred. See vx_status_e.