This section contains module APIs for the TIOVX Display Node tivxHwaDisplay.
◆ DISPLAY_WIDTH
#define DISPLAY_WIDTH (1920) |
Display width value, can be modified as needed.
◆ DISPLAY_HEIGHT
#define DISPLAY_HEIGHT (1080) |
Display height value, can be modified as needed.
◆ app_init_display()
vx_status app_init_display |
( |
vx_context |
context, |
|
|
DisplayObj * |
displayObj, |
|
|
char * |
objName |
|
) |
| |
Display module init helper function.
This display init helper function will create all the data objects required to create the display node
- Parameters
-
[in] | context | OpenVX context which must be created using vxCreateContext |
[out] | displayObj | Display Module object which gets populated with display node data objects |
[in] | objName | String of the name of this object |
◆ app_deinit_display()
void app_deinit_display |
( |
DisplayObj * |
displayObj | ) |
|
Display module deinit helper function.
This display deinit helper function will release all the data objects created during the app_init_display call
- Parameters
-
[in,out] | displayObj | Display Module object which contains display node data objects which are released in this function |
◆ app_delete_display()
void app_delete_display |
( |
DisplayObj * |
displayObj | ) |
|
Display module delete helper function.
This display delete helper function will delete the display node that is created during the app_create_graph_display call
- Parameters
-
[in,out] | displayObj | Display Module object which contains display node object which is released in this function |
◆ app_create_graph_display()
vx_status app_create_graph_display |
( |
vx_graph |
graph, |
|
|
DisplayObj * |
displayObj, |
|
|
vx_image |
disp_image |
|
) |
| |
Display module create helper function.
This display create helper function will create the node using all the data objects created during the app_init_display call.
- Parameters
-
[in] | graph | OpenVX graph that has been created using vxCreateGraph and where the display node is created |
[in,out] | displayObj | Display Module object which contains display node which is created in this function |
[in] | disp_image | Image which will be displayed |