Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
O
opencv
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
opencv
Commits
c48777a1
Commit
c48777a1
authored
Dec 27, 2013
by
Alexander Smorkalov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
CUDA dependency in nonfree nodule removed. OpenCV.mk generation fixed.
parent
41fd711a
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
17 additions
and
9 deletions
+17
-9
OpenCVGenAndroidMK.cmake
cmake/OpenCVGenAndroidMK.cmake
+3
-1
CMakeLists.txt
modules/nonfree/CMakeLists.txt
+7
-1
gpu.hpp
modules/nonfree/include/opencv2/nonfree/gpu.hpp
+1
-1
surf.cu
modules/nonfree/src/cuda/surf.cu
+1
-1
precomp.hpp
modules/nonfree/src/precomp.hpp
+1
-1
surf_gpu.cpp
modules/nonfree/src/surf_gpu.cpp
+2
-2
matchers.hpp
...s/stitching/include/opencv2/stitching/detail/matchers.hpp
+2
-2
No files found.
cmake/OpenCVGenAndroidMK.cmake
View file @
c48777a1
...
...
@@ -70,7 +70,9 @@ if(ANDROID)
endif
()
# GPU module enabled separately
list
(
REMOVE_ITEM OPENCV_MODULES_CONFIGMAKE
"gpu"
)
list
(
REMOVE_ITEM OPENCV_MODULES_CONFIGMAKE
"opencv_gpu"
)
list
(
REMOVE_ITEM OPENCV_MODULES_CONFIGMAKE
"opencv_dynamicuda"
)
if
(
HAVE_opencv_gpu
)
set
(
OPENCV_HAVE_GPU_MODULE_CONFIGMAKE
"on"
)
endif
()
...
...
modules/nonfree/CMakeLists.txt
View file @
c48777a1
...
...
@@ -4,4 +4,9 @@ endif()
set
(
the_description
"Functionality with possible limitations on the use"
)
ocv_warnings_disable
(
CMAKE_CXX_FLAGS -Wundef
)
ocv_define_module
(
nonfree opencv_imgproc opencv_features2d opencv_calib3d OPTIONAL opencv_gpu opencv_ocl
)
if
(
ENABLE_DYNAMIC_CUDA
)
set
(
HAVE_CUDA FALSE
)
ocv_define_module
(
nonfree opencv_imgproc opencv_features2d opencv_calib3d OPTIONAL opencv_ocl
)
else
()
ocv_define_module
(
nonfree opencv_imgproc opencv_features2d opencv_calib3d OPTIONAL opencv_gpu opencv_ocl
)
endif
()
\ No newline at end of file
modules/nonfree/include/opencv2/nonfree/gpu.hpp
View file @
c48777a1
...
...
@@ -45,7 +45,7 @@
#include "opencv2/opencv_modules.hpp"
#if defined(HAVE_OPENCV_GPU)
#if defined(HAVE_OPENCV_GPU)
&& !defined(ANDROID)
#include "opencv2/gpu/gpu.hpp"
...
...
modules/nonfree/src/cuda/surf.cu
View file @
c48777a1
...
...
@@ -42,7 +42,7 @@
#include "opencv2/opencv_modules.hpp"
#if
def HAVE_OPENCV_GPU
#if
defined(HAVE_OPENCV_GPU) && !defined(ANDROID)
#include "opencv2/gpu/device/common.hpp"
#include "opencv2/gpu/device/limits.hpp"
...
...
modules/nonfree/src/precomp.hpp
View file @
c48777a1
...
...
@@ -51,7 +51,7 @@
#include "opencv2/imgproc/imgproc.hpp"
#include "opencv2/core/internal.hpp"
#if defined(HAVE_OPENCV_GPU)
#if defined(HAVE_OPENCV_GPU)
&& !defined(ANDROID)
#include "opencv2/nonfree/gpu.hpp"
#if defined(HAVE_CUDA)
...
...
modules/nonfree/src/surf_gpu.cpp
View file @
c48777a1
...
...
@@ -42,7 +42,7 @@
#include "precomp.hpp"
#if defined(HAVE_OPENCV_GPU)
#if defined(HAVE_OPENCV_GPU)
&& !defined(ANDROID)
using
namespace
cv
;
using
namespace
cv
::
gpu
;
...
...
@@ -422,4 +422,4 @@ void cv::gpu::SURF_GPU::releaseMemory()
#endif // !defined (HAVE_CUDA)
#endif // defined(HAVE_OPENCV_GPU)
#endif // defined(HAVE_OPENCV_GPU)
&& !defined(ANDROID)
modules/stitching/include/opencv2/stitching/detail/matchers.hpp
View file @
c48777a1
...
...
@@ -48,7 +48,7 @@
#include "opencv2/opencv_modules.hpp"
#if defined(HAVE_OPENCV_NONFREE) && defined(HAVE_OPENCV_GPU)
#if defined(HAVE_OPENCV_NONFREE) && defined(HAVE_OPENCV_GPU)
&& !defined(ANDROID)
#include "opencv2/nonfree/gpu.hpp"
#endif
...
...
@@ -104,7 +104,7 @@ private:
};
#if defined(HAVE_OPENCV_NONFREE) && defined(HAVE_OPENCV_GPU)
#if defined(HAVE_OPENCV_NONFREE) && defined(HAVE_OPENCV_GPU)
&& !defined(ANDROID)
class
CV_EXPORTS
SurfFeaturesFinderGpu
:
public
FeaturesFinder
{
public
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment