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
f8985bb7
Commit
f8985bb7
authored
Mar 12, 2013
by
yao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix warnings on Linux
parent
3f81a152
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
stereobm.cpp
modules/ocl/src/stereobm.cpp
+4
-4
No files found.
modules/ocl/src/stereobm.cpp
View file @
f8985bb7
...
@@ -72,7 +72,7 @@ namespace stereoBM
...
@@ -72,7 +72,7 @@ namespace stereoBM
/////////////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////////////
//////////////////////////prefilter_xsbel////////////////////////////////
//////////////////////////prefilter_xsbel////////////////////////////////
////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////
void
prefilter_xsobel
(
const
oclMat
&
input
,
oclMat
&
output
,
int
prefilterCap
)
static
void
prefilter_xsobel
(
const
oclMat
&
input
,
oclMat
&
output
,
int
prefilterCap
)
{
{
Context
*
clCxt
=
input
.
clCxt
;
Context
*
clCxt
=
input
.
clCxt
;
...
@@ -110,7 +110,7 @@ static inline int divUp(int total, int grain)
...
@@ -110,7 +110,7 @@ static inline int divUp(int total, int grain)
////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////
///////////////////////////////stereoBM_GPU////////////////////////////////
///////////////////////////////stereoBM_GPU////////////////////////////////
////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////
void
stereo_bm
(
const
oclMat
&
left
,
const
oclMat
&
right
,
oclMat
&
disp
,
static
void
stereo_bm
(
const
oclMat
&
left
,
const
oclMat
&
right
,
oclMat
&
disp
,
int
maxdisp
,
int
winSize
,
oclMat
&
minSSD_buf
)
int
maxdisp
,
int
winSize
,
oclMat
&
minSSD_buf
)
{
{
int
winsz2
=
winSize
>>
1
;
int
winsz2
=
winSize
>>
1
;
...
@@ -160,7 +160,7 @@ void stereo_bm(const oclMat &left, const oclMat &right, oclMat &disp,
...
@@ -160,7 +160,7 @@ void stereo_bm(const oclMat &left, const oclMat &right, oclMat &disp,
////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////
///////////////////////////////postfilter_textureness///////////////////////
///////////////////////////////postfilter_textureness///////////////////////
////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////
void
postfilter_textureness
(
oclMat
&
left
,
int
winSize
,
static
void
postfilter_textureness
(
oclMat
&
left
,
int
winSize
,
float
avergeTexThreshold
,
oclMat
&
disparity
)
float
avergeTexThreshold
,
oclMat
&
disparity
)
{
{
Context
*
clCxt
=
left
.
clCxt
;
Context
*
clCxt
=
left
.
clCxt
;
...
@@ -197,7 +197,7 @@ void postfilter_textureness(oclMat &left, int winSize,
...
@@ -197,7 +197,7 @@ void postfilter_textureness(oclMat &left, int winSize,
//////////////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////////////
/////////////////////////////////////operator/////////////////////////////////
/////////////////////////////////////operator/////////////////////////////////
/////////////////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////////////////
void
operator_
(
oclMat
&
minSSD
,
oclMat
&
leBuf
,
oclMat
&
riBuf
,
int
preset
,
int
ndisp
,
static
void
operator_
(
oclMat
&
minSSD
,
oclMat
&
leBuf
,
oclMat
&
riBuf
,
int
preset
,
int
ndisp
,
int
winSize
,
float
avergeTexThreshold
,
const
oclMat
&
left
,
int
winSize
,
float
avergeTexThreshold
,
const
oclMat
&
left
,
const
oclMat
&
right
,
oclMat
&
disparity
)
const
oclMat
&
right
,
oclMat
&
disparity
)
...
...
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