FFmpeg
|
Common Async Execution Mechanism for the DNN Backends. More...
#include <dnn_backend_common.h>
Data Fields | |
DNNReturnType(* | start_inference )(void *request) |
Synchronous inference function for the backend with corresponding request item as the argument. More... | |
void(* | callback )(void *args) |
Completion Callback for the backend. More... | |
void * | args |
Argument for the execution functions. More... | |
Common Async Execution Mechanism for the DNN Backends.
Definition at line 58 of file dnn_backend_common.h.
DNNReturnType(* DNNAsyncExecModule::start_inference) (void *request) |
Synchronous inference function for the backend with corresponding request item as the argument.
Definition at line 63 of file dnn_backend_common.h.
Referenced by async_thread_routine(), ff_dnn_async_module_cleanup(), ff_dnn_load_model_tf(), and ff_dnn_start_inference_async().
void(* DNNAsyncExecModule::callback) (void *args) |
Completion Callback for the backend.
Expected argument type of callback must match that of the inference function.
Definition at line 70 of file dnn_backend_common.h.
Referenced by async_thread_routine(), ff_dnn_async_module_cleanup(), ff_dnn_load_model_tf(), and ff_dnn_start_inference_async().
void* DNNAsyncExecModule::args |
Argument for the execution functions.
i.e. Request item for the backend.
Definition at line 76 of file dnn_backend_common.h.
Referenced by async_thread_routine(), ff_dnn_async_module_cleanup(), ff_dnn_load_model_tf(), and ff_dnn_start_inference_async().