platform/upstream/opencv.git
3 years agoMerge pull request #19667 from alalek:hotfix_ffmpeg_hw_accel
Alexander Alekhin [Wed, 3 Mar 2021 11:08:55 +0000 (11:08 +0000)]
Merge pull request #19667 from alalek:hotfix_ffmpeg_hw_accel

3 years agovideoio(ffmpeg): fix VIDEO_ACCELERATION_ANY handling
Alexander Alekhin [Wed, 3 Mar 2021 08:41:30 +0000 (08:41 +0000)]
videoio(ffmpeg): fix VIDEO_ACCELERATION_ANY handling

- default is VIDEO_ACCELERATION_NONE

3 years agoMerge pull request #19657 from alalek:update_version_4.5.2-pre
Alexander Alekhin [Wed, 3 Mar 2021 00:26:37 +0000 (00:26 +0000)]
Merge pull request #19657 from alalek:update_version_4.5.2-pre

3 years agopre: OpenCV 4.5.2 (version++)
Alexander Alekhin [Mon, 1 Mar 2021 21:45:26 +0000 (21:45 +0000)]
pre: OpenCV 4.5.2 (version++)

3 years agoMerge pull request #19606 from alalek:reduce_ffmpeg_wrapper_size_4.x
Alexander Alekhin [Tue, 2 Mar 2021 23:20:44 +0000 (23:20 +0000)]
Merge pull request #19606 from alalek:reduce_ffmpeg_wrapper_size_4.x

3 years agoMerge remote-tracking branch 'upstream/3.4' into merge-3.4
Alexander Alekhin [Tue, 2 Mar 2021 21:46:30 +0000 (21:46 +0000)]
Merge remote-tracking branch 'upstream/3.4' into merge-3.4

3 years agoMerge pull request #19656 from alalek:update_version_3.4.14-pre
Alexander Alekhin [Tue, 2 Mar 2021 21:44:19 +0000 (21:44 +0000)]
Merge pull request #19656 from alalek:update_version_3.4.14-pre

3 years agopre: OpenCV 3.4.14 (version++)
Alexander Alekhin [Mon, 1 Mar 2021 21:38:18 +0000 (21:38 +0000)]
pre: OpenCV 3.4.14 (version++)

3 years agoMerge pull request #19661 from alalek:ffmpeg_fixes_3.4
Alexander Alekhin [Tue, 2 Mar 2021 20:41:05 +0000 (23:41 +0300)]
Merge pull request #19661 from alalek:ffmpeg_fixes_3.4

* videoio(ffmpeg): eliminate MSVC build warnings

* videoio(ffmpeg): update initialization code

- repair FFmpeg logger settings on each .open() call

3 years agoMerge pull request #19663 from mshabunin:fix-ffmpeg-1x
Alexander Alekhin [Tue, 2 Mar 2021 12:19:00 +0000 (12:19 +0000)]
Merge pull request #19663 from mshabunin:fix-ffmpeg-1x

3 years agoMerge pull request #19660 from alalek:update_openjpeg
Alexander Alekhin [Tue, 2 Mar 2021 12:16:43 +0000 (12:16 +0000)]
Merge pull request #19660 from alalek:update_openjpeg

3 years agoMerge pull request #19659 from alalek:update_libtiff
Alexander Alekhin [Tue, 2 Mar 2021 12:15:32 +0000 (12:15 +0000)]
Merge pull request #19659 from alalek:update_libtiff

3 years agoMerge pull request #19658 from alalek:update_libwebp
Alexander Alekhin [Tue, 2 Mar 2021 12:14:56 +0000 (15:14 +0300)]
Merge pull request #19658 from alalek:update_libwebp

* 3rdparty: update libwebp 1.1.0 => 1.2.0

- https://github.com/webmproject/libwebp/releases/tag/v1.2.0

* 3rdparty(libwebp): re-apply OpenCV patches

3 years agocore: rework code locality
Alexander Alekhin [Tue, 23 Feb 2021 00:22:06 +0000 (00:22 +0000)]
core: rework code locality

