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
d1fe1a62
Commit
d1fe1a62
authored
Jul 11, 2013
by
Andrey Pavlenko
Committed by
OpenCV Buildbot
Jul 11, 2013
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1106 from pengx17:2.4_gftt_rename
parents
07c2ae50
5032240c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
gftt.cpp
modules/ocl/src/gftt.cpp
+5
-5
imgproc_gftt.cl
modules/ocl/src/opencl/imgproc_gftt.cl
+0
-0
No files found.
modules/ocl/src/gf
f
t.cpp
→
modules/ocl/src/gf
t
t.cpp
View file @
d1fe1a62
...
...
@@ -55,7 +55,7 @@ namespace cv
namespace
ocl
{
///////////////////////////OpenCL kernel strings///////////////////////////
extern
const
char
*
imgproc_gf
f
t
;
extern
const
char
*
imgproc_gf
t
t
;
}
}
...
...
@@ -133,7 +133,7 @@ struct Sorter<BITONIC>
for
(
int
passOfStage
=
0
;
passOfStage
<
stage
+
1
;
++
passOfStage
)
{
args
[
4
]
=
std
::
make_pair
(
sizeof
(
cl_int
),
(
void
*
)
&
passOfStage
);
openCLExecuteKernel
(
cxt
,
&
imgproc_gf
f
t
,
kernelname
,
globalThreads
,
localThreads
,
args
,
-
1
,
-
1
);
openCLExecuteKernel
(
cxt
,
&
imgproc_gf
t
t
,
kernelname
,
globalThreads
,
localThreads
,
args
,
-
1
,
-
1
);
}
}
}
...
...
@@ -160,12 +160,12 @@ struct Sorter<SELECTION>
args
.
push_back
(
std
::
make_pair
(
sizeof
(
cl_int
),
(
void
*
)
&
count
)
);
args
.
push_back
(
std
::
make_pair
(
lds_size
,
(
void
*
)
NULL
)
);
openCLExecuteKernel
(
cxt
,
&
imgproc_gf
f
t
,
kernelname
,
globalThreads
,
localThreads
,
args
,
-
1
,
-
1
);
openCLExecuteKernel
(
cxt
,
&
imgproc_gf
t
t
,
kernelname
,
globalThreads
,
localThreads
,
args
,
-
1
,
-
1
);
//final
kernelname
=
"sortCorners_selectionSortFinal"
;
args
.
pop_back
();
openCLExecuteKernel
(
cxt
,
&
imgproc_gf
f
t
,
kernelname
,
globalThreads
,
localThreads
,
args
,
-
1
,
-
1
);
openCLExecuteKernel
(
cxt
,
&
imgproc_gf
t
t
,
kernelname
,
globalThreads
,
localThreads
,
args
,
-
1
,
-
1
);
}
};
...
...
@@ -201,7 +201,7 @@ int findCorners_caller(
size_t
localThreads
[
3
]
=
{
16
,
16
,
1
};
const
char
*
opt
=
mask
.
empty
()
?
""
:
"-D WITH_MASK"
;
openCLExecuteKernel
(
cxt
,
&
imgproc_gf
f
t
,
kernelname
,
globalThreads
,
localThreads
,
args
,
-
1
,
-
1
,
opt
);
openCLExecuteKernel
(
cxt
,
&
imgproc_gf
t
t
,
kernelname
,
globalThreads
,
localThreads
,
args
,
-
1
,
-
1
,
opt
);
return
std
::
min
(
Mat
(
g_counter
).
at
<
int
>
(
0
),
max_count
);
}
}
//unnamed namespace
...
...
modules/ocl/src/opencl/imgproc_gf
f
t.cl
→
modules/ocl/src/opencl/imgproc_gf
t
t.cl
View file @
d1fe1a62
File moved
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