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
{
public
:
NCVAutoTestLister
(
std
::
string
testSuiteName
,
OutputLevel
outputLevel
=
OutputLevelCompact
,
NcvBool
bStopOnFirstFail
=
false
)
NCVAutoTestLister
(
std
::
string
testSuiteName
_
,
OutputLevel
outputLevel_
=
OutputLevelCompact
,
NcvBool
bStopOnFirstFail_
=
false
)
:
testSuiteName
(
testSuiteName
),
outputLevel
(
outputLevel
),
bStopOnFirstFail
(
bStopOnFirstFail
)
testSuiteName
(
testSuiteName
_
),
outputLevel
(
outputLevel
_
),
bStopOnFirstFail
(
bStopOnFirstFail
_
)
{
}
...
...
modules/gpu/test/nvidia/NCVTest.hpp
View file @
f33d9022
...
...
@@ -46,9 +46,9 @@ class NCVTestProvider : public INCVTest
{
public
:
NCVTestProvider
(
std
::
string
testName
)
NCVTestProvider
(
std
::
string
testName
_
)
:
testName
(
testName
)
testName
(
testName
_
)
{
int
devId
;
ncvAssertPrintReturn
(
cudaSuccess
==
cudaGetDevice
(
&
devId
),
"Error returned from cudaGetDevice"
,
);
...
...
modules/gpu/test/nvidia/TestCompact.cpp
View file @
f33d9022
...
...
@@ -12,14 +12,14 @@
#include "TestCompact.h"
TestCompact
::
TestCompact
(
std
::
string
testName
,
NCVTestSourceProvider
<
Ncv32u
>
&
src
,
Ncv32u
length
,
Ncv32u
badElem
,
Ncv32u
badElemPercentage
)
TestCompact
::
TestCompact
(
std
::
string
testName
_
,
NCVTestSourceProvider
<
Ncv32u
>
&
src_
,
Ncv32u
length
_
,
Ncv32u
badElem_
,
Ncv32u
badElemPercentage_
)
:
NCVTestProvider
(
testName
),
src
(
src
),
length
(
length
),
badElem
(
badElem
),
badElemPercentage
(
badElemPercentage
>
100
?
100
:
badElemPercentage
)
NCVTestProvider
(
testName
_
),
src
(
src
_
),
length
(
length
_
),
badElem
(
badElem
_
),
badElemPercentage
(
badElemPercentage
_
>
100
?
100
:
badElemPercentage_
)
{
}
...
...
modules/gpu/test/nvidia/TestDrawRects.cpp
View file @
f33d9022
...
...
@@ -14,16 +14,17 @@
template
<
class
T
>
TestDrawRects
<
T
>::
TestDrawRects
(
std
::
string
testName
,
NCVTestSourceProvider
<
T
>
&
src
,
NCVTestSourceProvider
<
Ncv32u
>
&
src32u
,
Ncv32u
width
,
Ncv32u
height
,
Ncv32u
numRects
,
T
color
)
TestDrawRects
<
T
>::
TestDrawRects
(
std
::
string
testName_
,
NCVTestSourceProvider
<
T
>
&
src_
,
NCVTestSourceProvider
<
Ncv32u
>
&
src32u_
,
Ncv32u
width_
,
Ncv32u
height_
,
Ncv32u
numRects_
,
T
color_
)
:
NCVTestProvider
(
testName
),
src
(
src
),
src32u
(
src32u
),
width
(
width
),
height
(
height
),
numRects
(
numRects
),
color
(
color
)
NCVTestProvider
(
testName
_
),
src
(
src
_
),
src32u
(
src32u
_
),
width
(
width
_
),
height
(
height
_
),
numRects
(
numRects
_
),
color
(
color
_
)
{
}
...
...
modules/gpu/test/nvidia/TestHaarCascadeApplication.cpp
View file @
f33d9022
...
...
@@ -19,14 +19,14 @@
#include "NCVHaarObjectDetection.hpp"
TestHaarCascadeApplication
::
TestHaarCascadeApplication
(
std
::
string
testName
,
NCVTestSourceProvider
<
Ncv8u
>
&
src
,
std
::
string
cascadeName
,
Ncv32u
width
,
Ncv32u
height
)
TestHaarCascadeApplication
::
TestHaarCascadeApplication
(
std
::
string
testName
_
,
NCVTestSourceProvider
<
Ncv8u
>
&
src_
,
std
::
string
cascadeName
_
,
Ncv32u
width_
,
Ncv32u
height_
)
:
NCVTestProvider
(
testName
),
src
(
src
),
cascadeName
(
cascadeName
),
width
(
width
),
height
(
height
)
NCVTestProvider
(
testName
_
),
src
(
src
_
),
cascadeName
(
cascadeName
_
),
width
(
width
_
),
height
(
height
_
)
{
}
...
...
modules/gpu/test/nvidia/TestHaarCascadeLoader.cpp
View file @
f33d9022
...
...
@@ -13,10 +13,10 @@
#include "NCVHaarObjectDetection.hpp"
TestHaarCascadeLoader
::
TestHaarCascadeLoader
(
std
::
string
testName
,
std
::
string
cascadeName
)
TestHaarCascadeLoader
::
TestHaarCascadeLoader
(
std
::
string
testName
_
,
std
::
string
cascadeName_
)
:
NCVTestProvider
(
testName
),
cascadeName
(
cascadeName
)
NCVTestProvider
(
testName
_
),
cascadeName
(
cascadeName
_
)
{
}
...
...
modules/gpu/test/nvidia/TestHypothesesGrow.cpp
View file @
f33d9022
...
...
@@ -13,19 +13,19 @@
#include "NCVHaarObjectDetection.hpp"
TestHypothesesGrow
::
TestHypothesesGrow
(
std
::
string
testName
,
NCVTestSourceProvider
<
Ncv32u
>
&
src
,
Ncv32u
rectWidth
,
Ncv32u
rectHeight
,
Ncv32f
rectScale
,
Ncv32u
maxLenSrc
,
Ncv32u
lenSrc
,
Ncv32u
maxLenDst
,
Ncv32u
lenDst
)
TestHypothesesGrow
::
TestHypothesesGrow
(
std
::
string
testName
_
,
NCVTestSourceProvider
<
Ncv32u
>
&
src_
,
Ncv32u
rectWidth
_
,
Ncv32u
rectHeight_
,
Ncv32f
rectScale_
,
Ncv32u
maxLenSrc
_
,
Ncv32u
lenSrc_
,
Ncv32u
maxLenDst_
,
Ncv32u
lenDst_
)
:
NCVTestProvider
(
testName
),
src
(
src
),
rectWidth
(
rectWidth
),
rectHeight
(
rectHeight
),
rectScale
(
rectScale
),
maxLenSrc
(
maxLenSrc
),
lenSrc
(
lenSrc
),
maxLenDst
(
maxLenDst
),
lenDst
(
lenDst
)
NCVTestProvider
(
testName
_
),
src
(
src
_
),
rectWidth
(
rectWidth
_
),
rectHeight
(
rectHeight
_
),
rectScale
(
rectScale
_
),
maxLenSrc
(
maxLenSrc
_
),
lenSrc
(
lenSrc
_
),
maxLenDst
(
maxLenDst
_
),
lenDst
(
lenDst
_
)
{
}
...
...
modules/gpu/test/nvidia/TestIntegralImage.cpp
View file @
f33d9022
...
...
@@ -14,13 +14,13 @@
template
<
class
T_in
,
class
T_out
>
TestIntegralImage
<
T_in
,
T_out
>::
TestIntegralImage
(
std
::
string
testName
,
NCVTestSourceProvider
<
T_in
>
&
src
,
Ncv32u
width
,
Ncv32u
height
)
TestIntegralImage
<
T_in
,
T_out
>::
TestIntegralImage
(
std
::
string
testName
_
,
NCVTestSourceProvider
<
T_in
>
&
src_
,
Ncv32u
width
_
,
Ncv32u
height_
)
:
NCVTestProvider
(
testName
),
src
(
src
),
width
(
width
),
height
(
height
)
NCVTestProvider
(
testName
_
),
src
(
src
_
),
width
(
width
_
),
height
(
height
_
)
{
}
...
...
modules/gpu/test/nvidia/TestIntegralImageSquared.cpp
View file @
f33d9022
...
...
@@ -12,13 +12,13 @@
#include "TestIntegralImageSquared.h"
TestIntegralImageSquared
::
TestIntegralImageSquared
(
std
::
string
testName
,
NCVTestSourceProvider
<
Ncv8u
>
&
src
,
Ncv32u
width
,
Ncv32u
height
)
TestIntegralImageSquared
::
TestIntegralImageSquared
(
std
::
string
testName
_
,
NCVTestSourceProvider
<
Ncv8u
>
&
src_
,
Ncv32u
width
_
,
Ncv32u
height_
)
:
NCVTestProvider
(
testName
),
src
(
src
),
width
(
width
),
height
(
height
)
NCVTestProvider
(
testName
_
),
src
(
src
_
),
width
(
width
_
),
height
(
height
_
)
{
}
...
...
modules/gpu/test/nvidia/TestRectStdDev.cpp
View file @
f33d9022
...
...
@@ -14,17 +14,17 @@
#include "TestRectStdDev.h"
TestRectStdDev
::
TestRectStdDev
(
std
::
string
testName
,
NCVTestSourceProvider
<
Ncv8u
>
&
src
,
Ncv32u
width
,
Ncv32u
height
,
NcvRect32u
rect
,
Ncv32f
scaleFactor
,
NcvBool
bTextureCache
)
TestRectStdDev
::
TestRectStdDev
(
std
::
string
testName
_
,
NCVTestSourceProvider
<
Ncv8u
>
&
src_
,
Ncv32u
width
_
,
Ncv32u
height_
,
NcvRect32u
rect_
,
Ncv32f
scaleFactor_
,
NcvBool
bTextureCache
_
)
:
NCVTestProvider
(
testName
),
src
(
src
),
width
(
width
),
height
(
height
),
rect
(
rect
),
scaleFactor
(
scaleFactor
),
bTextureCache
(
bTextureCache
)
NCVTestProvider
(
testName
_
),
src
(
src
_
),
width
(
width
_
),
height
(
height
_
),
rect
(
rect
_
),
scaleFactor
(
scaleFactor
_
),
bTextureCache
(
bTextureCache
_
)
{
}
...
...
modules/gpu/test/nvidia/TestTranspose.cpp
View file @
f33d9022
...
...
@@ -15,13 +15,13 @@
template
<
class
T
>
TestTranspose
<
T
>::
TestTranspose
(
std
::
string
testName
,
NCVTestSourceProvider
<
T
>
&
src
,
Ncv32u
width
,
Ncv32u
height
)
TestTranspose
<
T
>::
TestTranspose
(
std
::
string
testName
_
,
NCVTestSourceProvider
<
T
>
&
src_
,
Ncv32u
width
_
,
Ncv32u
height_
)
:
NCVTestProvider
(
testName
),
src
(
src
),
width
(
width
),
height
(
height
)
NCVTestProvider
(
testName
_
),
src
(
src
_
),
width
(
width
_
),
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