- to reduce binaries size of FFmpeg Windows wrapper
- MinGW linker doesn't support -ffunction-sections (used for FFmpeg Windows wrapper)
- move code to improve locality with its used dependencies
- move UMat::dot() to matmul.dispatch.cpp (Mat::dot() is already there)
- move UMat::inv() to lapack.cpp
- move UMat::mul() to arithm.cpp
- move UMat:eye() to matrix_operations.cpp (near setIdentity() implementation)
- move normalize(): convert_scale.cpp => norm.cpp
- move convertAndUnrollScalar(): arithm.cpp => copy.cpp
- move scalarToRawData(): array.cpp => copy.cpp
- move transpose(): matrix_operations.cpp => matrix_transform.cpp
- move flip(), rotate(): copy.cpp => matrix_transform.cpp (rotate90 uses flip and transpose)
- add 'OPENCV_CORE_EXCLUDE_C_API' CMake variable to exclude compilation of C-API functions from the core module
- matrix_wrap.cpp: add compile-time checks for CUDA/OpenGL calls
- the steps above allow to reduce FFmpeg wrapper size for ~1.5Mb (initial size of OpenCV part is about 3Mb)

3 years agovideoio: av_frame_unref compilation fix
Maksim Shabunin [Tue, 2 Mar 2021 07:59:08 +0000 (10:59 +0300)]
videoio: av_frame_unref compilation fix

3 years agoMerge pull request #19651 from LaurentBerger:py_finTransformECC
Alexander Alekhin [Tue, 2 Mar 2021 10:12:07 +0000 (10:12 +0000)]
Merge pull request #19651 from LaurentBerger:py_finTransformECC

3 years ago3rdparty: update openjpeg 2.3.1 => 2.4.0
Alexander Alekhin [Mon, 1 Mar 2021 23:49:55 +0000 (23:49 +0000)]
3rdparty: update openjpeg 2.3.1 => 2.4.0

- https://github.com/uclouvain/openjpeg/releases/tag/v2.4.0

3 years ago3rdparty: update libtiff 4.1.0 => 4.2.0
Alexander Alekhin [Mon, 1 Mar 2021 23:17:30 +0000 (23:17 +0000)]
3rdparty: update libtiff 4.1.0 => 4.2.0

- https://gitlab.com/libtiff/libtiff/-/tags/v4.2.0

3 years agorelative to https://forum.opencv.org/t/cv2-findtransformecc-sometimes-missing-default...
LaurentBerger [Mon, 1 Mar 2021 16:32:56 +0000 (17:32 +0100)]
relative to https://forum.opencv.org/t/cv2-findtransformecc-sometimes-missing-defaults/1870

3 years agoMerge pull request #19322 from TolyaTalamanov:at/python-callbacks
Anatoliy Talamanov [Mon, 1 Mar 2021 15:52:11 +0000 (18:52 +0300)]
Merge pull request #19322 from TolyaTalamanov:at/python-callbacks

[G-API] Introduce cv.gin/cv.descr_of for python

* Implement cv.gin/cv.descr_of

* Fix macos build

* Fix gcomputation tests

* Add test

* Add using to a void exceeded length for windows build

* Add using to a void exceeded length for windows build

* Fix comments to review

* Fix comments to review

* Update from latest master

* Avoid graph compilation to obtain in/out info

* Fix indentation

* Fix comments to review

* Avoid using default in switches

* Post output meta for giebackend

3 years agoMerge pull request #19460 from mikhail-nikolskiy:videoio-hw
Mikhail Nikolskii [Mon, 1 Mar 2021 15:51:04 +0000 (07:51 -0800)]
Merge pull request #19460 from mikhail-nikolskiy:videoio-hw

videoio: HW decode/encode in FFMPEG backend; new properties with support in FFMPEG/GST/MSMF

* HW acceleration in FFMPEG backend

* fixes on Windows, remove D3D9

* HW acceleration in FFMPEG backend

* fixes on Windows, remove D3D9

* improve va test

