TIOVX User Guide
tivx_data_ref_queue_t Struct Reference

Data Ref Queue internal state. More...

#include <tivx_data_ref_queue.h>

Data Fields

tivx_reference_t base
 The base reference object.
 
uint16_t ready_q_obj_desc_id
 object descriptor used for 'READY' queue
 
uint16_t done_q_obj_desc_id
 object descriptor used for 'DONE' queue
 
tivx_event wait_done_ref_available_event
 event triggered when a data ref is inserted into 'DONE' queue
 
tivx_obj_desc_data_ref_q_tobj_desc [TIVX_GRAPH_MAX_PIPELINE_DEPTH]
 obj descriptor of data ref queue
 
tivx_obj_desc_cmd_tobj_desc_cmd [TIVX_GRAPH_MAX_PIPELINE_DEPTH]
 reference consumed object descriptor
 
uint16_t acquire_q_obj_desc_id
 acquire queue ID
 
uint16_t release_q_obj_desc_id
 release queue ID
 
uint32_t pipeline_depth
 pipeline depth
 
vx_bool is_enable_send_ref_consumed_event
 send event to user when data ref is consumed
 
vx_bool enable_user_queueing
 will user do enqueing/dequeueing or will graph rotate buffers internally
 
uint32_t graph_parameter_index
 graph parameter index which is associated with this data ref
 
vx_graph graph
 graph associated with this data reference
 

Detailed Description

Data Ref Queue internal state.

A Data Ref Queue consists of a pair of queues, ready queue and done queue

  • Ready queue is used to enqueue refs from user to graph
  • Done queue is used to dequeue processed refs from graph to user

Definition at line 100 of file tivx_data_ref_queue.h.


The documentation for this struct was generated from the following file: