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
bf6c08a9
Commit
bf6c08a9
authored
Apr 04, 2013
by
Vladislav Vinogradov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed compilation with CUDA
parent
6ef43cd9
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
8 additions
and
7 deletions
+8
-7
matrix_operations.cpp
modules/core/src/matrix_operations.cpp
+1
-1
test_bgfg.cpp
modules/gpu/test/test_bgfg.cpp
+2
-2
test_precomp.hpp
modules/gpu/test/test_precomp.hpp
+2
-0
window_gtk.cpp
modules/highgui/src/window_gtk.cpp
+1
-4
precomp.hpp
modules/nonfree/src/precomp.hpp
+1
-0
precomp.hpp
modules/superres/src/precomp.hpp
+1
-0
No files found.
modules/core/src/matrix_operations.cpp
View file @
bf6c08a9
...
...
@@ -224,7 +224,7 @@ void cv::gpu::CudaMem::create(int _rows, int _cols, int _type, int _alloc_type)
if
(
_alloc_type
==
ALLOC_ZEROCOPY
&&
!
canMapHostMemory
())
cv
::
gpu
::
error
(
"ZeroCopy is not supported by current device"
,
__FILE__
,
__LINE__
);
_type
&=
TYPE_MASK
;
_type
&=
Mat
::
TYPE_MASK
;
if
(
rows
==
_rows
&&
cols
==
_cols
&&
type
()
==
_type
&&
data
)
return
;
if
(
data
)
...
...
modules/gpu/test/test_bgfg.cpp
View file @
bf6c08a9
...
...
@@ -125,8 +125,8 @@ GPU_TEST_P(FGDStatModel, Update)
ASSERT_EQ
(
gold_count
,
count
);
cv
::
Mat
gold_background
(
model
->
background
);
cv
::
Mat
gold_foreground
(
model
->
foreground
);
cv
::
Mat
gold_background
=
cv
::
cvarrToMat
(
model
->
background
);
cv
::
Mat
gold_foreground
=
cv
::
cvarrToMat
(
model
->
foreground
);
if
(
out_cn
==
3
)
d_model
.
background
.
download
(
h_background3
);
...
...
modules/gpu/test/test_precomp.hpp
View file @
bf6c08a9
...
...
@@ -64,6 +64,8 @@
#include <iterator>
#include <stdexcept>
#include "opencv2/core/private.hpp"
#ifdef HAVE_CUDA
#include <cuda.h>
#include <cuda_runtime.h>
...
...
modules/highgui/src/window_gtk.cpp
View file @
bf6c08a9
...
...
@@ -1096,10 +1096,7 @@ cvShowImage( const char* name, const CvArr* arr )
#ifdef HAVE_OPENGL
if
(
window
->
useGl
)
{
CvMat
stub
;
CvMat
*
mat
=
cvGetMat
(
arr
,
&
stub
);
cv
::
Mat
im
(
mat
);
cv
::
imshow
(
name
,
im
);
cv
::
imshow
(
name
,
cv
::
cvarrToMat
(
arr
));
return
;
}
#endif
...
...
modules/nonfree/src/precomp.hpp
View file @
bf6c08a9
...
...
@@ -47,6 +47,7 @@
#include "opencv2/imgproc.hpp"
#include "opencv2/core/utility.hpp"
#include "opencv2/core/private.hpp"
#include "opencv2/opencv_modules.hpp"
...
...
modules/superres/src/precomp.hpp
View file @
bf6c08a9
...
...
@@ -53,6 +53,7 @@
#include "opencv2/core/utility.hpp"
#include "opencv2/imgproc.hpp"
#include "opencv2/video/tracking.hpp"
#include "opencv2/core/private.hpp"
#ifdef HAVE_OPENCV_GPU
#include "opencv2/gpu.hpp"
...
...
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