UMat usageFlags fixes opencv/opencv#19807
authorDale Phurrough <dale@hidale.com>
Tue, 4 May 2021 20:29:15 +0000 (22:29 +0200)
committerDale Phurrough <dale@hidale.com>
Thu, 3 Jun 2021 14:33:03 +0000 (16:33 +0200)
commitc2ce3d927ae527521781b72692137632a08b1d42
treee82e11f6da69d1da1a7935e3dcc1052153d73dc7
parent0e8431d17b24ee2f0fee858fef30462268e1a8b9
UMat usageFlags fixes opencv/opencv#19807

- corrects code to support non- USAGE_DEFAULT settings
- accuracy, regression, perf test cases
- not tested on the 3.x branch
modules/core/include/opencv2/core/mat.hpp
modules/core/perf/opencl/perf_usage_flags.cpp
modules/core/src/ocl.cpp
modules/core/src/umatrix.cpp
modules/core/test/test_opencl.cpp