* Copyright

* check LIBAVUTIL_BUILD >= AV_VERSION_INT(55, 78, 100) // FFMPEG 3.4+

* CAP_MSMF test on .mp4

* .mp4 in test

* improve va test

* Copyright

* check LIBAVUTIL_BUILD >= AV_VERSION_INT(55, 78, 100) // FFMPEG 3.4+

* CAP_MSMF test on .mp4

* .mp4 in test

* .avi for GStreamer test

* revert changes around seek()

* cv_writer_open_with_params

* params.warnUnusedParameters

* VideoCaptureParameters in GStreamer

* open_with_params

* params->getUnused

* Reduce PSNR threshold 33->32 (other tests use 30)

* require FFMPEG 4.0+; PSNR 30 as in other tests

* GStreamer AVI-demux plugin not installed in Ubuntu test environment?

* fix build on very old ffmpeg

* fix build on very old ffmpeg

* fix build issues

* fix build issues (static_cast)

* FFMPEG built on Windows without H264 encoder?

* fix for write_nothing test on VAAPI

* fix warnings

* fix cv_writer_get_prop in plugins

* use avcodec_get_hw_frames_parameters; more robust fallback to SW codecs

* internal function hw_check_device() for device check/logging

* two separate tests for HW read and write

* image size 640x480 in encode test

* WITH_VA=ON (only .h headers used in OpenCV, no linkage dependency)

* exception on VP9 SW encoder?

* rebase master; refine info message

* videoio: fix FFmpeg standalone plugin build

* videoio(ffmpeg): eliminate MSVC build warnings

* address review comments

* videoio(hw): update videocapture_acceleration.read test

- remove parallel decoding by SW code path
- check PSNR against the original generated image

* videoio: minor fixes

* videoio(test): disable unsupported MSMF cases (SW and HW)

* videoio(test): update PSNR thresholds for HW acceleration read

* videoio(test): update debug messages

* "hw_acceleration" whitelisting parameter

* little optimization in test

* D3D11VA supports decoders, doesn't support encoders

* videoio(test): adjust PSNR threshold in write_read_position tests

* videoio(ffmpeg): fix rejecting on acceleration device name mismatch

* videoio(ffmpeg): fix compilation USE_AV_HW_CODECS=0, add more debug logging

* videoio: rework VideoAccelerationType behavior

- enum is not a bitset
- default value is backend specific
- only '_NONE' and '_ANY' may fallback on software processing
- specific H/W acceleration doesn't fallback on software processing. It fails if there is no support for specified H/W acceleration.

* videoio(test): fix for current FFmpeg wrapper

Co-authored-by: Alexander Alekhin <alexander.a.alekhin@gmail.com>
3 years agoMerge pull request #19640 from alalek:issue_19639
Alexander Alekhin [Sun, 28 Feb 2021 21:39:30 +0000 (00:39 +0300)]
Merge pull request #19640 from alalek:issue_19639

calib3d(usac): do not crash on empty models

* calib3d(test): regression test for issue 19639

* calib3d(usac): do not crash in setModelParameters()

* calib3d(usac): handle empty models in isModelGood()

3 years agoMerge pull request #19642 from alalek:backport_19545
Alexander Alekhin [Sun, 28 Feb 2021 21:37:30 +0000 (21:37 +0000)]
Merge pull request #19642 from alalek:backport_19545

3 years agoAdded exp layer
SamFC10 [Sat, 20 Feb 2021 16:46:00 +0000 (22:16 +0530)]
Added exp layer

backport of commit: 6111935835dfd557c6e5ada81f2acfd8a6ae32f9
partial backport of commit: dd5976162b58cc9f78a3abac42da283c0778162f

3 years agoMerge remote-tracking branch 'upstream/3.4' into merge-3.4
Alexander Alekhin [Sat, 27 Feb 2021 17:41:57 +0000 (17:41 +0000)]
Merge remote-tracking branch 'upstream/3.4' into merge-3.4

