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
9086d6a2
Commit
9086d6a2
authored
Nov 16, 2014
by
Vadim Pisarevsky
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #3427 from tstellarAMD:2.4-farneback-crash-fix
parents
eedde323
42b1bd56
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
0 deletions
+15
-0
ocl.hpp
modules/ocl/include/opencv2/ocl/ocl.hpp
+15
-0
optical_flow_farneback.cpp
modules/ocl/src/optical_flow_farneback.cpp
+0
-0
No files found.
modules/ocl/include/opencv2/ocl/ocl.hpp
View file @
9086d6a2
...
...
@@ -1473,6 +1473,16 @@ namespace cv
void
releaseMemory
();
private
:
void
setGaussianBlurKernel
(
const
float
*
c_gKer
,
int
ksizeHalf
);
void
gaussianBlurOcl
(
const
oclMat
&
src
,
int
ksizeHalf
,
oclMat
&
dst
);
void
polynomialExpansionOcl
(
const
oclMat
&
src
,
int
polyN
,
oclMat
&
dst
);
void
gaussianBlur5Ocl
(
const
oclMat
&
src
,
int
ksizeHalf
,
oclMat
&
dst
);
void
prepareGaussian
(
int
n
,
double
sigma
,
float
*
g
,
float
*
xg
,
float
*
xxg
,
double
&
ig11
,
double
&
ig03
,
double
&
ig33
,
double
&
ig55
);
...
...
@@ -1490,6 +1500,11 @@ namespace cv
oclMat
frames_
[
2
];
oclMat
pyrLevel_
[
2
],
M_
,
bufM_
,
R_
[
2
],
blurredFrame_
[
2
];
std
::
vector
<
oclMat
>
pyramid0_
,
pyramid1_
;
float
ig
[
4
];
oclMat
gMat
;
oclMat
xgMat
;
oclMat
xxgMat
;
oclMat
gKerMat
;
};
//////////////// build warping maps ////////////////////
...
...
modules/ocl/src/optical_flow_farneback.cpp
View file @
9086d6a2
This diff is collapsed.
Click to expand it.
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