This section contains module APIs for the TIOVX VISS node tivxVpacVissNode.
|
vx_status | app_init_viss (vx_context context, VISSObj *vissObj, SensorObj *sensorObj, char *objName, uint32_t num_cameras_enabled) |
| VISS module init helper function. More...
|
|
void | app_deinit_viss (VISSObj *vissObj) |
| VISS module deinit helper function. More...
|
|
void | app_delete_viss (VISSObj *vissObj) |
| VISS module delete helper function. More...
|
|
vx_status | app_create_graph_viss (vx_graph graph, VISSObj *vissObj, vx_object_array raw_image_arr, const char *target) |
| VISS module create helper function. More...
|
|
vx_status | app_create_graph_viss_write_output (vx_graph graph, VISSObj *vissObj) |
| VISS module write output helper function. More...
|
|
vx_status | app_send_cmd_viss_write_node (VISSObj *vissObj, vx_uint32 start_frame, vx_uint32 num_frames, vx_uint32 num_skip) |
| VISS module write output helper function. More...
|
|
◆ app_init_viss()
vx_status app_init_viss |
( |
vx_context |
context, |
|
|
VISSObj * |
vissObj, |
|
|
SensorObj * |
sensorObj, |
|
|
char * |
objName, |
|
|
uint32_t |
num_cameras_enabled |
|
) |
| |
VISS module init helper function.
This VISS init helper function will create all the data objects required to create the VISS node
- Parameters
-
[in] | context | OpenVX context which must be created using vxCreateContext |
[out] | vissObj | VISS Module object which gets populated with VISS node data objects |
[in] | sensorObj | Sensor Module object used to initialize VISS data object parameters; must be initialized prior to passing to this function |
[in] | objName | String of the name of this object |
[in] | num_cameras_enabled | Number of cameras enabled |
◆ app_deinit_viss()
void app_deinit_viss |
( |
VISSObj * |
vissObj | ) |
|
VISS module deinit helper function.
This VISS deinit helper function will release all the data objects created during the app_init_viss call
- Parameters
-
[in,out] | vissObj | VISS Module object which contains VISS node data objects which are released in this function |
◆ app_delete_viss()
void app_delete_viss |
( |
VISSObj * |
vissObj | ) |
|
VISS module delete helper function.
This VISS delete helper function will delete the VISS node and write node that is created during the app_create_graph_viss call
- Parameters
-
[in,out] | vissObj | VISS Module object which contains VISS node objects which are released in this function |
◆ app_create_graph_viss()
vx_status app_create_graph_viss |
( |
vx_graph |
graph, |
|
|
VISSObj * |
vissObj, |
|
|
vx_object_array |
raw_image_arr, |
|
|
const char * |
target |
|
) |
| |
VISS module create helper function.
This VISS create helper function will create the node using all the data objects created during the app_init_viss call. Internally calls app_create_graph_viss_write_output if en_out_viss_write is set
- Parameters
-
[in] | graph | OpenVX graph that has been created using vxCreateGraph and where the VISS node is created |
[in,out] | vissObj | VISS Module object which contains VISS node and write node which are created in this function |
[in] | raw_image_arr | Raw image input object array to VISS node. Must be created separately, typically passed from output of capture node |
[in] | target | The name of the target (ASCII string) on which the node executes. |
◆ app_create_graph_viss_write_output()
vx_status app_create_graph_viss_write_output |
( |
vx_graph |
graph, |
|
|
VISSObj * |
vissObj |
|
) |
| |
VISS module write output helper function.
This VISS create helper function will create the node for writing the VISS output
- Parameters
-
[in] | graph | OpenVX graph |
[in,out] | vissObj | VISS Module object which contains write node which is created in this function |
◆ app_send_cmd_viss_write_node()
vx_status app_send_cmd_viss_write_node |
( |
VISSObj * |
vissObj, |
|
|
vx_uint32 |
start_frame, |
|
|
vx_uint32 |
num_frames, |
|
|
vx_uint32 |
num_skip |
|
) |
| |
VISS module write output helper function.
This VISS create helper function will create the node for writing the VISS output
- Parameters
-
[in] | vissObj | VISS Module object which contains the write node used in this function |
[in] | start_frame | Starting frame to write |
[in] | num_frames | Total number of frames to write |
[in] | num_skip | Number of VISS frames to skip writing |