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
f33d9022
Commit
f33d9022
authored
Jun 15, 2012
by
Marina Kolpakova
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed "shadow" warnings in NVIDIA tests
parent
2e2bd557
Hide whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
73 additions
and
72 deletions
+73
-72
NCVAutoTestLister.hpp
modules/gpu/test/nvidia/NCVAutoTestLister.hpp
+4
-4
NCVTest.hpp
modules/gpu/test/nvidia/NCVTest.hpp
+2
-2
TestCompact.cpp
modules/gpu/test/nvidia/TestCompact.cpp
+7
-7
TestDrawRects.cpp
modules/gpu/test/nvidia/TestDrawRects.cpp
+10
-9
TestHaarCascadeApplication.cpp
modules/gpu/test/nvidia/TestHaarCascadeApplication.cpp
+7
-7
TestHaarCascadeLoader.cpp
modules/gpu/test/nvidia/TestHaarCascadeLoader.cpp
+3
-3
TestHypothesesGrow.cpp
modules/gpu/test/nvidia/TestHypothesesGrow.cpp
+12
-12
TestIntegralImage.cpp
modules/gpu/test/nvidia/TestIntegralImage.cpp
+6
-6
TestIntegralImageSquared.cpp
modules/gpu/test/nvidia/TestIntegralImageSquared.cpp
+6
-6
TestRectStdDev.cpp
modules/gpu/test/nvidia/TestRectStdDev.cpp
+10
-10
TestTranspose.cpp
modules/gpu/test/nvidia/TestTranspose.cpp
+6
-6
No files found.
modules/gpu/test/nvidia/NCVAutoTestLister.hpp
View file @
f33d9022
...
@@ -26,11 +26,11 @@ class NCVAutoTestLister
...
@@ -26,11 +26,11 @@ class NCVAutoTestLister
{
{
public
:
public
:
NCVAutoTestLister
(
std
::
string
testSuiteName
,
OutputLevel
outputLevel
=
OutputLevelCompact
,
NcvBool
bStopOnFirstFail
=
false
)
NCVAutoTestLister
(
std
::
string
testSuiteName
_
,
OutputLevel
outputLevel_
=
OutputLevelCompact
,
NcvBool
bStopOnFirstFail_
=
false
)
:
:
testSuiteName
(
testSuiteName
),
testSuiteName
(
testSuiteName
_
),
outputLevel
(
outputLevel
),
outputLevel
(
outputLevel
_
),
bStopOnFirstFail
(
bStopOnFirstFail
)
bStopOnFirstFail
(
bStopOnFirstFail
_
)
{
{
}
}
...
...
modules/gpu/test/nvidia/NCVTest.hpp
View file @
f33d9022
...
@@ -46,9 +46,9 @@ class NCVTestProvider : public INCVTest
...
@@ -46,9 +46,9 @@ class NCVTestProvider : public INCVTest
{
{
public
:
public
:
NCVTestProvider
(
std
::
string
testName
)
NCVTestProvider
(
std
::
string
testName
_
)
:
:
testName
(
testName
)
testName
(
testName
_
)
{
{
int
devId
;
int
devId
;
ncvAssertPrintReturn
(
cudaSuccess
==
cudaGetDevice
(
&
devId
),
"Error returned from cudaGetDevice"
,
);
ncvAssertPrintReturn
(
cudaSuccess
==
cudaGetDevice
(
&
devId
),
"Error returned from cudaGetDevice"
,
);
...
...
modules/gpu/test/nvidia/TestCompact.cpp
View file @
f33d9022
...
@@ -12,14 +12,14 @@
...
@@ -12,14 +12,14 @@
#include "TestCompact.h"
#include "TestCompact.h"
TestCompact
::
TestCompact
(
std
::
string
testName
,
NCVTestSourceProvider
<
Ncv32u
>
&
src
,
TestCompact
::
TestCompact
(
std
::
string
testName
_
,
NCVTestSourceProvider
<
Ncv32u
>
&
src_
,
Ncv32u
length
,
Ncv32u
badElem
,
Ncv32u
badElemPercentage
)
Ncv32u
length
_
,
Ncv32u
badElem_
,
Ncv32u
badElemPercentage_
)
:
:
NCVTestProvider
(
testName
),
NCVTestProvider
(
testName
_
),
src
(
src
),
src
(
src
_
),
length
(
length
),
length
(
length
_
),
badElem
(
badElem
),
badElem
(
badElem
_
),
badElemPercentage
(
badElemPercentage
>
100
?
100
:
badElemPercentage
)
badElemPercentage
(
badElemPercentage
_
>
100
?
100
:
badElemPercentage_
)
{
{
}
}
...
...
modules/gpu/test/nvidia/TestDrawRects.cpp
View file @
f33d9022
...
@@ -14,16 +14,17 @@
...
@@ -14,16 +14,17 @@
template
<
class
T
>
template
<
class
T
>
TestDrawRects
<
T
>::
TestDrawRects
(
std
::
string
testName
,
NCVTestSourceProvider
<
T
>
&
src
,
NCVTestSourceProvider
<
Ncv32u
>
&
src32u
,
TestDrawRects
<
T
>::
TestDrawRects
(
std
::
string
testName_
,
NCVTestSourceProvider
<
T
>
&
src_
,
Ncv32u
width
,
Ncv32u
height
,
Ncv32u
numRects
,
T
color
)
NCVTestSourceProvider
<
Ncv32u
>
&
src32u_
,
Ncv32u
width_
,
Ncv32u
height_
,
Ncv32u
numRects_
,
T
color_
)
:
:
NCVTestProvider
(
testName
),
NCVTestProvider
(
testName
_
),
src
(
src
),
src
(
src
_
),
src32u
(
src32u
),
src32u
(
src32u
_
),
width
(
width
),
width
(
width
_
),
height
(
height
),
height
(
height
_
),
numRects
(
numRects
),
numRects
(
numRects
_
),
color
(
color
)
color
(
color
_
)
{
{
}
}
...
...
modules/gpu/test/nvidia/TestHaarCascadeApplication.cpp
View file @
f33d9022
...
@@ -19,14 +19,14 @@
...
@@ -19,14 +19,14 @@
#include "NCVHaarObjectDetection.hpp"
#include "NCVHaarObjectDetection.hpp"
TestHaarCascadeApplication
::
TestHaarCascadeApplication
(
std
::
string
testName
,
NCVTestSourceProvider
<
Ncv8u
>
&
src
,
TestHaarCascadeApplication
::
TestHaarCascadeApplication
(
std
::
string
testName
_
,
NCVTestSourceProvider
<
Ncv8u
>
&
src_
,
std
::
string
cascadeName
,
Ncv32u
width
,
Ncv32u
height
)
std
::
string
cascadeName
_
,
Ncv32u
width_
,
Ncv32u
height_
)
:
:
NCVTestProvider
(
testName
),
NCVTestProvider
(
testName
_
),
src
(
src
),
src
(
src
_
),
cascadeName
(
cascadeName
),
cascadeName
(
cascadeName
_
),
width
(
width
),
width
(
width
_
),
height
(
height
)
height
(
height
_
)
{
{
}
}
...
...
modules/gpu/test/nvidia/TestHaarCascadeLoader.cpp
View file @
f33d9022
...
@@ -13,10 +13,10 @@
...
@@ -13,10 +13,10 @@
#include "NCVHaarObjectDetection.hpp"
#include "NCVHaarObjectDetection.hpp"
TestHaarCascadeLoader
::
TestHaarCascadeLoader
(
std
::
string
testName
,
std
::
string
cascadeName
)
TestHaarCascadeLoader
::
TestHaarCascadeLoader
(
std
::
string
testName
_
,
std
::
string
cascadeName_
)
:
:
NCVTestProvider
(
testName
),
NCVTestProvider
(
testName
_
),
cascadeName
(
cascadeName
)
cascadeName
(
cascadeName
_
)
{
{
}
}
...
...
modules/gpu/test/nvidia/TestHypothesesGrow.cpp
View file @
f33d9022
...
@@ -13,19 +13,19 @@
...
@@ -13,19 +13,19 @@
#include "NCVHaarObjectDetection.hpp"
#include "NCVHaarObjectDetection.hpp"
TestHypothesesGrow
::
TestHypothesesGrow
(
std
::
string
testName
,
NCVTestSourceProvider
<
Ncv32u
>
&
src
,
TestHypothesesGrow
::
TestHypothesesGrow
(
std
::
string
testName
_
,
NCVTestSourceProvider
<
Ncv32u
>
&
src_
,
Ncv32u
rectWidth
,
Ncv32u
rectHeight
,
Ncv32f
rectScale
,
Ncv32u
rectWidth
_
,
Ncv32u
rectHeight_
,
Ncv32f
rectScale_
,
Ncv32u
maxLenSrc
,
Ncv32u
lenSrc
,
Ncv32u
maxLenDst
,
Ncv32u
lenDst
)
Ncv32u
maxLenSrc
_
,
Ncv32u
lenSrc_
,
Ncv32u
maxLenDst_
,
Ncv32u
lenDst_
)
:
:
NCVTestProvider
(
testName
),
NCVTestProvider
(
testName
_
),
src
(
src
),
src
(
src
_
),
rectWidth
(
rectWidth
),
rectWidth
(
rectWidth
_
),
rectHeight
(
rectHeight
),
rectHeight
(
rectHeight
_
),
rectScale
(
rectScale
),
rectScale
(
rectScale
_
),
maxLenSrc
(
maxLenSrc
),
maxLenSrc
(
maxLenSrc
_
),
lenSrc
(
lenSrc
),
lenSrc
(
lenSrc
_
),
maxLenDst
(
maxLenDst
),
maxLenDst
(
maxLenDst
_
),
lenDst
(
lenDst
)
lenDst
(
lenDst
_
)
{
{
}
}
...
...
modules/gpu/test/nvidia/TestIntegralImage.cpp
View file @
f33d9022
...
@@ -14,13 +14,13 @@
...
@@ -14,13 +14,13 @@
template
<
class
T_in
,
class
T_out
>
template
<
class
T_in
,
class
T_out
>
TestIntegralImage
<
T_in
,
T_out
>::
TestIntegralImage
(
std
::
string
testName
,
NCVTestSourceProvider
<
T_in
>
&
src
,
TestIntegralImage
<
T_in
,
T_out
>::
TestIntegralImage
(
std
::
string
testName
_
,
NCVTestSourceProvider
<
T_in
>
&
src_
,
Ncv32u
width
,
Ncv32u
height
)
Ncv32u
width
_
,
Ncv32u
height_
)
:
:
NCVTestProvider
(
testName
),
NCVTestProvider
(
testName
_
),
src
(
src
),
src
(
src
_
),
width
(
width
),
width
(
width
_
),
height
(
height
)
height
(
height
_
)
{
{
}
}
...
...
modules/gpu/test/nvidia/TestIntegralImageSquared.cpp
View file @
f33d9022
...
@@ -12,13 +12,13 @@
...
@@ -12,13 +12,13 @@
#include "TestIntegralImageSquared.h"
#include "TestIntegralImageSquared.h"
TestIntegralImageSquared
::
TestIntegralImageSquared
(
std
::
string
testName
,
NCVTestSourceProvider
<
Ncv8u
>
&
src
,
TestIntegralImageSquared
::
TestIntegralImageSquared
(
std
::
string
testName
_
,
NCVTestSourceProvider
<
Ncv8u
>
&
src_
,
Ncv32u
width
,
Ncv32u
height
)
Ncv32u
width
_
,
Ncv32u
height_
)
:
:
NCVTestProvider
(
testName
),
NCVTestProvider
(
testName
_
),
src
(
src
),
src
(
src
_
),
width
(
width
),
width
(
width
_
),
height
(
height
)
height
(
height
_
)
{
{
}
}
...
...
modules/gpu/test/nvidia/TestRectStdDev.cpp
View file @
f33d9022
...
@@ -14,17 +14,17 @@
...
@@ -14,17 +14,17 @@
#include "TestRectStdDev.h"
#include "TestRectStdDev.h"
TestRectStdDev
::
TestRectStdDev
(
std
::
string
testName
,
NCVTestSourceProvider
<
Ncv8u
>
&
src
,
TestRectStdDev
::
TestRectStdDev
(
std
::
string
testName
_
,
NCVTestSourceProvider
<
Ncv8u
>
&
src_
,
Ncv32u
width
,
Ncv32u
height
,
NcvRect32u
rect
,
Ncv32f
scaleFactor
,
Ncv32u
width
_
,
Ncv32u
height_
,
NcvRect32u
rect_
,
Ncv32f
scaleFactor_
,
NcvBool
bTextureCache
)
NcvBool
bTextureCache
_
)
:
:
NCVTestProvider
(
testName
),
NCVTestProvider
(
testName
_
),
src
(
src
),
src
(
src
_
),
width
(
width
),
width
(
width
_
),
height
(
height
),
height
(
height
_
),
rect
(
rect
),
rect
(
rect
_
),
scaleFactor
(
scaleFactor
),
scaleFactor
(
scaleFactor
_
),
bTextureCache
(
bTextureCache
)
bTextureCache
(
bTextureCache
_
)
{
{
}
}
...
...
modules/gpu/test/nvidia/TestTranspose.cpp
View file @
f33d9022
...
@@ -15,13 +15,13 @@
...
@@ -15,13 +15,13 @@
template
<
class
T
>
template
<
class
T
>
TestTranspose
<
T
>::
TestTranspose
(
std
::
string
testName
,
NCVTestSourceProvider
<
T
>
&
src
,
TestTranspose
<
T
>::
TestTranspose
(
std
::
string
testName
_
,
NCVTestSourceProvider
<
T
>
&
src_
,
Ncv32u
width
,
Ncv32u
height
)
Ncv32u
width
_
,
Ncv32u
height_
)
:
:
NCVTestProvider
(
testName
),
NCVTestProvider
(
testName
_
),
src
(
src
),
src
(
src
_
),
width
(
width
),
width
(
width
_
),
height
(
height
)
height
(
height
_
)
{
{
}
}
...
...
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