diff options
author | Wenbin Chen <wenbin.chen@intel.com> | 2023-08-15 16:26:31 +0800 |
---|---|---|
committer | Guo Yejun <yejun.guo@intel.com> | 2023-08-26 14:12:10 +0800 |
commit | e79bd1f1b158b84c4aa5083b5e2af2de8ede3b0e (patch) | |
tree | b407f0d099d1001682987e61da58fd01f12ac382 /configure | |
parent | 80ad0e2198df4e2961928d8304da58df6db77ec4 (diff) | |
download | ffmpeg-e79bd1f1b158b84c4aa5083b5e2af2de8ede3b0e.tar.gz |
lavfi/dnn: Add OpenVINO API 2.0 support
OpenVINO API 2.0 was released in March 2022, which introduced new
features.
This commit implements current OpenVINO features with new 2.0 APIs. And
will add other features in API 2.0.
Please add installation path, which include openvino.pc, to
PKG_CONFIG_PATH mannually for new OpenVINO libs config.
Signed-off-by: Ting Fu <ting.fu@intel.com>
Signed-off-by: Wenbin Chen <wenbin.chen@intel.com>
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -2459,6 +2459,7 @@ HAVE_LIST=" texi2html xmllint zlib_gzip + openvino2 " # options emitted with CONFIG_ prefix but not available on the command line @@ -6770,8 +6771,9 @@ enabled libopenh264 && require_pkg_config libopenh264 openh264 wels/codec_ enabled libopenjpeg && { check_pkg_config libopenjpeg "libopenjp2 >= 2.1.0" openjpeg.h opj_version || { require_pkg_config libopenjpeg "libopenjp2 >= 2.1.0" openjpeg.h opj_version -DOPJ_STATIC && add_cppflags -DOPJ_STATIC; } } enabled libopenmpt && require_pkg_config libopenmpt "libopenmpt >= 0.2.6557" libopenmpt/libopenmpt.h openmpt_module_create -lstdc++ && append libopenmpt_extralibs "-lstdc++" -enabled libopenvino && { check_pkg_config libopenvino openvino c_api/ie_c_api.h ie_c_api_version || - require libopenvino c_api/ie_c_api.h ie_c_api_version -linference_engine_c_api; } +enabled libopenvino && { { check_pkg_config libopenvino openvino openvino/c/openvino.h ov_core_create && enable openvino2; } || + { check_pkg_config libopenvino openvino c_api/ie_c_api.h ie_c_api_version || + require libopenvino c_api/ie_c_api.h ie_c_api_version -linference_engine_c_api; } } enabled libopus && { enabled libopus_decoder && { require_pkg_config libopus opus opus_multistream.h opus_multistream_decoder_create |