Vision Apps User Guide

Introduction

This section contains module APIs for the TIOVX Display Node tivxHwaDisplay.

Data Structures

struct  DisplayObj
 Display Module Data Structure. More...
 

Functions

vx_status app_init_display (vx_context context, DisplayObj *displayObj, char *objName)
 Display module init helper function. More...
 
void app_deinit_display (DisplayObj *displayObj)
 Display module deinit helper function. More...
 
void app_delete_display (DisplayObj *displayObj)
 Display module delete helper function. More...
 
vx_status app_create_graph_display (vx_graph graph, DisplayObj *displayObj, vx_image disp_image)
 Display module create helper function. More...
 

Macros

#define DISPLAY_WIDTH   (1920)
 Display width value, can be modified as needed. More...
 
#define DISPLAY_HEIGHT   (1080)
 Display height value, can be modified as needed. More...
 

Macro Definition Documentation

◆ 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.

Function Documentation

◆ 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]contextOpenVX context which must be created using vxCreateContext
[out]displayObjDisplay Module object which gets populated with display node data objects
[in]objNameString 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]displayObjDisplay 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]displayObjDisplay 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]graphOpenVX graph that has been created using vxCreateGraph and where the display node is created
[in,out]displayObjDisplay Module object which contains display node which is created in this function
[in]disp_imageImage which will be displayed