TIOVX User Guide
|
Internal APIs for target kernel operations.
Data Structures | |
struct | tivx_target_kernel_t |
Holds information about a target kernel instance. More... | |
Defines | |
#define | TIVX_TARGET_KERNEL_ID_INVALID (0xFFFFu) |
Used to indicate invalid kernel ID. | |
#define | TIVX_TARGET_KERNEL_ID_NOT_USED (0xFFFEu) |
Used to indicate kernel ID not used and kernel name is used instead. | |
Functions | |
vx_status | ownTargetKernelExecute (tivx_target_kernel_instance target_kernel_instance, tivx_obj_desc_t *obj_desc[], uint16_t num_params) |
Execute kernel on the target. More... | |
vx_status | ownTargetKernelCreate (tivx_target_kernel_instance target_kernel_instance, tivx_obj_desc_t *obj_desc[], uint16_t num_params) |
Create kernel on the target. More... | |
vx_status | ownTargetKernelDelete (tivx_target_kernel_instance target_kernel_instance, tivx_obj_desc_t *obj_desc[], uint16_t num_params) |
Delete kernel on the target. More... | |
vx_status | ownTargetKernelControl (tivx_target_kernel_instance target_kernel_instance, uint32_t node_cmd_id, tivx_obj_desc_t *obj_desc[], uint16_t num_params) |
Control kernel on the target. More... | |
tivx_target_kernel | ownTargetKernelGet (vx_enum kernel_id, volatile char *kernel_name, vx_enum target_id) |
Returns target kernel registered against this kernel ID and target ID. | |
vx_status | ownTargetKernelInit (void) |
Init target kernel module. | |
void | ownTargetKernelDeInit (void) |
DeInit target kernel module. | |
vx_status ownTargetKernelExecute | ( | tivx_target_kernel_instance | target_kernel_instance, |
tivx_obj_desc_t * | obj_desc[], | ||
uint16_t | num_params | ||
) |
Execute kernel on the target.
'obj_desc' points to parameters object descriptors associated with this kernel execution
vx_status ownTargetKernelCreate | ( | tivx_target_kernel_instance | target_kernel_instance, |
tivx_obj_desc_t * | obj_desc[], | ||
uint16_t | num_params | ||
) |
Create kernel on the target.
'obj_desc' points to parameters object descriptors associated with this kernel execution
vx_status ownTargetKernelDelete | ( | tivx_target_kernel_instance | target_kernel_instance, |
tivx_obj_desc_t * | obj_desc[], | ||
uint16_t | num_params | ||
) |
Delete kernel on the target.
'obj_desc' points to parameters object descriptors associated with this kernel execution
vx_status ownTargetKernelControl | ( | tivx_target_kernel_instance | target_kernel_instance, |
uint32_t | node_cmd_id, | ||
tivx_obj_desc_t * | obj_desc[], | ||
uint16_t | num_params | ||
) |
Control kernel on the target.
'obj_desc[0]' points to node object descriptor associated with this kernel execution 'obj_desc[1..num_params]' points to kernel specific parameter object descriptors