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
6d64907f
Commit
6d64907f
authored
Jan 29, 2014
by
Ilya Lavrenov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
async
parent
6fa41c5a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
ocl.cpp
modules/core/src/ocl.cpp
+1
-1
filter.cpp
modules/imgproc/src/filter.cpp
+2
-2
No files found.
modules/core/src/ocl.cpp
View file @
6d64907f
...
...
@@ -3299,7 +3299,7 @@ public:
CV_Assert
(
u
->
handle
!=
0
&&
u
->
urefcount
==
0
);
if
(
u
->
tempUMat
())
{
UMatDataAutoLock
lock
(
u
);
//
UMatDataAutoLock lock(u);
if
(
u
->
hostCopyObsolete
()
&&
u
->
refcount
>
0
)
{
cl_command_queue
q
=
(
cl_command_queue
)
Queue
::
getDefault
().
ptr
();
...
...
modules/imgproc/src/filter.cpp
View file @
6d64907f
...
...
@@ -3595,12 +3595,12 @@ static bool ocl_sepFilter2D( InputArray _src, OutputArray _dst, int ddepth,
Size
srcSize
=
src
.
size
();
Size
bufSize
(
srcSize
.
width
,
srcSize
.
height
+
kernelY
.
cols
-
1
);
UMat
buf
;
buf
.
create
(
bufSize
,
CV_MAKETYPE
(
CV_32F
,
cn
));
if
(
!
ocl_sepRowFilter2D
(
src
,
buf
,
kernelX
,
anchor
.
x
,
borderType
,
tru
e
))
if
(
!
ocl_sepRowFilter2D
(
src
,
buf
,
kernelX
,
anchor
.
x
,
borderType
,
fals
e
))
return
false
;
_dst
.
create
(
srcSize
,
CV_MAKETYPE
(
ddepth
,
cn
));
UMat
dst
=
_dst
.
getUMat
();
return
ocl_sepColFilter2D
(
buf
,
dst
,
kernelY
,
anchor
.
y
,
tru
e
);
return
ocl_sepColFilter2D
(
buf
,
dst
,
kernelY
,
anchor
.
y
,
fals
e
);
}
#endif
...
...
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