38 #define TIVX_DEFAULT_KERNEL_TIMEOUT (TIVX_EVENT_TIMEOUT_WAIT_FOREVER) 43 typedef struct _tivx_signature_t {
60 typedef struct _vx_kernel
vx_size local_data_size
Local data size for user kernels.
Kernel object internal state.
vx_status(* vx_kernel_f)(vx_node node, const vx_reference *parameters, vx_uint32 num)
vx_enum ownKernelGetDefaultTarget(vx_kernel kernel)
Get default target ID associated with this kernel.
The most basic type in the OpenVX system. Any type that inherits from tivx_reference_t must have a vx...
vx_enum ownKernelGetTarget(vx_kernel kernel, const char *target_string)
Match user provided target with supported targets and return target ID on which to run this kernel...
vx_uint32 num_pipeup_bufs
number of pipeup buffers
vx_kernel_initialize_f initialize
The initialization function.
vx_uint32 connected_sink_bufs
number of buffers needed for allocation at source node when sink node directly connected ...
vx_status(* vx_kernel_initialize_f)(vx_node node, const vx_reference *parameters, vx_uint32 num)
vx_uint32 num_targets
number of supported targets
tivx_signature_t signature
parameter signature of this kernel
vx_enum enumeration
enum associated with this kernel
vx_uint32 pipeup_buf_idx
pipeup buf index, used for querying during enqueue
vx_bool lock_kernel_remove
when this flag is true, kernel cannot be removed via remove kernel API
#define TIVX_TARGET_MAX_NAME
Max possible name of a target.
vx_uint32 num_sink_bufs
number of buffers needed for sink node
struct _vx_kernel * vx_kernel
vx_enum state
capture state (VX_NODE_STATE_PIPEUP or VX_NODE_STATE_STEADY)
vx_kernel_deinitialize_f deinitialize
The deinitialization function.
vx_uint32 timeout_val
Control API processing Timeout value in milli-sec.
The internal representation of the attributes associated with a run-time parameter.
vx_bool is_target_kernel
Flag to check if this is a user kernel or target kernel.
vx_kernel_validate_f validate
The parameters validator.
#define TIVX_MAX_TARGETS_PER_KERNEL
Maximum targets a kernel can run on.
vx_status(* vx_kernel_deinitialize_f)(vx_node node, const vx_reference *parameters, vx_uint32 num)
#define VX_MAX_KERNEL_NAME
vx_status(* vx_kernel_validate_f)(vx_node node, const vx_reference parameters[], vx_uint32 num, vx_meta_format metas[])
#define TIVX_KERNEL_MAX_PARAMS
Max parameters in a kernel.
tivx_reference_t base
reference object
vx_uint32 num_parameters
The number of items in both tivx_signature_t::directions and tivx_signature_t::types.