3 years agoMerge pull request #19603 from federicohml:fix-ub-copy-make-const-border-8u
Alexander Alekhin [Sat, 27 Feb 2021 17:32:42 +0000 (17:32 +0000)]
Merge pull request #19603 from federicohml:fix-ub-copy-make-const-border-8u

3 years agoMerge pull request #19636 from LaurentBerger:blendlinear_py
Alexander Alekhin [Sat, 27 Feb 2021 17:31:59 +0000 (17:31 +0000)]
Merge pull request #19636 from LaurentBerger:blendlinear_py

3 years agoMerge pull request #19631 from prittt:sota-ccl
Federico Bolelli [Sat, 27 Feb 2021 17:27:24 +0000 (18:27 +0100)]
Merge pull request #19631 from prittt:sota-ccl

* Add Spaghetti algorithm for CCL

* Add stat tests for new and old algorithms

* Switch license header to short version

3 years agopython binding blendLinear
LaurentBerger [Sat, 27 Feb 2021 12:18:13 +0000 (13:18 +0100)]
python binding blendLinear

3 years agoMerge pull request #19628 from alalek:fix_19566
Alexander Alekhin [Fri, 26 Feb 2021 21:43:37 +0000 (21:43 +0000)]
Merge pull request #19628 from alalek:fix_19566

3 years agoFix UB in CopyMakeConstBoder_8u
Federico Martinez [Tue, 23 Feb 2021 07:44:17 +0000 (08:44 +0100)]
Fix UB in CopyMakeConstBoder_8u

Caused by overflow of arithmetic operators conversion rank

3 years agoMerge pull request #19487 from TolyaTalamanov:at/support-nireq-option
Anatoliy Talamanov [Fri, 26 Feb 2021 12:53:30 +0000 (15:53 +0300)]
Merge pull request #19487 from TolyaTalamanov:at/support-nireq-option

[G-API] Support multiple asynchronous requests

* Support nireq option

* Disable tests to check CI

* Fix bug with hanging

* WA to green CI

* Snapshot

* Simplify RequestPool

* Add default values to id

* Fix win warning

3 years agoMerge pull request #19633 from mshabunin:add-gstreamer-video
Alexander Alekhin [Fri, 26 Feb 2021 11:45:52 +0000 (11:45 +0000)]
Merge pull request #19633 from mshabunin:add-gstreamer-video

3 years agogstreamer: add video module
Maksim Shabunin [Fri, 26 Feb 2021 09:25:43 +0000 (12:25 +0300)]
gstreamer: add video module

3 years agoMerge pull request #19497 from OrestChura:oc/kmeans_ptest
Orest Chura [Thu, 25 Feb 2021 21:58:52 +0000 (00:58 +0300)]
Merge pull request #19497 from OrestChura:oc/kmeans_ptest

[G-API]: Performance tests for kmeans

* - Perf.Tests for kmeans(2D, 3D (Point2f/3f), ND (Mat))
 - New file for common parts of acc. and perf. tests for core kernels added
 - Some typos corrections

* Applying comments

3 years agoimgproc(warpAffine): avoid buffer indexes overflow in SIMD code
Alexander Alekhin [Thu, 25 Feb 2021 20:16:50 +0000 (20:16 +0000)]
imgproc(warpAffine): avoid buffer indexes overflow in SIMD code

3 years agoMerge pull request #19597 from komakai:android-ndk-camera
Giles Payne [Thu, 25 Feb 2021 19:14:11 +0000 (04:14 +0900)]
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

3 years agoMerge pull request #19627 from mshabunin:plugin-default-suffix
Alexander Alekhin [Thu, 25 Feb 2021 16:33:55 +0000 (16:33 +0000)]
Merge pull request #19627 from mshabunin:plugin-default-suffix

3 years agoMerge pull request #19625 from mshabunin:static-analysis-issues-34
Alexander Alekhin [Thu, 25 Feb 2021 16:31:47 +0000 (16:31 +0000)]
Merge pull request #19625 from mshabunin:static-analysis-issues-34

