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 Alekhin
762481411d
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2022-10-15 16:44:47 +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
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
Alexander Alekhin
2ebdc04787
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2022-08-14 15:50:42 +00: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
Maksim Shabunin
f729202272
core: remove unnecessary pointer cleanup in BufferArea
2022-07-24 11:58:17 +03: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
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
Vincent Rabaud
0d52c37e11
Fix typo that prevents compilation with sanitizer.
2022-06-17 11:40:22 +02:00
Alexander Alekhin
734e309b3e
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2022-06-16 11:04:50 +00:00
Vincent Rabaud
7a46d7efde
Fix compilation on some ARM architecture.
...
This condition is the same as the line above.
2022-06-13 17:39:24 +02:00
Alexander Alekhin
583bd1a6e2
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2022-06-04 19:10:35 +00:00
Alexander Alekhin
65fcf22670
imgproc: use singleton in color_hsv.simd.hpp
2022-06-01 19:02:56 +00:00
Namgoo Lee
24547f40ff
remove const from functions returning by value
2022-05-26 21:30:41 +09:00
OpenCV Developers
d9a444ca1a
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2022-05-14 11:23:21 +00:00
Kumataro
602caa9cd6
Merge pull request #21937 from Kumataro:4.x-fix-21911
...
* Fix warnings for clang15
* Fix warnings: Remove unnecessary code
* Fix warnings: Remove unnecessary code
2022-05-13 17:32:05 +00:00
Vincent Rabaud
667e5e4f89
Merge pull request #21943 from vrabaud:3.4_proc
...
* Fix compilation with non glibc.
_SC_NPROCESSORS_ONLN is non standard as defined on https://man7.org/linux/man-pages/man3/sysconf.3.html
It seems to only be on glibc, cf https://www.gnu.org/software/libc/manual/html_node/Processor-Resources.html
* Fix to defined(_SC_NPROCESSORS_ONLN)
2022-05-05 07:59:29 +00:00
rogday
7daf84fb44
address security concerns in persistence
2022-04-14 22:18:00 +03:00
Anatoliy Talamanov
9390c56831
Merge pull request #21782 from TolyaTalamanov:at/fix-1d-mat-problems
...
[G-API] Fix problems with 1D cv::Mat as graph output
* Fix issues with 1D cv::Mat
* Fix cv::Mat::create
* Fix standalone build
* Add test on 1d mat
* Fix warning
* Add additional condition
* Add more tests
2022-03-31 21:00:45 +00:00
Alexander Alekhin
1339ebaa84
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2022-03-26 16:00:28 +00:00
Maksim Shabunin
593996216f
cartToPolar/polarToCart: disable inplace mode
2022-03-21 16:06:12 +03:00
Maksim Shabunin
0d16b5fc38
Fix libva dynamic loading
2022-03-15 19:08:20 +03:00
rogday
e16cb8b4a2
Merge pull request #21703 from rogday:transpose
...
Add n-dimensional transpose to core
* add n-dimensional transpose to core
* add performance test, write sequentially and address review comments
2022-03-14 13:10:04 +00:00
masa-iwm
1ae2320e09
bugfix convertFromD3D11Texture2D
2022-03-03 07:21:53 +09:00
Tatsuro Shibamura
d354ad1c34
Merge pull request #21630 from shibayan:arm64-msvc-neon
...
* Added NEON support in builds for Windows on ARM
* Fixed `HAVE_CPU_NEON_SUPPORT` display broken during compiler test
* Fixed a build error prior to Visual Studio 2022
2022-02-26 17:35:03 +00:00
Sean McBride
5b23752205
Replaced incorrect double checked locking with a static
...
Thread Sanitizer identified an incorrect implementation of double checked locking.
Replaced it with a static, which therefore can only be created once.
2022-02-15 14:24:21 -05:00
Alexander Alekhin
19926e2979
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2022-02-11 17:32:37 +00:00
Vincent Rabaud
fc28ba3156
Merge pull request #21594 from vrabaud:3.4_msan
...
* Fix harmless MSAN error.
This is similar to https://github.com/opencv/opencv/pull/21527
A macro is also created to simplify the code.
* Declare fallback only once.
2022-02-10 19:44:14 +03:00
cudawarped
f66a2ffa1e
Fix GpuMat to correctly calculate dataend when using GpuMat::create().
...
Add output to createMat() to be used by locateROI test cases.
2022-02-02 14:25:46 +00:00
Alexander Alekhin
a351e05a17
Merge pull request #21538 from edman007:fixup-21536
2022-02-01 17:01:16 +00:00
Ed Martin
dc29632d4e
Fallback to vaCreateImage + vaPutImage/vaGetImage when vaDeriveImage fails
...
Per intel docs for libva, when vaDeriveImage fails vaCreateImage +
vaPutImage should be tried. This is important as mesa with AMD HW
will always fail because the image is interlaced so a indirect
method must be used to get the surface to/from and image
Fixes https://github.com/opencv/opencv/issues/21536
2022-01-31 17:12:37 -05:00
Alexander Alekhin
d573472a86
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2022-01-31 12:53:45 +00:00
Vincent Rabaud
b5b52afd35
Merge pull request #21527 from vrabaud:3.4_msan
...
* Fix wrong MSAN errors.
Because Fortran is called in Lapack, MSAN does not think the memory
has been written even though it is the case.
MSAN does no support well cross-language memory analysis.
* Make a dedicated check.
2022-01-28 15:35:47 +00:00
Alexander Alekhin
83ce1de8e7
Merge pull request #21506 from alalek:core_fp_denormals
2022-01-26 08:52:27 +00:00
Alexander Alekhin
b1d484f827
core(parallel): propagate FP denormals mode
2022-01-26 05:19:02 +00:00
Alexander Alekhin
123519165d
core: FP denormals hints support
2022-01-26 05:19:02 +00:00
pkubaj
5d9ea394ba
Fix VSX detection on FreeBSD
...
hwcap should actually be long.
2022-01-25 13:35:22 +00:00
Alexander Alekhin
302d14adef
build: fix GCC12 compilation
2022-01-22 11:48:44 +00:00