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
1ab1594d
Commit
1ab1594d
authored
Jan 30, 2014
by
Ilya Lavrenov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
workaround
parent
372cdac0
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
5 deletions
+8
-5
ocl.cpp
modules/core/src/ocl.cpp
+6
-5
filterSepCol.cl
modules/imgproc/src/opencl/filterSepCol.cl
+1
-0
filterSepRow.cl
modules/imgproc/src/opencl/filterSepRow.cl
+1
-0
No files found.
modules/core/src/ocl.cpp
View file @
1ab1594d
...
...
@@ -3826,20 +3826,21 @@ static std::string kerToStr(const Mat & k)
if
(
depth
<=
CV_8S
)
{
for
(
int
i
=
0
;
i
<
width
;
++
i
)
stream
<<
(
int
)
data
[
i
]
<<
",
"
;
stream
<<
(
int
)
data
[
width
]
;
stream
<<
"DIG("
<<
(
int
)
data
[
i
]
<<
")
"
;
stream
<<
"DIG("
<<
(
int
)
data
[
width
]
<<
")"
;
}
else
if
(
depth
==
CV_32F
)
{
stream
.
setf
(
std
::
ios_base
::
showpoint
);
for
(
int
i
=
0
;
i
<
width
;
++
i
)
stream
<<
data
[
i
]
<<
"f,
"
;
stream
<<
data
[
width
]
<<
"f
"
;
stream
<<
"DIG("
<<
data
[
i
]
<<
"f)
"
;
stream
<<
"DIG("
<<
data
[
width
]
<<
"f)
"
;
}
else
{
for
(
int
i
=
0
;
i
<
width
;
++
i
)
stream
<<
data
[
i
]
<<
", "
;
stream
<<
"DIG("
<<
data
[
i
]
<<
")"
;
stream
<<
"DIG("
<<
data
[
width
]
<<
")"
;
}
return
stream
.
str
();
...
...
modules/imgproc/src/opencl/filterSepCol.cl
View file @
1ab1594d
...
...
@@ -60,6 +60,7 @@ Niko
The
info
above
maybe
obsolete.
***********************************************************************************
/
#
define
DIG
(
a
)
a,
__constant
float
mat_kernel[]
=
{
COEFF
}
;
__kernel
__attribute__
((
reqd_work_group_size
(
LSIZE0,LSIZE1,1
)))
void
col_filter
...
...
modules/imgproc/src/opencl/filterSepRow.cl
View file @
1ab1594d
...
...
@@ -144,6 +144,7 @@ Niko
The
info
above
maybe
obsolete.
***********************************************************************************
/
#
define
DIG
(
a
)
a,
__constant
float
mat_kernel[]
=
{
COEFF
}
;
__kernel
__attribute__
((
reqd_work_group_size
(
LSIZE0,LSIZE1,1
)))
void
row_filter_C1_D0
...
...
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