Alexander Alekhin
4c3f9b2ef4
cmake: update Halide detection
3 years ago
Alexander Alekhin
0e523618a1
cmake: exclude -pthread from Emscripten default build
3 years ago
Alexander Alekhin
9b0d6862c4
cmake(IE): extract INF_ENGINE_RELEASE from InferenceEngine package
3 years ago
Alexander Alekhin
7d842f5bcf
dnn: use OpenVINO 2021.4 defines
3 years ago
Alexander Alekhin
ef2b400c61
highgui: win32ui plugin
4 years ago
Giles Payne
a8757df963
Make Kotlin plugin version compatible with the Gradle version
4 years ago
Giles Payne
3b42e19505
At-like function for Java/Kotlin
4 years ago
Ilya Lavrenov
1e1ddd3279
Merge pull request #20026 from ilya-lavrenov:inference-engine-version-from-cmake
...
* Extract IE version from IE cmake config
* Update cmake/OpenCVDetectInferenceEngine.cmake
Co-authored-by: Maksim Shabunin <maksim.shabunin@gmail.com>
4 years ago
Alexander Alekhin
70f69cb265
highgui: backends and plugins
4 years ago
Alexander Alekhin
901ed5545f
cmake: fix handling of CMAKE_MODULE_LINKER_FLAGS
4 years ago
Mikhail Nikolskii
a604d44d06
Merge pull request #19755 from mikhail-nikolskiy:ffmpeg-umat
...
cv::UMat output/input in VideoCapture/VideoWriter (data stays in GPU memory)
* FFMPEG with UMat input/output
* OpenCL_D3D* context
* fix Linux build
* cosmetic changes
* fix build if USE_AV_HW_CODECS=0
* simplify how child context pointer stored in parent context
* QSV interop with OpenCL on Windows
* detect_msdk.cmake via pkg-config
* fix av_buffer_ref() usage
* revert windows-decode-mfx whitelisting; remove debug msg
* address review comments
* rename property to HW_ACCELERATION_USE_OPENCL
* fix issue with "cl_khr_d3d11_sharing" extension not reported by OpenCL GPU+CPU platform
* core(ocl): add OpenCL stubs for configurations without OpenCL
* videoio(ffmpeg): update #if guards
* Put OpenCL related code under HAVE_OPENCL; simplify reuse of media context from OpenCL context
* videoio(test): skip unsupported tests
- plugins don't support OpenCL/UMat yet
- change handling of *_USE_OPENCL flag
* videoio(ffmpeg): OpenCL dependency
* videoio(ffmpeg): MediaSDK/oneVPL dependency
* cleanup, logging
* cmake: fix handling of 3rdparty interface targets
Co-authored-by: Alexander Alekhin <alexander.a.alekhin@gmail.com>
4 years ago
Antonio Rojas
971dacaf41
Merge pull request #19970 from antonio-rojas:master
...
Support building with OpenEXR 3.x
* Support OpenEXR 3.0
Try to find OpenEXR 3.0 using the upstream cmake config, and fallback to the previous algorithm if not found
* Add explicit ImfFrameBuffer.h include
This was transitively included with OpenEXR 2.x, but that's no longer the case with OpenEXR 3.x
4 years ago
Nathan Hartman
e2483aa072
Fix typo: 'DOWNLAOD' to 'DOWNLOAD'
4 years ago
Maksim Shabunin
aeb8dfc52d
Fix header sorting for modules without headers
4 years ago
Maksim Shabunin
6465e393b6
IPP: use linker workaround for Intel compiler on Linux
4 years ago
Alexander Alekhin
2b86de217a
cmake: fix order of headers
...
- cmake uses filesystem's order which may vary
- unpredictable headers order may cause build failures (primary bindings)
4 years ago
eplankin
6f1eefec69
Merge pull request #19681 from eplankin:link_problem
...
* Workaround for IPP linking problem
* Apply -Bsymbolic to all cases when IPP is on
* Tried to hide symbols on MacOS
* Tried on --exclude-libs option
* Fixed macos and win warnings
* Fixed win build
* cmake(IPP): move --exclude-libs,libippcore.a to IPP CMake file
Co-authored-by: Alexander Alekhin <alexander.a.alekhin@gmail.com>
4 years ago
Alexander Alekhin
56bdd7db5c
dnn: use OpenVINO 2021.3 defines
...
original commit: 6291503793
4 years ago
Alexander Alekhin
625d4fc884
cmake: update Python linters handling
...
- exclude from getBuildInformation()
- fix pylint version
4 years ago
Giles Payne
0553543e6e
Merge pull request #19597 from komakai:android-ndk-camera
...
Android NDK camera support
* Add native camera video backend for Android
* In the event of a "No buffer available error" wait for the appropriate callback and retry
* Fix stale context when creating a new AndroidCameraCapture
* Add property handling
4 years ago
Maksim Shabunin
293e777fce
plugins: add suffix to default OUTPUT_NAME
4 years ago
Maksim Shabunin
b89410a266
Fix standalone plugin compilation for Windows
4 years ago
Alexander Alekhin
a7c1838c69
cmake(plugins): build without opencv_*.so on OSX
4 years ago
Alexander Alekhin
3dd55d284d
core(libva): use dynamic loader
4 years ago
Liangqian
0aca3fb5af
Merge pull request #19026 from chargerKong:dualquat
...
Dual quaternion
* create dual quaternion;
basic operations, functions(exp,log,norm,inv), to/from mat, sclerp.
* add dqb, dqs, gdqb, to/from affine3;
change algorithm of norm, inv, getTranslation, createFromPitch, normalize;
change type translation to Vec3;
comment improve;
* try fix warning: unreferenced local function
* change exp calculation;
add func(obj) operations;
* Change the algorithm of log function;
add assumeUnit in getRotation;
remove dqs;
change std::vector to InputArray
* fix warning: doxygen and Vec<double, 0>
* fix warning: doxygen and Vec<double, 0>
* add inputarray param for gdqb
* change int to size_t
* win cl warning fix
* replace size_t by int at using Mat.at() function
* replace double by float
* interpolation fix
* replace (i, 0) to (i)
* core(quat): exclude ABI, test_dualquaternion=>test_quaternion.cpp
Co-authored-by: arsaratovtsev <arsaratovtsev@intel.com>
Co-authored-by: Alexander Alekhin <alexander.a.alekhin@gmail.com>
4 years ago
Alexander Alekhin
cc73c36e32
core(parallel): plugins support
4 years ago
Zhuo Zhang
a5a421a9f1
Merge pull request #19522 from zchrissirhcz:3.4-fix-android-find-zlib-shared-since-ndk19
...
* fix find zlib.so instead of zlib.a when NDK >= 19
On Android platform, `libopencv_imgcodecs.a` is built, expected to
depend on `libz.so`. However, since Android NDK r19, NDK's `libz.a`
is found instead of `libz.so`, leading to link error
(not found libz.a) on machines without same NDK version & direcotry.
Since Android NDK-r19, toolchain pieces are installed to
`$NDK/toolchains/llvm/prebuilt/<host-tag>/...`, including `libz.so`.
Also installed to old paths (`<NDK>/platforms` and `<NDK>/sysroot`)
in NDK r19, r20, r21, but since NDK 22, old paths are removed.
- https://github.com/android/ndk/wiki/Changelog-r19
- https://github.com/android/ndk/wiki/Changelog-r22
With this commit, `libz.so` can be correctly found in NDK<19 and NDK>=19.
`ZLIB_LIBRARIES` is also simplified as `z`, by appending match (regex)
patterns for new toolchain installation directory's libz.so's paths.
* simplify libz.so match pattern for abbreviation
4 years ago
Alexander Alekhin
d2d6eba16a
cmake: fix add_apple_compiler_options() calls and OBJCXX handling
4 years ago
Giles Payne
2cb48e034e
Build for NDK 22
4 years ago
Alexander Alekhin
65b5d34aee
cmake: use INTERFACE_COMPILE_DEFINITIONS with definition
4 years ago
Cuntian Liu
0677f3e21c
Merge pull request #19452 from ctuu:patch-1
...
* fix: findCUDNN script
* Update FindCUDNN.cmake
4 years ago
Alexander Alekhin
fcff767a7f
cmake(tbb): fix target_compile_definitions() with "UNKNOWN" target
...
- https://gitlab.kitware.com/cmake/cmake/-/issues/19434
4 years ago
Alexander Alekhin
7a282a8892
cmake: workaround oneAPI problem with -DMKL_WITH_TBB=ON
4 years ago
Alexander Alekhin
eced4dd023
cmake: workaround oneTBB build issues with MSVC
4 years ago
Alexander Alekhin
e448f4f6ef
cmake: fix pylint/flake8 detection, update flake8 exclude
4 years ago
Maksim Shabunin
46b2da409b
MKL-TBB: removed tbb from dependencies list
4 years ago
Maksim Shabunin
694fe3e7d2
core, gapi: supported build with oneTBB 2021
4 years ago
Alexander Alekhin
b73bf03bfc
core: parallel backends API
...
- allow to replace parallel_for() backend
4 years ago
Alexander Alekhin
8215380336
cmake: support ccache with Xcode generator
4 years ago
Ilya Lavrenov
064d48771d
Find only shared IE libraries, not plugins
...
original commit: 3ed376d103
4 years ago
Ilya Lavrenov
3ed376d103
Find only shared IE libraries, not plugins
4 years ago
Alexander Alekhin
a6b5771297
ABI: exclude quaternion header from ABI/API check
...
- this API is experimental for now
4 years ago
Alexander Alekhin
752cc26ad6
dnn: use OpenVINO 2021.2 defines
...
original commit: 4699d2ba0c
4 years ago
Alexander Alekhin
b3937288e5
cmake: update MKL library searching
...
- allow to specify MKL_LIBRARIES through command-line
4 years ago
Alexander Alekhin
7fa9efbfd8
cmake: fix handling of wrappers dependencies
4 years ago
Alexander Alekhin
6bfb0dda85
cmake: avoid duplication of -Winit-self flag
4 years ago
Alexander Alekhin
8ae1552a5b
cmake: avoid excessive output from cmake --trace/--trace-expand
...
- `cmake . --trace-expand -DCMAKE_TRACE_MODE=1`
4 years ago
Alexander Alekhin
7e5c4fe1cd
cmake(js): update js targets
...
- unconditional js bindings source code generation
- use common name for tests: opencv_test_js
4 years ago
Alexander Alekhin
b31ce408ae
cmake: fix processing order of <wrapper>_bindings_generator
...
- ensure that wrapped modules are already processed
4 years ago
Alexander Alekhin
c42d47d94a
cmake: clean cached INTERNAL variable used for 3rdparty deps
4 years ago