3 years agoMerge pull request #19620 from mshabunin:static-analysis-issues
Alexander Alekhin [Thu, 25 Feb 2021 16:30:17 +0000 (16:30 +0000)]
Merge pull request #19620 from mshabunin:static-analysis-issues

3 years agoplugins: add suffix to default OUTPUT_NAME
Maksim Shabunin [Thu, 25 Feb 2021 13:44:55 +0000 (16:44 +0300)]
plugins: add suffix to default OUTPUT_NAME

3 years agoFixed several issues found by static analysis
Maksim Shabunin [Wed, 24 Feb 2021 17:31:00 +0000 (20:31 +0300)]
Fixed several issues found by static analysis

3 years agoFixed several issues found by static analysis
Maksim Shabunin [Wed, 24 Feb 2021 17:31:00 +0000 (20:31 +0300)]
Fixed several issues found by static analysis

3 years agoMerge pull request #19609 from alalek:videoio_fix_gstreamer_alignment_bug
Alexander Alekhin [Thu, 25 Feb 2021 07:55:38 +0000 (07:55 +0000)]
Merge pull request #19609 from alalek:videoio_fix_gstreamer_alignment_bug

3 years agoMerge pull request #19503 from komakai:fix-android-putget
Alexander Alekhin [Wed, 24 Feb 2021 21:07:13 +0000 (21:07 +0000)]
Merge pull request #19503 from komakai:fix-android-putget

3 years agoMerge pull request #19618 from alalek:videoio_plugin_exception_messages
Alexander Alekhin [Wed, 24 Feb 2021 21:03:01 +0000 (21:03 +0000)]
Merge pull request #19618 from alalek:videoio_plugin_exception_messages

3 years agovideoio: dump exception's messages in plugins
Alexander Alekhin [Wed, 24 Feb 2021 17:45:19 +0000 (17:45 +0000)]
videoio: dump exception's messages in plugins

3 years agoMerge pull request #19610 from mshabunin:plugin-va-compile
Alexander Alekhin [Wed, 24 Feb 2021 10:08:11 +0000 (10:08 +0000)]
Merge pull request #19610 from mshabunin:plugin-va-compile

3 years agoMerge pull request #19568 from alalek:cmake_plugin_fix_osx_standalone
Alexander Alekhin [Wed, 24 Feb 2021 09:28:47 +0000 (09:28 +0000)]
Merge pull request #19568 from alalek:cmake_plugin_fix_osx_standalone

3 years agovideoio(gstreamer): rework retrieveFrame() to handle strides
Alexander Alekhin [Wed, 24 Feb 2021 08:40:42 +0000 (08:40 +0000)]
videoio(gstreamer): rework retrieveFrame() to handle strides

3 years agoFix standalone plugin compilation for Windows
Maksim Shabunin [Sat, 20 Feb 2021 09:22:51 +0000 (12:22 +0300)]
Fix standalone plugin compilation for Windows

3 years agoEnable VA only on selected x86/64 platforms
Maksim Shabunin [Sat, 20 Feb 2021 10:49:33 +0000 (13:49 +0300)]
Enable VA only on selected x86/64 platforms

3 years agoMerge pull request #19535 from alalek:issue_18897
Alexander Alekhin [Tue, 23 Feb 2021 22:42:51 +0000 (22:42 +0000)]
Merge pull request #19535 from alalek:issue_18897

3 years agoMerge pull request #19529 from WeiChungChang:3.4
WeiChungChang [Tue, 23 Feb 2021 21:09:55 +0000 (16:09 -0500)]
Merge pull request #19529 from WeiChungChang:3.4

* improve map allocation check

* fix accoring to CR

3 years agoMerge pull request #19601 from alalek:hotfix_19536
Alexander Alekhin [Tue, 23 Feb 2021 03:44:04 +0000 (06:44 +0300)]
Merge pull request #19601 from alalek:hotfix_19536

3 years agodnn: fix build (nullptr issue)
Alexander Alekhin [Tue, 23 Feb 2021 03:31:29 +0000 (03:31 +0000)]
dnn: fix build (nullptr issue)

