opencv/samples
Vladimir Dudnik 217dd63e02 OpenCV-OpenCL interop (PR #4072):
Commits:
added new function, cv::ocl::attachContext(String& platformName, void* platformID, void* context, void* deviceID) which allow to attach externally created OpenCL context to OpenCV.
add definitions of clRetainDevice, clRetainContext funcs
removed definitions for clRetainContext, clRetainDevice
fixed build issue under Linux
fixed uninitialized vars, replace dbgassert in error handling
remove function which is not ready yet
add new function, cv::ocl::convertFromBuffer(int rows, int cols, int type, void* cl_mem_obj, UMat& dst, UMatUsageFlags usageFlags = cv::USAGE_DEFAULT) which attaches user allocated OpenCL clBuffer to UMat
uncommented clGetMemObjectInfo definition (otherwise prevent opencv build)
fixed build issue on linux and android
add step parameter to cv::ocl::convertFromBuffer func
suppress compile-time warning
added sample opencl-opencv interoperability (showcase for cv::ocl::convertFromBuffer func)
CMakeLists.txt modified to not create sample build script if OpenCL SDK not found in system
fixed build issue (apple opencl include dir and spaces in CMake file)
added call to clRetainContext for attachContext func and call to clRetainMemObject for convertFromBuffer func
uncommented clRetainMemObject definition
added comments and cleanup
add local path to cmake modules search dirs (instead of replacing)
remove REQUIRED for find_package call (sample build together with opencv). need to try standalone sample build
opencl-interop sample moved to standalone build
set minimum version requirement for sample's cmake to 3.1
put cmake_minimum_required under condition, so do not check if samples not builded
remove code dups for setSize, updateContinuityFlag, and finalizeHdr
commented out cmake_minimum_required(VERSION 3.1)
add safety check for cmake version
add convertFromImage func and update opencl-interop sample
uncommented clGetImageInfo defs
uncommented clEnqueueCopyImageToBuffer defs
fixed clEnqueueCopyImageToBuffer defs
add doxygen comments
remove doxygen @fn tag
try to restart buildbot
add doxygen comments to directx interop funcs
remove internal header, use fwd declarations in affected compile units instead
2015-06-19 13:33:22 +03:00
..
android Increase android samples versions 2015-06-17 18:10:28 +03:00
cpp Update samples/cpp/example_cmake: no need to use include_directories 2015-06-17 17:53:05 +02:00
data Added ground-truth disparity map for 'aloe' 2015-06-14 23:59:48 +03:00
directx AndroidMgr: fixed package build 2015-06-03 19:01:48 +03:00
gpu ENH: explicitly declared outputFilename to surpress error C2668 2015-04-14 13:39:14 +08:00
java opencv_version 2014-10-04 21:39:57 +04:00
opencl OpenCV-OpenCL interop (PR #4072): 2015-06-19 13:33:22 +03:00
python2 Merge pull request #4074 from vpisarev:objdetect_fixes 2015-05-28 19:43:51 +00:00
tapi AndroidMgr: fixed package build 2015-06-03 19:01:48 +03:00
winrt Adding backslash in macro-based paths 2015-05-29 09:36:42 +03:00
winrt_universal Adding backslash in macro-based paths 2015-05-29 09:36:42 +03:00
wp8 Adding backslash in macro-based paths 2015-05-29 09:36:42 +03:00
CMakeLists.txt OpenCV-OpenCL interop (PR #4072): 2015-06-19 13:33:22 +03:00