masa-iwm
5ac0712cf1
Merge pull request #18593 from masa-iwm:master
...
Add support thread-local directx (OpenCL interop) initialization
* support thread-local directx (OpenCL interop) initialization
* reflect reviews
* Remove verbose function prototype declarations
* Countermeasures for VC warnings. (declaration of 'platform' hides class member)
* core(directx): remove internal stuff from public headers
2020-10-18 21:22:06 +00:00
Alexander Alekhin
39d5e14c1f
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2020-10-07 09:09:37 +00:00
Alexander Alekhin
6f5d56d994
core(logger): avoid destruction of GlobalLoggingInitStruct object
...
- keep logger available until the program termination
2020-10-06 12:50:32 +00:00
Alexander Alekhin
aece3e732e
Merge pull request #18507 from sizeofvoid:openbsd
2020-10-05 17:02:38 +00:00
Mario Emmenlauer
102d8f67cd
matrix.cpp::setSize(): fixed out-of-bounds access on cv::Mat steps
2020-10-05 10:19:53 +02:00
Rafael Sadowski
3acf8cfd63
Add an OpenBSD check
2020-10-05 08:23:23 +02:00
Alexander Alekhin
01e23a2222
Merge pull request #18439 from komakai:opencl
2020-09-29 15:07:28 +00:00
Giles Payne
b29f73d5e0
Android OpenCL support
2020-09-29 21:55:31 +09:00
Alexander Alekhin
c945ea125a
ocl: fix PlatformInfo usage
2020-09-25 19:22:12 +00:00
Odianosen Ejale
862fc06b6f
Fixed and updated OpenCL-VA interoperability
2020-09-25 16:11:50 +03:00
Alexander Alekhin
f52a2cf5e1
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2020-09-19 17:03:08 +00:00
Alexander Alekhin
5e90802b1a
Merge pull request #18363 from alalek:issue_18349
2020-09-19 16:53:34 +00:00
Alexander Alekhin
261ad78122
core: emit more clear messages in OutputArray::create()
2020-09-18 15:25:29 +00:00
Alexander Alekhin
4fa82809df
ocl: avoid rescheduling of async kernels
2020-09-18 14:53:50 +00:00
Alexander Alekhin
8711653530
ocl: fixes for OpenCL multiple contexts support
2020-09-03 20:34:49 +00:00
Alexander Alekhin
2129c72bc0
core(OpenCL): thread-local OpenCL execution context
2020-09-02 05:04:20 +00:00
Alexander Alekhin
0428dce27d
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2020-09-01 20:59:00 +00:00
Alexander Alekhin
efcf307b4c
ocl: cleanup dead code in case of disabled OpenCL
2020-08-31 11:30:42 +00:00
Alexander Alekhin
f6c2bf21c8
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2020-08-21 19:57:34 +00:00
Alexander Alekhin
f53ff0d01c
Merge pull request #18151 from alalek:core_trace_fix_location
2020-08-21 18:54:40 +00:00
Alexander Alekhin
cd00d8f3f0
core(trace): lazy quering for OPENCV_TRACE_LOCATION
...
- fixes proper initialization of non-trivial variable
2020-08-20 21:48:05 +00:00
Alexander Alekhin
b3755e617c
ocl: silence warning in case of async cleanup
...
- OpenCL kernel cleanup processing is asynchronous and can be called even after forced clFinish()
- buffers are released later in asynchronous mode
- silence these false positive cases for asynchronous cleanup
2020-08-20 19:33:37 +00:00
Alexander Alekhin
b45273eccb
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2020-08-14 19:45:45 +00:00
nhlsm
68f527267b
Merge pull request #18080 from nhlsm:improve-mat-operator-assign-scalar
...
* improve Mat::operator=(Scalar)
* touch
* remove trailing whitespace
* TEST: check if old code pass test or not
* remove CV_Error
* remove warning
* fix: is -> Scalar
* 1) Mat *mat -> Mat &mat 2) return bool, add output param
* add comment
2020-08-14 17:21:23 +00:00
Alexander Alekhin
00890aecdf
core(ocl): fix ocl::Image2d::isFormatSupported()
...
in case of OPENCV_OPENCL_DEVICE=disabled
2020-08-13 18:33:18 +00:00
Alexander Alekhin
422f802ec9
Merge pull request #17922 from joy2myself:build_riscv_with_c++_intrin
2020-08-04 09:45:32 +00:00
Zhangyin
ff4c3873f2
Added cmake toolchain for RISC-V with clang.
...
- Added cross compile cmake file for target riscv64-clang
- Extended cmake for RISC-V and added instruction checks
- Created intrin_rvv.hpp with C++ version universal intrinsics
2020-08-03 20:18:56 +08:00
Namgoo Lee
2241bfb0df
Use "src" not "*this" for source GpuMat
2020-07-30 01:03:34 +09:00
Alexander Alekhin
ffe0d50447
core(persistence): fix "use after free" bug
...
- do not store user-controlled "FileStorage" pointer
- store FileStorage::Impl pointer instead
2020-07-17 21:39:06 +00:00
Vadim Pisarevsky
4564b8a224
Merge pull request #17841 from vpisarev:fixed_fs_dtor
...
* fixed issue #17412
* Update test_io.cpp
2020-07-17 02:28:50 +00:00
Alexander Alekhin
e5e767abc1
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2020-07-13 19:54:49 +00:00
Alexander Alekhin
e54040d540
core: use lazy on-demand initialization for param_traceEnable
2020-07-12 11:53:46 +00:00
Alexander Alekhin
99bc35a883
core(logger): complete initialization of logger structures
...
- for using of logging functions from global destructors
2020-06-22 09:27:26 +00:00
Alexander Alekhin
e3d502310f
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2020-06-19 07:33:50 +00:00
Alexander Alekhin
442999dcdb
core: fix handling of ND-arrays in dumpInputArray() helpers
2020-06-12 10:23:32 +00:00
cyy
171cba4947
use C++11 static variables as memory barrier
2020-06-09 15:49:31 +08:00
Alexander Alekhin
7722a2b8a8
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2020-06-04 17:58:34 +00:00
Maksim Shabunin
59608907b8
Added countNonZero test for big arrays and disable IPP for some cases
2020-06-03 18:58:41 +03:00
Vadim Pisarevsky
5489735258
Merge pull request #17436 from vpisarev:fix_python_io
...
* fixed #17044
1. fixed Python part of the tutorial about using OpenCV XML-YAML-JSON I/O functionality from C++ and Python.
2. added startWriteStruct() and endWriteStruct() methods to FileStorage
3. modifed FileStorage::write() methods to make them work well inside sequences, not only mappings.
* try to fix the doc builder
* added Python regression test for FileStorage I/O API ([TODO] iterating through long sequences can be very slow)
* fixed yaml testing
2020-06-01 11:33:09 +00:00
Alexander Alekhin
c3e8a82c9c
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2020-05-28 23:53:54 +00:00
Egor Pugin
1bec7ca540
Merge pull request #17352 from egorpugin:patch-2
...
* Fix integer overflow in parseOption().
Previous code does not work for values like 100000MB.
* Fix warning during 32-bit build on inactive code path.
* fix build without C++11
2020-05-25 20:25:18 +00:00
Alexander Alekhin
06bff34a6b
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2020-05-12 19:24:28 +00:00
Alexander Alekhin
74e4cfd1da
core(MatExpr): fix warning in case of e.s == (0, 0, 0, 0)
2020-05-01 07:29:57 +00:00
Alexander Alekhin
1d30a524fa
Merge pull request #17145 from asmorkalov:as/riscv
2020-04-28 10:41:41 +00:00
Alexander Smorkalov
7228d2a824
Added initial version of cmake toolchain for RISC-V architecture.
2020-04-27 12:42:38 +03:00
Alexander Alekhin
bfcc136dc7
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2020-04-21 21:32:51 +00:00
Alexander Alekhin
c8f1948d58
core: drop EXPR handing code in InputArray
2020-04-14 18:02:19 +00:00
Alexander Alekhin
ca9756f6a1
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2020-04-13 20:00:12 +00:00
Alexander Alekhin
936428cb3b
core(MatExpr) fetch result before InputArray wrap
...
- avoid multiple expression evaluations
- avoid issues with reduced support of InputArray::EXPR
2020-04-06 15:28:32 +00:00
Alexander Alekhin
cf2a3c8e74
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2020-04-02 21:52:32 +00:00