3 years agoMerge pull request #19536 from WeiChungChang:ReduceMemory
Alexander Alekhin [Mon, 22 Feb 2021 20:04:11 +0000 (20:04 +0000)]
Merge pull request #19536 from WeiChungChang:ReduceMemory

3 years agoMerge pull request #19564 from sturkmen72:patch-4
Alexander Alekhin [Mon, 22 Feb 2021 20:02:40 +0000 (20:02 +0000)]
Merge pull request #19564 from sturkmen72:patch-4

3 years agoMerge pull request #19552 from WeiChungChang:partialSort
WeiChungChang [Mon, 22 Feb 2021 16:44:00 +0000 (11:44 -0500)]
Merge pull request #19552 from WeiChungChang:partialSort

apply partial sort to save computations

* apply partial sort

* fix typo

* fix accroding to CR

3 years agoMerge pull request #19594 from alalek:hotfix_19470
Alexander Alekhin [Mon, 22 Feb 2021 08:29:10 +0000 (08:29 +0000)]
Merge pull request #19594 from alalek:hotfix_19470

3 years agocore(parallel): fix JS build, fix OpenMP version dump
Alexander Alekhin [Sun, 21 Feb 2021 21:22:29 +0000 (21:22 +0000)]
core(parallel): fix JS build, fix OpenMP version dump

3 years agoMerge remote-tracking branch 'upstream/3.4' into merge-3.4
Alexander Alekhin [Sun, 21 Feb 2021 20:14:09 +0000 (20:14 +0000)]
Merge remote-tracking branch 'upstream/3.4' into merge-3.4

3 years agoUpdate python samples
Suleyman TURKMEN [Wed, 17 Feb 2021 09:04:49 +0000 (12:04 +0300)]
Update python samples

3 years agoMerge pull request #19586 from larryw3i:patch-2
Larry Wei [Sun, 21 Feb 2021 19:22:43 +0000 (03:22 +0800)]
Merge pull request #19586 from larryw3i:patch-2

* Update py_setup_in_ubuntu.markdown

3 years agoMerge pull request #19584 from diablodale:fix19573_ocl_move
Alexander Alekhin [Sun, 21 Feb 2021 19:20:03 +0000 (19:20 +0000)]
Merge pull request #19584 from diablodale:fix19573_ocl_move

3 years agocore(InputArray): replace STD_ARRAY to MATX
Alexander Alekhin [Mon, 15 Feb 2021 21:36:33 +0000 (21:36 +0000)]
core(InputArray): replace STD_ARRAY to MATX

- remove duplication kind

3 years agoMerge pull request #19580 from SergeyKrivohatskiy:patch-1
Sergey Krivohatskiy [Sun, 21 Feb 2021 15:57:18 +0000 (18:57 +0300)]
Merge pull request #19580 from SergeyKrivohatskiy:patch-1

* Fixed OCL implementation of pyrlk

If prevPts size is (N, 1) (which is a default layout for converting `vector<Point2f>` to `UMat`) the `prevPts.cols == 1` and optical flow will be calculated for the first point only.
Getting `prevPts.total()` as in line 1048 is the correct way to get points count.

* fixed compilation warning (size_t to int)

Signed-off-by: Sergey Krivohatskiy <s.krivohatskiy@gmail.com>
3 years agoMerge pull request #19585 from alalek:hotfix_19540
Alexander Alekhin [Sat, 20 Feb 2021 22:54:55 +0000 (22:54 +0000)]
Merge pull request #19585 from alalek:hotfix_19540

3 years agoMerge pull request #19545 from SamFC10:exp
Alexander Alekhin [Sat, 20 Feb 2021 22:47:35 +0000 (22:47 +0000)]
Merge pull request #19545 from SamFC10:exp

3 years agoMerge pull request #19582 from alalek:backport_19572
Alexander Alekhin [Sat, 20 Feb 2021 22:46:55 +0000 (22:46 +0000)]
Merge pull request #19582 from alalek:backport_19572

