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
05b9c991
Commit
05b9c991
authored
Dec 27, 2013
by
Roman Donchenko
Committed by
OpenCV Buildbot
Dec 27, 2013
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #2083 from jet47:gpu_android_tests
parents
46be47cb
53494ba3
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
14 additions
and
10 deletions
+14
-10
perf_core.cpp
modules/gpu/perf/perf_core.cpp
+4
-0
perf_video.cpp
modules/gpu/perf/perf_video.cpp
+1
-1
test_color.cpp
modules/gpu/test/test_color.cpp
+4
-4
test_core.cpp
modules/gpu/test/test_core.cpp
+3
-3
test_gpumat.cpp
modules/gpu/test/test_gpumat.cpp
+1
-1
test_objdetect.cpp
modules/gpu/test/test_objdetect.cpp
+1
-1
No files found.
modules/gpu/perf/perf_core.cpp
View file @
05b9c991
...
@@ -1303,6 +1303,8 @@ PERF_TEST_P(Sz_3Depth, Core_AddWeighted,
...
@@ -1303,6 +1303,8 @@ PERF_TEST_P(Sz_3Depth, Core_AddWeighted,
//////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////
// GEMM
// GEMM
#ifdef HAVE_CUBLAS
CV_FLAGS
(
GemmFlags
,
0
,
GEMM_1_T
,
GEMM_2_T
,
GEMM_3_T
)
CV_FLAGS
(
GemmFlags
,
0
,
GEMM_1_T
,
GEMM_2_T
,
GEMM_3_T
)
#define ALL_GEMM_FLAGS Values(0, CV_GEMM_A_T, CV_GEMM_B_T, CV_GEMM_C_T, CV_GEMM_A_T | CV_GEMM_B_T, CV_GEMM_A_T | CV_GEMM_C_T, CV_GEMM_A_T | CV_GEMM_B_T | CV_GEMM_C_T)
#define ALL_GEMM_FLAGS Values(0, CV_GEMM_A_T, CV_GEMM_B_T, CV_GEMM_C_T, CV_GEMM_A_T | CV_GEMM_B_T, CV_GEMM_A_T | CV_GEMM_C_T, CV_GEMM_A_T | CV_GEMM_B_T | CV_GEMM_C_T)
...
@@ -1351,6 +1353,8 @@ PERF_TEST_P(Sz_Type_Flags, Core_GEMM,
...
@@ -1351,6 +1353,8 @@ PERF_TEST_P(Sz_Type_Flags, Core_GEMM,
}
}
}
}
#endif
//////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////
// Transpose
// Transpose
...
...
modules/gpu/perf/perf_video.cpp
View file @
05b9c991
...
@@ -500,7 +500,7 @@ PERF_TEST_P(ImagePair, Video_OpticalFlowBM,
...
@@ -500,7 +500,7 @@ PERF_TEST_P(ImagePair, Video_OpticalFlowBM,
}
}
}
}
PERF_TEST_P
(
ImagePair
,
Video_FastOpticalFlowBM
,
PERF_TEST_P
(
ImagePair
,
DISABLED_
Video_FastOpticalFlowBM
,
Values
<
pair_string
>
(
make_pair
(
"gpu/opticalflow/frame0.png"
,
"gpu/opticalflow/frame1.png"
)))
Values
<
pair_string
>
(
make_pair
(
"gpu/opticalflow/frame0.png"
,
"gpu/opticalflow/frame1.png"
)))
{
{
declare
.
time
(
400
);
declare
.
time
(
400
);
...
...
modules/gpu/test/test_color.cpp
View file @
05b9c991
...
@@ -715,7 +715,7 @@ GPU_TEST_P(CvtColor, BGR2YCrCb)
...
@@ -715,7 +715,7 @@ GPU_TEST_P(CvtColor, BGR2YCrCb)
cv
::
Mat
dst_gold
;
cv
::
Mat
dst_gold
;
cv
::
cvtColor
(
src
,
dst_gold
,
cv
::
COLOR_BGR2YCrCb
);
cv
::
cvtColor
(
src
,
dst_gold
,
cv
::
COLOR_BGR2YCrCb
);
EXPECT_MAT_NEAR
(
dst_gold
,
dst
,
1
e-5
);
EXPECT_MAT_NEAR
(
dst_gold
,
dst
,
1
.0
);
}
}
GPU_TEST_P
(
CvtColor
,
RGB2YCrCb
)
GPU_TEST_P
(
CvtColor
,
RGB2YCrCb
)
...
@@ -728,7 +728,7 @@ GPU_TEST_P(CvtColor, RGB2YCrCb)
...
@@ -728,7 +728,7 @@ GPU_TEST_P(CvtColor, RGB2YCrCb)
cv
::
Mat
dst_gold
;
cv
::
Mat
dst_gold
;
cv
::
cvtColor
(
src
,
dst_gold
,
cv
::
COLOR_RGB2YCrCb
);
cv
::
cvtColor
(
src
,
dst_gold
,
cv
::
COLOR_RGB2YCrCb
);
EXPECT_MAT_NEAR
(
dst_gold
,
dst
,
1
e-5
);
EXPECT_MAT_NEAR
(
dst_gold
,
dst
,
1
.0
);
}
}
GPU_TEST_P
(
CvtColor
,
BGR2YCrCb4
)
GPU_TEST_P
(
CvtColor
,
BGR2YCrCb4
)
...
@@ -749,7 +749,7 @@ GPU_TEST_P(CvtColor, BGR2YCrCb4)
...
@@ -749,7 +749,7 @@ GPU_TEST_P(CvtColor, BGR2YCrCb4)
cv
::
split
(
h_dst
,
channels
);
cv
::
split
(
h_dst
,
channels
);
cv
::
merge
(
channels
,
3
,
h_dst
);
cv
::
merge
(
channels
,
3
,
h_dst
);
EXPECT_MAT_NEAR
(
dst_gold
,
h_dst
,
1
e-5
);
EXPECT_MAT_NEAR
(
dst_gold
,
h_dst
,
1
.0
);
}
}
GPU_TEST_P
(
CvtColor
,
RGBA2YCrCb4
)
GPU_TEST_P
(
CvtColor
,
RGBA2YCrCb4
)
...
@@ -771,7 +771,7 @@ GPU_TEST_P(CvtColor, RGBA2YCrCb4)
...
@@ -771,7 +771,7 @@ GPU_TEST_P(CvtColor, RGBA2YCrCb4)
cv
::
split
(
h_dst
,
channels
);
cv
::
split
(
h_dst
,
channels
);
cv
::
merge
(
channels
,
3
,
h_dst
);
cv
::
merge
(
channels
,
3
,
h_dst
);
EXPECT_MAT_NEAR
(
dst_gold
,
h_dst
,
1
e-5
);
EXPECT_MAT_NEAR
(
dst_gold
,
h_dst
,
1
.0
);
}
}
GPU_TEST_P
(
CvtColor
,
YCrCb2BGR
)
GPU_TEST_P
(
CvtColor
,
YCrCb2BGR
)
...
...
modules/gpu/test/test_core.cpp
View file @
05b9c991
...
@@ -2353,7 +2353,7 @@ GPU_TEST_P(AddWeighted, Accuracy)
...
@@ -2353,7 +2353,7 @@ GPU_TEST_P(AddWeighted, Accuracy)
cv
::
Mat
dst_gold
;
cv
::
Mat
dst_gold
;
cv
::
addWeighted
(
src1
,
alpha
,
src2
,
beta
,
gamma
,
dst_gold
,
dst_depth
);
cv
::
addWeighted
(
src1
,
alpha
,
src2
,
beta
,
gamma
,
dst_gold
,
dst_depth
);
EXPECT_MAT_NEAR
(
dst_gold
,
dst
,
dst_depth
<
CV_32F
?
1
.0
:
1e-3
);
EXPECT_MAT_NEAR
(
dst_gold
,
dst
,
dst_depth
<
CV_32F
?
2
.0
:
1e-3
);
}
}
}
}
...
@@ -3582,7 +3582,7 @@ GPU_TEST_P(Normalize, WithOutMask)
...
@@ -3582,7 +3582,7 @@ GPU_TEST_P(Normalize, WithOutMask)
cv
::
Mat
dst_gold
;
cv
::
Mat
dst_gold
;
cv
::
normalize
(
src
,
dst_gold
,
alpha
,
beta
,
norm_type
,
type
);
cv
::
normalize
(
src
,
dst_gold
,
alpha
,
beta
,
norm_type
,
type
);
EXPECT_MAT_NEAR
(
dst_gold
,
dst
,
1
e-6
);
EXPECT_MAT_NEAR
(
dst_gold
,
dst
,
1
.0
);
}
}
GPU_TEST_P
(
Normalize
,
WithMask
)
GPU_TEST_P
(
Normalize
,
WithMask
)
...
@@ -3598,7 +3598,7 @@ GPU_TEST_P(Normalize, WithMask)
...
@@ -3598,7 +3598,7 @@ GPU_TEST_P(Normalize, WithMask)
dst_gold
.
setTo
(
cv
::
Scalar
::
all
(
0
));
dst_gold
.
setTo
(
cv
::
Scalar
::
all
(
0
));
cv
::
normalize
(
src
,
dst_gold
,
alpha
,
beta
,
norm_type
,
type
,
mask
);
cv
::
normalize
(
src
,
dst_gold
,
alpha
,
beta
,
norm_type
,
type
,
mask
);
EXPECT_MAT_NEAR
(
dst_gold
,
dst
,
1
e-6
);
EXPECT_MAT_NEAR
(
dst_gold
,
dst
,
1
.0
);
}
}
INSTANTIATE_TEST_CASE_P
(
GPU_Core
,
Normalize
,
testing
::
Combine
(
INSTANTIATE_TEST_CASE_P
(
GPU_Core
,
Normalize
,
testing
::
Combine
(
...
...
modules/gpu/test/test_gpumat.cpp
View file @
05b9c991
...
@@ -281,7 +281,7 @@ GPU_TEST_P(ConvertTo, WithOutScaling)
...
@@ -281,7 +281,7 @@ GPU_TEST_P(ConvertTo, WithOutScaling)
cv
::
Mat
dst_gold
;
cv
::
Mat
dst_gold
;
src
.
convertTo
(
dst_gold
,
depth2
);
src
.
convertTo
(
dst_gold
,
depth2
);
EXPECT_MAT_NEAR
(
dst_gold
,
dst
,
0
.0
);
EXPECT_MAT_NEAR
(
dst_gold
,
dst
,
1
.0
);
}
}
}
}
...
...
modules/gpu/test/test_objdetect.cpp
View file @
05b9c991
...
@@ -177,7 +177,7 @@ struct HOG : testing::TestWithParam<cv::gpu::DeviceInfo>, cv::gpu::HOGDescriptor
...
@@ -177,7 +177,7 @@ struct HOG : testing::TestWithParam<cv::gpu::DeviceInfo>, cv::gpu::HOGDescriptor
};
};
// desabled while resize does not fixed
// desabled while resize does not fixed
GPU_TEST_P
(
HOG
,
Detect
)
GPU_TEST_P
(
HOG
,
D
ISABLED_D
etect
)
{
{
cv
::
Mat
img_rgb
=
readImage
(
"hog/road.png"
);
cv
::
Mat
img_rgb
=
readImage
(
"hog/road.png"
);
ASSERT_FALSE
(
img_rgb
.
empty
());
ASSERT_FALSE
(
img_rgb
.
empty
());
...
...
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