TIOVX User Guide

Node object descriptor. More...

#include <tivx_obj_desc.h>

Data Fields

tivx_obj_desc_t base
 base object descriptor
 
volatile uint32_t flags
 node flags see TIVX_NODE_FLAG_xxx
 
volatile uint32_t kernel_id
 ID of kernel to execute on target.
 
volatile uint32_t kernel_name_obj_desc_id
 kernel name object descriptor ID
 
volatile uint32_t target_id
 ID of target to execute on. Set by host.
 
volatile uint32_t node_complete_cmd_obj_desc_id
 command to send when node completes execution More...
 
volatile uint32_t target_kernel_index [TIVX_NODE_MAX_REPLICATE]
 Index in target kernel table. More...
 
volatile uint32_t exe_status
 node execution status
 
volatile uint32_t exe_time_beg_h
 node execution time
 
volatile uint32_t exe_time_beg_l
 node execution time
 
volatile uint32_t exe_time_end_h
 node execution time
 
volatile uint32_t exe_time_end_l
 node execution time
 
volatile uint32_t num_params
 number of parameters associated with this node
 
volatile uint32_t num_out_nodes
 Number of nodes that are connected to output of this node.
 
volatile uint32_t num_in_nodes
 Number of nodes that are connected to input of this node.
 
vx_border_t border_mode
 border mode
 
volatile uint32_t is_prm_replicated
 bitmask which indicates if prm is replicated valid only when TIVX_NODE_FLAG_IS_REPLICATED is set in flags. bitN = 1 means param at index N is replicated
 
volatile uint32_t num_of_replicas
 number of times node is replicated valid only when TIVX_NODE_FLAG_IS_REPLICATED is set in flags.
 
volatile uint16_t data_id [TIVX_KERNEL_MAX_PARAMS]
 parameter object descriptors
 
volatile uint16_t data_ref_q_id [TIVX_KERNEL_MAX_PARAMS]
 parameter data ref q object descriptors, valid only when is_prm_data_ref_q is set
 
volatile uint16_t out_node_id [TIVX_NODE_MAX_OUT_NODES]
 parameter object descriptors
 
volatile uint16_t in_node_id [TIVX_NODE_MAX_IN_NODES]
 parameter object descriptors
 
volatile uint16_t state
 node state one of TIVX_NODE_OBJ_DESC_STATE_IDLE, TIVX_NODE_OBJ_DESC_STATE_BLOCKED
 
volatile uint16_t blocked_node_id
 node ID that is blocked on this node to be IDLE
 
volatile uint16_t pipeline_id
 pipeline ID to which this node obj desc belongs
 
volatile uint16_t prev_pipe_node_id
 node in the previous pipeline relative to this node
 
volatile uint32_t is_prm_input
 bitmask which indicates if prm is input to a node bitN = 1 means param at index N is input to node
 
volatile uint32_t is_prm_data_ref_q
 bitmask which indicates if prm is data ref q bitN = 1 means param at index N is data ref q
 
volatile uint32_t is_prm_array_element
 bitmask which indicates if prm is array element bitN = 1 means param at index N is array element
 
volatile uint32_t source_state
 Flag indicating whether or not node is in pipeup state or steady state.
 
volatile uint32_t num_pipeup_bufs
 number of buffers required for pipeup state
 
volatile uint32_t pipeup_buf_idx
 Pipe buf idx used for when to begin graph processing on source node.
 
volatile uint32_t block_width
 variable to store the tile width for the given node
 
volatile uint32_t block_height
 variable to store the tile height for the given node
 

Detailed Description

Node object descriptor.

Fields with name target_* are only accessed by target CPU Fields with name host_* are only accessed by host CPU Other fields are accessed by both target and host

Definition at line 347 of file tivx_obj_desc.h.

Field Documentation

◆ node_complete_cmd_obj_desc_id

volatile uint32_t tivx_obj_desc_node_t::node_complete_cmd_obj_desc_id

command to send when node completes execution

This is set by host in following conditions

  • when user callback is attached and host wants intimation of node execution complete in order to call user callback
  • when this is a leaf node and host needs intimation of node execution complete in order to check for graph execution complete

Definition at line 374 of file tivx_obj_desc.h.

◆ target_kernel_index

volatile uint32_t tivx_obj_desc_node_t::target_kernel_index[TIVX_NODE_MAX_REPLICATE]

Index in target kernel table.

Used for fast indexing to kernel functions during graph execute phase.

This is filled by target side during node create phase

Definition at line 383 of file tivx_obj_desc.h.


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