28 #ifndef _OPENVX_PIPELINING_H_ 29 #define _OPENVX_PIPELINING_H_ 36 #define OPENVX_KHR_PIPELINING "vx_khr_pipelining" 52 #define VX_LIBRARY_KHR_PIPELINING_EXTENSION (0x1) 204 vx_enum graph_schedule_mode,
205 uint32_t graph_parameters_list_size,
241 vx_uint32 graph_parameter_index,
285 vx_uint32 graph_parameter_index,
288 vx_uint32 *num_refs);
310 vx_uint32 graph_parameter_index,
311 vx_uint32 *num_refs);
421 typedef struct _vx_event {
461 VX_API_ENTRY vx_status VX_API_CALL
vxWaitEvent(vx_context context,
vx_event_t *event, vx_bool do_not_block);
472 VX_API_ENTRY vx_status VX_API_CALL
vxEnableEvents(vx_context context);
488 VX_API_ENTRY vx_status VX_API_CALL
vxDisableEvents(vx_context context);
502 VX_API_ENTRY vx_status VX_API_CALL
vxSendUserEvent(vx_context context, vx_uint32
id,
void *parameter);
vx_status vxGraphParameterCheckDoneRef(vx_graph graph, vx_uint32 graph_parameter_index, vx_uint32 *num_refs)
Checks and returns the number of references that are ready for dequeue.
vx_status vxWaitEvent(vx_context context, vx_event_t *event, vx_bool do_not_block)
Wait for a single event.
vx_uint32 graph_parameter_index
graph parameter index which generated this event
Parameter structure returned with event of type VX_EVENT_NODE_COMPLETED.
Graph parameter consumed event.
vx_graph graph
graph which generated this event
Graph schedule mode type enumeration.
vx_status vxDisableEvents(vx_context context)
Disable event generation.
vx_enum type
see event type vx_event_type_e
vx_status vxRegisterEvent(vx_reference ref, enum vx_event_type_e type, vx_uint32 param)
Register an event to be generated.
Parameter structure returned with event of type VX_EVENT_GRAPH_PARAMETER_CONSUMED.
vx_event_type_e
Type of event that can be generated during system execution.
vx_reference * refs_list
Array of references that could be enqueued at a later point of time at this graph parameter...
Schedule graph in non-queueing mode.
vx_status vxStopGraphStreaming(vx_graph graph)
Stop streaming mode of graph execution.
vx_node node
node which generated this event
vx_graph_schedule_mode_type_e
Type of graph scheduling mode.
vx_graph_attribute_pipelining_e
The graph attributes added by this extension.
Data structure which holds event information.
vx_uint32 user_event_id
user event ID associated with this event
Schedule graph in queueing mode with manual scheduling.
Schedule graph in queueing mode with auto scheduling.
uint32_t graph_parameter_index
Index of graph parameter to which these properties apply.
vx_graph graph
graph which generated this event
vx_graph graph
graph which generated this event
vx_status vxStartGraphStreaming(vx_graph graph)
Start streaming mode of graph execution.
vx_graph_schedule_mode_enum_e
Extra enums.
Returns the schedule mode of a graph. Read-only. Use a vx_enum parameter. See vx_graph_schedule_mode_...
vx_status vxSendUserEvent(vx_context context, vx_uint32 id, void *parameter)
Generate user defined event.
vx_uint32 refs_list_size
Number of elements in array 'refs_list'.
vx_status vxGraphParameterDequeueDoneRef(vx_graph graph, vx_uint32 graph_parameter_index, vx_reference *refs, vx_uint32 max_refs, vx_uint32 *num_refs)
Dequeues 'consumed' references from a graph parameter.
Parameter structure returned with event of type VX_EVENT_USER_EVENT.
vx_status vxEnableEvents(vx_context context)
Enable event generation.
vx_status vxGraphParameterEnqueueReadyRef(vx_graph graph, vx_uint32 graph_parameter_index, vx_reference *refs, vx_uint32 num_refs)
Enqueues new references into a graph parameter for processing.
Parameter structure returned with event of type VX_EVENT_GRAPH_COMPLETED.
vx_status vxSetGraphScheduleConfig(vx_graph graph, vx_enum graph_schedule_mode, uint32_t graph_parameters_list_size, const vx_graph_parameter_queue_params_t graph_parameters_queue_params_list[])
Sets the graph scheduler config.
vx_event_enum_e
Extra enums.
void * user_event_parameter
User defined parameter value. This is used to pass additional user defined parameters with a user eve...
Queueing parameters for a specific graph parameter.