Thin layer on top of OpenVX, for easily contruct complex pipelines using OpenVX.
Functions | |
vx_status | tiovx_modules_initialize_graph (GraphObj *graph) |
Function to initialize a graph object. More... | |
NodeObj * | tiovx_modules_add_node (GraphObj *graph, NODE_TYPES node_type, void *cfg) |
Function to add a new node to graph. More... | |
vx_status | tiovx_modules_verify_graph (GraphObj *graph) |
Function to be called after adding and connecting all the nodes. This function will created actual OpenVX Nodes, creates graph parameters for floating pads and created buffer pools for all graph params. More... | |
vx_status | tiovx_modules_export_graph (GraphObj *graph, char *path, char *prefix) |
Function to export graph as a dot file. More... | |
NodeObj * | tiovx_modules_get_node_by_name (GraphObj *graph, char *name) |
Function to get access to node object by name. More... | |
void | tiovx_modules_print_performance (GraphObj *graph) |
Function to print performance of each node in graph. More... | |
Buf * | tiovx_modules_acquire_buf (BufPool *buf_pool) |
Acquire a free buffer from a buffer pool. More... | |
vx_status | tiovx_modules_release_buf (Buf *buf) |
Release a previously acquired buffer back to its pool. More... | |
vx_status | tiovx_modules_clean_graph (GraphObj *graph) |
Function to clean the graph at the end of the application. More... | |
vx_status | tiovx_modules_enqueue_buf (Buf *buf) |
Function to enqueue a buffer to OpenVX graph. More... | |
Buf * | tiovx_modules_dequeue_buf (BufPool *buf_pool) |
dequeue a buffer from OpenVX graph. More... | |
vx_status | tiovx_modules_schedule_graph (GraphObj *graph) |
Function to schedule graph, if mode set to manual. More... | |
vx_status | tiovx_modules_wait_graph (GraphObj *graph) |
Function to wait for graph exec, if mode set to manual. More... | |
vx_status | tiovx_modules_release_node (NodeObj *node) |
Function to release a node, to be used only in modules. More... | |
vx_status | tiovx_modules_link_pads (Pad *src_pad, Pad *sink_pad) |
Function to link two pads. More... | |
void | kms_display_init_cfg (kmsDisplayCfg *cfg) |
Function to initialize kms display config. More... | |
kmsDisplayHandle * | kms_display_create_handle (kmsDisplayCfg *cfg) |
Function to create a kms display handle. More... | |
int | kms_display_register_buf (kmsDisplayHandle *handle, Buf *tiovx_buffer) |
Function to register a Buffer tobe. More... | |
int | kms_display_render_buf (kmsDisplayHandle *handle, Buf *tiovx_buffer) |
Function to render a Buffer. More... | |
int | kms_display_delete_handle (kmsDisplayHandle *handle) |
Function to free a kms display handle. More... | |
void | aewb_init_cfg (AewbCfg *cfg) |
Function to initialize AEWB config. More... | |
AewbHandle * | aewb_create_handle (AewbCfg *cfg) |
Function to create a aewb handle. More... | |
int | aewb_process (AewbHandle *handle, Buf *h3a_stats, Buf *aewb_result) |
Process function to invoke the algorithm. More... | |
int | aewb_delete_handle (AewbHandle *handle) |
Function to free a aewb handle. More... | |
void | tiovx_aewb_init_cfg (TIOVXAewbNodeCfg *cfg) |
Function to initialize tiovx AEWB config. More... | |
void | tiovx_capture_init_cfg (TIOVXCaptureNodeCfg *cfg) |
Function to initialize tiovx capture module config. More... | |
vx_status tiovx_modules_initialize_graph | ( | GraphObj * | graph | ) |
Function to initialize a graph object.
[in,out] | graph | Graph object _GraphObj. |
NodeObj* tiovx_modules_add_node | ( | GraphObj * | graph, |
NODE_TYPES | node_type, | ||
void * | cfg | ||
) |
Function to add a new node to graph.
[in,out] | graph | Graph object _GraphObj. |
[in] | node_type | Enum associated with the module to add node for NODE_TYPES. [in] cfg Configuration needed for given module This is module specific structure defined in module header. |
vx_status tiovx_modules_verify_graph | ( | GraphObj * | graph | ) |
Function to be called after adding and connecting all the nodes. This function will created actual OpenVX Nodes, creates graph parameters for floating pads and created buffer pools for all graph params.
[in,out] | graph | Graph object _GraphObj. |
vx_status tiovx_modules_export_graph | ( | GraphObj * | graph, |
char * | path, | ||
char * | prefix | ||
) |
Function to export graph as a dot file.
[in] | graph | Graph object _GraphObj. |
[in] | path | To dump the dot files. |
[in] | prefix | To be added to dot files. |
NodeObj* tiovx_modules_get_node_by_name | ( | GraphObj * | graph, |
char * | name | ||
) |
Function to get access to node object by name.
[in] | graph | Graph object _GraphObj. |
[in] | name | of the node. |
void tiovx_modules_print_performance | ( | GraphObj * | graph | ) |
Function to print performance of each node in graph.
[in] | graph | Graph object _GraphObj. |
Buf* tiovx_modules_acquire_buf | ( | BufPool * | buf_pool | ) |
vx_status tiovx_modules_release_buf | ( | Buf * | buf | ) |
Release a previously acquired buffer back to its pool.
[in] | buf | Buffer to be released _Buf. |
vx_status tiovx_modules_clean_graph | ( | GraphObj * | graph | ) |
Function to clean the graph at the end of the application.
[in] | buf | Buffer to be released _Buf. |
vx_status tiovx_modules_enqueue_buf | ( | Buf * | buf | ) |
Function to enqueue a buffer to OpenVX graph.
[in] | buf | Buffer to be enqueued _Buf. |
Buf* tiovx_modules_dequeue_buf | ( | BufPool * | buf_pool | ) |
vx_status tiovx_modules_schedule_graph | ( | GraphObj * | graph | ) |
Function to schedule graph, if mode set to manual.
[in] | buf | Buffer to be enqueued _Buf. |
vx_status tiovx_modules_wait_graph | ( | GraphObj * | graph | ) |
Function to wait for graph exec, if mode set to manual.
[in] | buf | Buffer to be enqueued _Buf. |
vx_status tiovx_modules_release_node | ( | NodeObj * | node | ) |
Function to release a node, to be used only in modules.
[in] | Node | object NodeObj |
vx_status tiovx_modules_link_pads | ( | Pad * | src_pad, |
Pad * | sink_pad | ||
) |
void kms_display_init_cfg | ( | kmsDisplayCfg * | cfg | ) |
Function to initialize kms display config.
[in,out] | cfg | kmsDisplayCfg. |
kmsDisplayHandle* kms_display_create_handle | ( | kmsDisplayCfg * | cfg | ) |
Function to create a kms display handle.
[in] | cfg | kmsDisplayCfg. |
int kms_display_register_buf | ( | kmsDisplayHandle * | handle, |
Buf * | tiovx_buffer | ||
) |
Function to register a Buffer tobe.
[in] | handle | kms display handle kmsDisplayHandle *\ |
[in] | Buffer | to register _Buf *\ |
int kms_display_render_buf | ( | kmsDisplayHandle * | handle, |
Buf * | tiovx_buffer | ||
) |
Function to render a Buffer.
[in] | handle | kms display handle kmsDisplayHandle *\ |
[in] | Buffer | to render _Buf *\ |
int kms_display_delete_handle | ( | kmsDisplayHandle * | handle | ) |
Function to free a kms display handle.
[in] | handle | kms display handle kmsDisplayHandle *\ |
void aewb_init_cfg | ( | AewbCfg * | cfg | ) |
Function to initialize AEWB config.
[in,out] | cfg | AewbCfg. |
AewbHandle* aewb_create_handle | ( | AewbCfg * | cfg | ) |
Function to create a aewb handle.
[in] | cfg | AewbCfg. |
int aewb_process | ( | AewbHandle * | handle, |
Buf * | h3a_stats, | ||
Buf * | aewb_result | ||
) |
Process function to invoke the algorithm.
[in] | aewb | handle AewbHandle. |
[in] | h3a_stats | from viss out. |
[out] | aewb_result | for viss in. |
int aewb_delete_handle | ( | AewbHandle * | handle | ) |
Function to free a aewb handle.
[in] | aewb | handle AewbHandle. |
void tiovx_aewb_init_cfg | ( | TIOVXAewbNodeCfg * | cfg | ) |
Function to initialize tiovx AEWB config.
[in,out] | cfg | TIOVXAewbNodeCfg. |
void tiovx_capture_init_cfg | ( | TIOVXCaptureNodeCfg * | cfg | ) |
Function to initialize tiovx capture module config.
[in,out] | cfg | TIOVXCaptureNodeCfg. |