diff options
author | Guo, Yejun <yejun.guo@intel.com> | 2020-11-18 14:30:11 +0800 |
---|---|---|
committer | Guo, Yejun <yejun.guo@intel.com> | 2020-12-29 09:31:06 +0800 |
commit | e67b5d0a247cc7c896c6c1042cf140c429866738 (patch) | |
tree | d71737f806062bf7feac8773ad9818bc3404ea58 /libavfilter/dnn/dnn_interface.c | |
parent | 39f5cb4bd1bbb12632baac24dd7b9bb5a68bef8d (diff) | |
download | ffmpeg-e67b5d0a247cc7c896c6c1042cf140c429866738.tar.gz |
dnn: add async execution support for openvino backend
Signed-off-by: Xie, Lin <lin.xie@intel.com>
Signed-off-by: Wu Zhiwen <zhiwen.wu@intel.com>
Signed-off-by: Guo, Yejun <yejun.guo@intel.com>
Diffstat (limited to 'libavfilter/dnn/dnn_interface.c')
-rw-r--r-- | libavfilter/dnn/dnn_interface.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libavfilter/dnn/dnn_interface.c b/libavfilter/dnn/dnn_interface.c index f82ab12e98..e1b41a21e1 100644 --- a/libavfilter/dnn/dnn_interface.c +++ b/libavfilter/dnn/dnn_interface.c @@ -58,6 +58,8 @@ DNNModule *ff_get_dnn_module(DNNBackendType backend_type) #if (CONFIG_LIBOPENVINO == 1) dnn_module->load_model = &ff_dnn_load_model_ov; dnn_module->execute_model = &ff_dnn_execute_model_ov; + dnn_module->execute_model_async = &ff_dnn_execute_model_async_ov; + dnn_module->get_async_result = &ff_dnn_get_async_result_ov; dnn_module->free_model = &ff_dnn_free_model_ov; #else av_freep(&dnn_module); |