Maksim Shabunin
9efaa3cce7
RISC-V/RVV 0.7: v_add/v_sub saturation and avoiding 64-bit register in v_check_
2023-01-30 23:25:53 +03:00
Alexander Alekhin
d3ae175bca
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2023-01-28 10:01:23 +00:00
Yannis Guyon
bf29a4d746
Avoid double-checked locking with TSAN in parallel
...
Omit the first check of the double-checked locking pattern in
recordException() in parallel.cpp when CV_THREAD_SANITIZER is defined.
This should only slow recordException() down when the thread sanitizer
is used, and avoids the TSAN data race warning.
2023-01-27 13:36:33 +01:00
Alexander Alekhin
18cbfa4a4f
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2023-01-23 00:11:12 +00:00
Rostislav Vasilikhin
f3a03aefad
cvIsInf(double) fix + regression test
2023-01-17 23:06:39 +01:00
Maksim Shabunin
c1e5c16ff3
Backport C-API cleanup (imgproc) from 5.x
2023-01-16 23:29:50 +03:00
Yuantao Feng
c63d79c5b1
Merge pull request #23095 from fengyuentau:fix_omp_macos
...
* fix openmp include and link issue on macos
* turn off have_openmp if OpenMP_CXX_INCLUDE_DIRS is empty
* test commit
* use condition HAVE_OPENMP and OpenMP_CXX_LIBRARIES for linking
* remove trailing whitespace
* remove notes
* update conditions
* use OpenMP_CXX_LIBRARIES for linking
2023-01-16 12:44:13 +03:00
Xxfore
ef0fcb9238
Merge pull request #22938 from Xxfore:4.x
...
Use reinterpret instead of c-style casting for GCC
Co-authored-by: Xu Zhang <xu.zhang@hexintek.com>
Co-authored-by: Maksim Shabunin <maksim.shabunin@gmail.com>
2023-01-11 14:11:16 +00:00
Yang Chao
e0aa677388
Open CV_CPU_NEON_DOTPROD on Apple silicon devices
2023-01-09 19:27:35 +08:00
Alexander Alekhin
9208dcb07c
Merge tag '4.7.0'
2022-12-28 15:23:46 +00:00
Alexander Smorkalov
725e440d27
release: OpenCV 4.7.0
2022-12-28 17:31:52 +03:00
Alexander Alekhin
eab7faf536
Merge tag '3.4.19'
2022-12-27 08:41:49 +00:00
Alexander Alekhin
83391ac59d
release: OpenCV 3.4.19
2022-12-27 03:50:12 +00:00
cudawarped
692d6168b3
cuda: fix CUDA 12.0 build errors
2022-12-26 15:25:29 +02:00
Alexander Alekhin
b42c11de82
pre: OpenCV 4.7.0 (version++)
2022-12-25 17:00:22 +00:00
Alexander Alekhin
a494c75bfe
pre: OpenCV 3.4.19 (version++)
2022-12-25 16:59:47 +00:00
Alexander Alekhin
bc8c912c7a
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2022-12-24 13:54:58 +00:00
fengyuentau
34a0897f90
add cv::flipND; support onnx slice with negative steps via cv::flipND
2022-12-23 16:39:53 +08:00
Alexander Smorkalov
279e2be56b
Merge pull request #22963 from cudawarped:replace_texture_ref_with_texture_obj
...
Replace all instances of CUDA texture references with texture objects
2022-12-20 15:07:10 +03:00
Alexander Alekhin
da43778c1f
Merge pull request #22981 from alalek:core_freeze_cache_dir_prefix_4.x
2022-12-19 17:29:57 +00:00
cudawarped
9aa5ab7557
cv::cuda: Replace all instances of texture references/objects with texture objects using the existing updated cv::cudev::Texture class.
...
Fixes bugs in cv::cuda::demosaicing, cv::cuda::resize and cv::cuda::HoughSegmentDetector.
2022-12-19 19:28:15 +02:00
Vincent Rabaud
7463e9b8bb
Even faster CV_PAUSE on SkyLake and above.
...
No need to loop as RDTSC is 3/4 times faster than _mm_pause.
2022-12-19 14:15:34 +01:00
Alexander Alekhin
420db56ffd
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2022-12-18 02:17:17 +00:00
Alexander Alekhin
4824ce300f
core: freeze cache directory prefix - "4.x"
2022-12-18 00:24:52 +00:00
Alexander Alekhin
eace6adb6d
Merge pull request #22934 from alalek:fix_filestorage_binding
2022-12-17 03:28:13 +00:00
Alexander Alekhin
6e3700593f
compatibility: keep Ptr<FileStorage> stubs till OpenCV 5.0
2022-12-16 00:47:44 +00:00
Alexander Alekhin
6a8c5a1d27
python: resolve Ptr<FileStorage> requirement issue
2022-12-16 00:47:44 +00:00
Vincent Rabaud
b7b08fa0c3
Fix slower CV_PAUSE on SkyLake and above.
...
This is fixing https://github.com/opencv/opencv/issues/22852
2022-12-15 14:18:57 +01:00
Sergei Shutov
8bd17163c7
Merge pull request #22939 from stopmosk:21826-python-bindings-for-videocapturewaitany
...
Add Python bindings for VideoCapture::waitAny #21826
### Pull Request Readiness Checklist
See details at https://github.com/opencv/opencv/wiki/How_to_contribute#making-a-good-pull-request
- [x] I agree to contribute to the project under Apache 2 License.
- [x] To the best of my knowledge, the proposed patch is not based on a code under GPL or another license that is incompatible with OpenCV
- [x] The PR is proposed to the proper branch
- [x] There is a reference to the original bug report and related work
- [x] There is accuracy test, performance test and test data in opencv_extra repository, if applicable
Patch to opencv_extra has the same branch name.
- [x] The feature is well documented and sample code can be built with the project CMake
2022-12-14 22:15:02 +03:00
Vadim Levin
3f5f09e730
fix: add _ suffix to properties having reserved keyword names
2022-12-13 20:56:39 +03:00
Alexander Smorkalov
1788c93aea
Merge pull request #22924 from alalek:logger_strip_base_dir
...
core(logger): strip opencv's modules base path
2022-12-13 15:28:10 +03:00
Alexander Alekhin
4203c903f8
Merge pull request #22928 from alalek:riscv_toolchains
2022-12-13 06:32:16 +00:00
Alexander Alekhin
c725771e11
build(riscv): suppress massive -Wignored-attributes warnings
2022-12-11 17:10:00 +00:00
Alexander Alekhin
be326ff752
build: fix/eliminate MSVC warnings
2022-12-10 12:19:31 +00:00
Alexander Alekhin
941d89e06d
cmake: fix RISC-V toolchains
...
- RVV options are moved to configuration scripts instead of toolchains
2022-12-09 12:02:28 +00:00
Alexander Alekhin
7e3c53b9d3
core(logger): strip path prefix
2022-12-07 23:58:36 +00:00
Alexander Alekhin
c5a4df30c6
risc-v: fix RVV backend on clang with undefined CV_RVV_SCALABLE
...
- v_interleave_quads
- v_pack_triplets
- v_signmask
2022-12-06 13:49:05 +00:00
Alexander Alekhin
b16f76eede
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2022-12-03 12:39:41 +00:00
Christine Poerschke
4792837f2e
Merge pull request #22865 from cpoerschke:3.4-issue-22860
...
ocl_minMaxIdx to call minmaxloc.cl for OpenCL 1.2+ only
2022-12-03 05:29:04 +00:00
Alexander Smorkalov
5696629b13
Merge pull request #22594 from ZhaoChuyang:pr_test_for_22253
...
add test for PR #22253
2022-12-01 13:47:32 +03:00
Vadim Levin
3a15152be5
refactor: rework test to be more specific
2022-11-30 18:31:03 +03:00
Alexander Duda
2eb7bf4cfa
core: improve doc for setNumThreads
...
The old documentation implies that the call is only valid for the next parallel region and must be called again if addtional regions should be affected as well.
2022-11-30 11:37:35 +01:00
Alexander Alekhin
77d887898d
Merge pull request #22875 from asmorkalov:as/cl_error_code_fix
2022-11-28 19:05:59 +00:00
HAN Liutong
a32f2cd24a
Merge pull request #22520 from hanliutong:hsv
...
Modify the SIMD loop in color_hsv.
* Modify the SIMD loops in color_hsv.
* Add FP supporting in bit logic.
* Add temporary compatibility code.
* Use max_nlanes instead of vlanes for array declaration.
* Use "CV_SIMD || CV_SIMD_SCALABLE".
* Revert the modify of the Universal Intrinsic API
* Fix warnings.
* Use v_select instead of bits manipulation.
2022-11-28 18:28:14 +00:00
Alexander Smorkalov
1c3e287d32
More fixes for OpenCL error reporting.
2022-11-28 09:47:51 +03:00
Alexander Smorkalov
7622fbf895
Fixed OpenGL errors formatting.
2022-11-25 16:46:12 +03:00
Amir Hassan
3f371fe2dd
Merge pull request #22855 from kallaballa:print_cl_status_on_fail
...
Print CL status code on error in opengl interop functions
2022-11-25 09:13:57 +03:00
Alexander Alekhin
5d14cc68b7
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2022-11-16 16:54:11 +00:00
Alexander Alekhin
54531f8e3b
core: support CV_Check*() macros with 'bool' parameters
2022-11-15 11:47:16 +00:00
Alexander Smorkalov
778faddbd8
Merge pull request #22463 from hanliutong:rvv
...
Redesign the SIMD macro.
2022-10-27 14:16:03 +03:00
HAN Liutong
5462a6be6e
Update SIMD macro for RVV backend.
2022-10-26 13:02:03 +00:00
Alexander Smorkalov
a60496f9df
Merge pull request #22633 from cudawarped:fix_3361
...
Reset cuda runtime error code to cudasuccess on runtime failure.
2022-10-26 15:48:06 +03:00
Alexander Alekhin
762481411d
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2022-10-15 16:44:47 +00:00
Hyunggi Chang
085fb78e85
fix typo (portatibility -> portability)
2022-10-13 21:39:52 +00:00
Alexander Alekhin
2763f988da
Merge pull request #22526 from paroj:pyrect
2022-10-13 11:46:28 +00:00
cudawarped
f89dee4f3e
Reset cuda error code to cudasuccess.
2022-10-13 10:15:40 +03:00
Pavel Rojtberg
35f43cc429
core: expose rectangle intersection to bindings
2022-10-12 14:08:12 +02:00
Alexander Alekhin
347246901e
Merge pull request #21745 from alalek:dnn_plugin_openvino
2022-10-08 22:32:25 +00:00
Alexander Alekhin
43b2bb2c25
dnn: plugin support for OpenVINO
2022-10-07 16:57:31 +00:00
Vincent Rabaud
38c9c20a35
Move marking memory as initialized earlier.
2022-09-28 21:58:17 +02:00
Sean McBride
1829eba584
Fixed most clang -Wextra-semi warnings
2022-09-27 18:06:46 -04:00
HAN Liutong
df24bd295d
Fix v_signmask for RISC-V Vector.
2022-09-23 11:28:50 +00:00
Alexander Smorkalov
bfeeb0ad70
Merge pull request #22285 from asenyaev:asen/disabled_compiling_warnings_3.4
...
Disabled compiling warnings in case of symbols in cmake for 3.4
2022-09-20 15:14:36 +03:00
Alexander Smorkalov
2273af0166
Merge pull request #22286 from asenyaev:asen/disabled_compiling_warnings_4.x
...
Disabled compiling warnings in case of symbols in cmake for 4.x
2022-09-20 15:13:06 +03:00
Andrey Senyaev
ccfc34b13f
Disabled compiling warnings in case of symbols in cmake for 4.x
2022-09-20 13:35:48 +03:00
Andrey Senyaev
3f4abcb228
Disabled compiling warnings in case of symbols in cmake for 3.4
2022-09-20 13:34:17 +03:00
Alexander Alekhin
2e15582799
build: eliminate uninitialized warnings from GCC12
2022-09-14 11:58:43 +00:00
Hao Chen
fce8349c99
Optimize the cvCeil and cvFloor functions.
...
This patch optimizes the cvCeil and cvFloor functions on
the LoongArch platform.
Signed-off-by: Hao Chen <chenhao@loongson.cn>
2022-09-13 10:49:09 +03:00
wxsheng
4154bd0667
Add Loongson Advanced SIMD Extension support: -DCPU_BASELINE=LASX
...
* Add Loongson Advanced SIMD Extension support: -DCPU_BASELINE=LASX
* Add resize.lasx.cpp for Loongson SIMD acceleration
* Add imgwarp.lasx.cpp for Loongson SIMD acceleration
* Add LASX acceleration support for dnn/conv
* Add CV_PAUSE(v) for Loongarch
* Set LASX by default on Loongarch64
* LoongArch: tune test threshold for Core/HAL.mat_decomp/15
Co-authored-by: shengwenxue <shengwenxue@loongson.cn>
2022-09-10 09:39:43 +03:00
Yuantao Feng
9dc844a6e1
Merge pull request #22346 from fengyuentau:mat1d_part1
...
Changes separated from Mat 1D support in core #18594 (#22346 )
2022-09-09 12:56:30 +03:00
HAN Liutong
7e2c8cc9f4
Add remaining intrinsics.
2022-08-26 07:06:51 +00:00
Alexander Smorkalov
d10832074e
Merge pull request #22353 from hanliutong:more-rvv-intrin
...
[GSoC] Add more universal intrinsic implementations for RVV.
2022-08-23 12:50:01 +03:00
HAN Liutong
b9a1039566
Remove the test log in test_interleave_pq.
2022-08-18 08:01:09 +00:00
HAN Liutong
8dc332721f
Add testcases for interleave_p&q and enable others testcases.
2022-08-17 14:39:23 +00:00
HAN Liutong
189f647264
Add implementation for zip, transpose, interleave, reverse and combine.
2022-08-17 14:38:38 +00:00
Alexander Alekhin
2ebdc04787
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2022-08-14 15:50:42 +00:00
Alexander Alekhin
d0d115321d
Merge pull request #22350 from alalek:rework_psabi_warning
2022-08-13 15:05:41 +00:00
HAN Liutong
f572ae3474
add missing test cases(v_abs)
2022-08-12 14:13:26 +00:00
HAN Liutong
e65ad44b32
Remove redundant intrinsics.
2022-08-12 14:12:52 +00:00
HAN Liutong
80c82e10aa
Update implementations on arithmetics.
2022-08-12 06:51:41 +00:00
HAN Liutong
2fb652ce09
Add testcase for continuous mul and add.
2022-08-12 01:44:30 +00:00
HAN Liutong
f0d29cd33c
Add more universal intrinsic implementations for RVV.
2022-08-08 02:09:54 +00:00
Alexander Alekhin
44b2f9637a
Revert "suppress warning on GCC 7 and later"
...
This reverts commit a630ad73cb
.
2022-08-07 15:43:10 +03:00
Alexander Smorkalov
2ffa7ac0da
Merge pull request #22217 from CSharperMantle:CSharperMantle-patch-steady-clock
...
Use `std::chrono::steady_clock` in `getTickCount`
2022-08-03 14:09:45 +03:00
Alexander Alekhin
0862d69a6e
Merge pull request #22271 from tomoaki0705:dotprod_neon
2022-07-25 15:00:32 +00:00
Giles Payne
b8106e4ba4
Fix bug in Objective-C/Swift [Mat initWithSize:**] functions
2022-07-25 20:57:53 +09:00
HAN Liutong
2bd72af2ef
Merge pull request #22292 from hanliutong:fix
...
[GSoC] Fix compilation errors and warnings when using MSVC on Windows.
* Pass reference of the argument.
* Add some cast to suppress warnings.
2022-07-24 12:15:13 +03:00
Maksim Shabunin
f729202272
core: remove unnecessary pointer cleanup in BufferArea
2022-07-24 11:58:17 +03:00
HAN Liutong
3e3b53f815
Fix compile errors when all SIMD is disabled.
2022-07-21 08:14:32 +00:00
Tomoaki Teshima
b3269b08a1
neon: add dotprod dispatch implementation
...
* read vector at runtime
* add enum
2022-07-20 19:25:39 +09:00
HAN Liutong
0ef803950b
Merge pull request #22179 from hanliutong:new-rvv
...
[GSoC] New universal intrinsic backend for RVV
* Add new rvv backend (partially implemented).
* Modify the framework of Universal Intrinsic.
* Add CV_SIMD macro guards to current UI code.
* Use vlanes() instead of nlanes.
* Modify the UI test.
* Enable the new RVV (scalable) backend.
* Remove whitespace.
* Rename and some others modify.
* Update intrin.hpp but still not work on AVX/SSE
* Update conditional compilation macros.
* Use static variable for vlanes.
* Use max_nlanes for array defining.
2022-07-19 20:02:00 +03:00
Rong Mantle Bao
fa613e393f
Read CV_CXX11 for C++11 detection
2022-07-10 19:21:17 +08:00
Rong Mantle Bao
db70676933
Use cross-platform std::chrono in getTickCount()
...
Add conditional compilation directives to enable uses of std::chrono on supported compilers. Use std::chrono::steady_clock as a source to retrieve current tick count and clock frequency.
Fixes opencv/opencv#6902 .
2022-07-09 10:42:29 +08:00
Tomoaki Teshima
a630ad73cb
suppress warning on GCC 7 and later
2022-07-06 23:31:31 +09:00
Alexander Alekhin
16b5fd4bf2
Merge pull request #22102 from jwinarske:jw/xdg_shell
2022-07-04 22:59:29 +00:00
Alexander Alekhin
3bf22d0024
Merge pull request #22156 from vpisarev:update_cvround
2022-07-01 12:17:38 +00:00
Joel Winarske
0769bf416f
highgui Wayland xdg_shell
...
-enable using -DWITH_WAYLAND=ON
-adapted from https://github.com/pfpacket/opencv-wayland
-using xdg_shell stable protocol
-overrides HAVE_QT if HAVE_WAYLAND and WITH_WAYLAND are set
Signed-off-by: Joel Winarske <joel.winarske@gmail.com>
Co-authored-by: Ryo Munakata <afpacket@gmail.com>
2022-06-26 12:11:09 -07:00
Alexander Alekhin
2a4926f417
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2022-06-26 14:22:24 +00:00
Sean McBride
35f1a90df7
Merge pull request #22149 from seanm:sprintf
...
Replaced sprintf with safer snprintf
* Straightforward replacement of sprintf with safer snprintf
* Trickier replacement of sprintf with safer snprintf
Some functions were changed to take another parameter: the size of the buffer, so that they can pass that size on to snprintf.
2022-06-25 06:48:22 +03:00
lamm45
9faefa0c96
Fix minor errors in the first documentation page (Introduction)
...
This markdown file corresponds to the first link on the landing
page of OpenCV documentation.
2022-06-24 14:03:14 -04:00