3 years agobuild warning (windows 32-bit)
Alexander Alekhin [Sat, 20 Feb 2021 18:30:49 +0000 (18:30 +0000)]
build warning (windows 32-bit)

3 years agoadd move construct/assigns to cv::ocl main classes
Dale Phurrough [Sat, 20 Feb 2021 17:56:04 +0000 (18:56 +0100)]
add move construct/assigns to cv::ocl main classes

- enables inline construct and assigns with r-values
- enables compiler-created default move
  construct/assigns
- includes test cases

3 years agoAdded exp layer
SamFC10 [Sat, 20 Feb 2021 16:46:00 +0000 (22:16 +0530)]
Added exp layer

3 years agoMerge pull request #19540 from asmorkalov:as/openexr_comression_options
Alexander Smorkalov [Sat, 20 Feb 2021 16:28:08 +0000 (19:28 +0300)]
Merge pull request #19540 from asmorkalov:as/openexr_comression_options

OpenEXR compression options

* Adding possibility to select the compression type for the OpenEXR format.

There are compression modes other than the default that are more suited for certain data. Mainly grainy/noisy data.

* Code review fixes.

Co-authored-by: Daniel Rydstrom <daniel.rydstrom@sick.se>
3 years agoadd noexcept to default constructors of cv::ocl
Dale Phurrough [Sat, 20 Feb 2021 13:16:47 +0000 (14:16 +0100)]
add noexcept to default constructors of cv::ocl

- follows iso c++ guideline C.44
- enables default compiler-created constructors to
  also be noexcept

original commit: 77e26a7db3447b7569dfee28fb8a253b8ed93e2b

- handled KernelArg, Image2D

3 years agoMerge pull request #19572 from diablodale:fix19571_ocl_noexcept
Alexander Alekhin [Sat, 20 Feb 2021 15:59:38 +0000 (15:59 +0000)]
Merge pull request #19572 from diablodale:fix19571_ocl_noexcept

3 years agoadd noexcept to default constructors of cv::ocl
Dale Phurrough [Sat, 20 Feb 2021 13:16:47 +0000 (14:16 +0100)]
add noexcept to default constructors of cv::ocl

- follows iso c++ guideline C.44
- enables default compiler-created constructors to
  also be noexcept

3 years agocmake(plugins): build without opencv_*.so on OSX
Alexander Alekhin [Fri, 19 Feb 2021 16:23:33 +0000 (16:23 +0000)]
cmake(plugins): build without opencv_*.so on OSX

3 years agoMerge pull request #19561 from mshabunin:plugin-load-now
Alexander Alekhin [Fri, 19 Feb 2021 11:53:04 +0000 (11:53 +0000)]
Merge pull request #19561 from mshabunin:plugin-load-now

3 years agoMerge pull request #19562 from alalek:libva_dynamic
Alexander Alekhin [Fri, 19 Feb 2021 11:45:00 +0000 (11:45 +0000)]
Merge pull request #19562 from alalek:libva_dynamic

3 years agoMerge pull request #19541 from alalek:core_includes
Alexander Alekhin [Fri, 19 Feb 2021 11:03:31 +0000 (11:03 +0000)]
Merge pull request #19541 from alalek:core_includes

3 years agosamples(va): fix build warnings, use cv::format()
Alexander Alekhin [Fri, 19 Feb 2021 10:36:26 +0000 (10:36 +0000)]
samples(va): fix build warnings, use cv::format()

3 years agocore(libva): use dynamic loader
Alexander Alekhin [Thu, 18 Feb 2021 13:36:07 +0000 (13:36 +0000)]
core(libva): use dynamic loader

3 years agoFix/optimize Android put/get functions
Giles Payne [Fri, 19 Feb 2021 08:10:11 +0000 (17:10 +0900)]
Fix/optimize Android put/get functions

3 years agoMerge pull request #19560 from mshabunin:va-sample-fix
Alexander Alekhin [Thu, 18 Feb 2021 19:42:08 +0000 (19:42 +0000)]
Merge pull request #19560 from mshabunin:va-sample-fix

