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
3a565e00
Commit
3a565e00
authored
Mar 12, 2013
by
peng xiao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove unnecessary HAVE_OPENCL macro block.
parent
34998b60
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
54 deletions
+1
-54
surf.cpp
modules/ocl/src/surf.cpp
+1
-54
No files found.
modules/ocl/src/surf.cpp
View file @
3a565e00
...
...
@@ -51,57 +51,6 @@ using namespace cv;
using
namespace
cv
::
ocl
;
using
namespace
std
;
#if !defined (HAVE_OPENCL)
cv
::
ocl
::
SURF_OCL
::
SURF_OCL
()
{
throw_nogpu
();
}
cv
::
ocl
::
SURF_OCL
::
SURF_OCL
(
double
,
int
,
int
,
bool
,
float
,
bool
)
{
throw_nogpu
();
}
int
cv
::
ocl
::
SURF_OCL
::
descriptorSize
()
const
{
throw_nogpu
();
return
0
;
}
void
cv
::
ocl
::
SURF_OCL
::
uploadKeypoints
(
const
vector
<
KeyPoint
>
&
,
oclMat
&
)
{
throw_nogpu
();
}
void
cv
::
ocl
::
SURF_OCL
::
downloadKeypoints
(
const
oclMat
&
,
vector
<
KeyPoint
>
&
)
{
throw_nogpu
();
}
void
cv
::
ocl
::
SURF_OCL
::
downloadDescriptors
(
const
oclMat
&
,
vector
<
float
>
&
)
{
throw_nogpu
();
}
void
cv
::
ocl
::
SURF_OCL
::
operator
()(
const
oclMat
&
,
const
oclMat
&
,
oclMat
&
)
{
throw_nogpu
();
}
void
cv
::
ocl
::
SURF_OCL
::
operator
()(
const
oclMat
&
,
const
oclMat
&
,
oclMat
&
,
oclMat
&
,
bool
)
{
throw_nogpu
();
}
void
cv
::
ocl
::
SURF_OCL
::
operator
()(
const
oclMat
&
,
const
oclMat
&
,
vector
<
KeyPoint
>
&
)
{
throw_nogpu
();
}
void
cv
::
ocl
::
SURF_OCL
::
operator
()(
const
oclMat
&
,
const
oclMat
&
,
vector
<
KeyPoint
>
&
,
oclMat
&
,
bool
)
{
throw_nogpu
();
}
void
cv
::
ocl
::
SURF_OCL
::
operator
()(
const
oclMat
&
,
const
oclMat
&
,
vector
<
KeyPoint
>
&
,
vector
<
float
>
&
,
bool
)
{
throw_nogpu
();
}
void
cv
::
ocl
::
SURF_OCL
::
releaseMemory
()
{
throw_nogpu
();
}
#else
/* !defined (HAVE_OPENCL) */
namespace
cv
{
namespace
ocl
...
...
@@ -211,7 +160,7 @@ public:
if
(
use_mask
)
{
throw
std
::
exception
(
);
CV_Error
(
CV_StsBadFunc
,
"Masked SURF detector is not implemented yet"
);
//!FIXME
// temp fix for missing min overload
//oclMat temp(mask.size(), mask.type());
...
...
@@ -776,5 +725,3 @@ void SURF_OCL_Invoker::compute_descriptors_gpu(const oclMat &descriptors, const
openCLExecuteKernelSURF
(
clCxt
,
&
nonfree_surf
,
kernelName
,
globalThreads
,
localThreads
,
args
,
-
1
,
-
1
);
}
}
#endif //
/* !defined (HAVE_OPENCL) */
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