3 years agoMerge pull request #19534 from tomoaki0705:fixCudaFiltersRace
Alexander Alekhin [Thu, 18 Feb 2021 19:41:21 +0000 (19:41 +0000)]
Merge pull request #19534 from tomoaki0705:fixCudaFiltersRace

3 years agoMerge pull request #19559 from APrigarina:calib3d_fix
Alexander Alekhin [Thu, 18 Feb 2021 15:33:02 +0000 (15:33 +0000)]
Merge pull request #19559 from APrigarina:calib3d_fix

3 years agoVA sample: device autodetection changed
Maksim Shabunin [Thu, 18 Feb 2021 14:19:47 +0000 (17:19 +0300)]
VA sample: device autodetection changed

3 years agohandle empty cameraMatrix
APrigarina [Thu, 18 Feb 2021 13:18:19 +0000 (16:18 +0300)]
handle empty cameraMatrix

3 years agoplugins: use RTLD_NOW instead of RTLD_LAZY
Maksim Shabunin [Thu, 18 Feb 2021 11:45:08 +0000 (14:45 +0300)]
plugins: use RTLD_NOW instead of RTLD_LAZY

3 years agoMerge pull request #19417 from LupusSanctus:am/text_graph_identity
Anastasia M [Wed, 17 Feb 2021 18:01:41 +0000 (21:01 +0300)]
Merge pull request #19417 from LupusSanctus:am/text_graph_identity

* Corrected SSD text graph generation for Identity nodes

* Added minor code corrections

3 years agoMerge pull request #19474 from aryanshomray:darknet_tanh
Alexander Alekhin [Wed, 17 Feb 2021 17:10:44 +0000 (17:10 +0000)]
Merge pull request #19474 from aryanshomray:darknet_tanh

3 years agoMerge pull request #19026 from chargerKong:dualquat
Liangqian [Wed, 17 Feb 2021 17:05:08 +0000 (01:05 +0800)]
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>
3 years agoMerge pull request #19496 from andrey-golubev:master
Andrey Golubev [Wed, 17 Feb 2021 15:23:29 +0000 (17:23 +0200)]
Merge pull request #19496 from andrey-golubev:master

[G-API] Change memory measurement statistic in Fluid tests

* Change memory measurement statistic in Fluid tests

* Delete irrelevant comment

3 years agoTanH darknet and test
Aryansh Omray [Wed, 17 Feb 2021 13:19:52 +0000 (18:49 +0530)]
TanH darknet and test

3 years agoMerge pull request #19533 from TolyaTalamanov:at/async-requests-hotfix
Anatoliy Talamanov [Wed, 17 Feb 2021 11:43:18 +0000 (14:43 +0300)]
Merge pull request #19533 from TolyaTalamanov:at/async-requests-hotfix

[G-API] Async infer request hotfix

* Fix hanging on empty roi list

* Prevent possible data race

* Clean up

3 years agoMerge pull request #19550 from Nico769:patch-1
Alexander Alekhin [Wed, 17 Feb 2021 10:19:20 +0000 (10:19 +0000)]
Merge pull request #19550 from Nico769:patch-1

3 years agoFix single-word typo
Nicola Landolfi [Wed, 17 Feb 2021 09:03:16 +0000 (10:03 +0100)]
Fix single-word typo

3 years agoMerge pull request #19498 from mattalvarado:fix_findcirclesgrid
Matt Alvarado [Tue, 16 Feb 2021 16:18:43 +0000 (11:18 -0500)]
Merge pull request #19498 from mattalvarado:fix_findcirclesgrid

* Properly handle empty centers in findCirclesGrid

* Address alalek comments. Add unit test to validate bugfix

* fix build warnings, remove unrelated comment

3 years agoMerge pull request #19543 from alalek:hotfix_19439
Alexander Alekhin [Tue, 16 Feb 2021 16:05:09 +0000 (16:05 +0000)]
Merge pull request #19543 from alalek:hotfix_19439