projects
/
platform
/
upstream
/
opencv.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8f215af
)
Fixed a compile-time error
author
Alexey Spizhevoy
<no@email>
Thu, 16 Feb 2012 12:33:42 +0000
(12:33 +0000)
committer
Alexey Spizhevoy
<no@email>
Thu, 16 Feb 2012 12:33:42 +0000
(12:33 +0000)
modules/gpu/test/test_video.cpp
patch
|
blob
|
history
diff --git
a/modules/gpu/test/test_video.cpp
b/modules/gpu/test/test_video.cpp
index
9cda851
..
a63c4fd
100644
(file)
--- a/
modules/gpu/test/test_video.cpp
+++ b/
modules/gpu/test/test_video.cpp
@@
-422,12
+422,10
@@
TEST_P(PyrLKOpticalFlowSparse, Accuracy)
\r
INSTANTIATE_TEST_CASE_P(Video, PyrLKOpticalFlowSparse, Combine(ALL_DEVICES, Bool()));
\r
\r
-#endif // HAVE_CUDA
\r
-
\r
\r
PARAM_TEST_CASE(FarnebackOpticalFlowTest, cv::gpu::DeviceInfo, double, int, int, bool)
\r
{
\r
- Mat frame0, frame1;
\r
+
cv::
Mat frame0, frame1;
\r
\r
double pyrScale;
\r
int polyN;
\r
@@
-494,3
+492,5
@@
INSTANTIATE_TEST_CASE_P(Video, FarnebackOpticalFlowTest,
Values(5, 7),
\r
Values(0, (int)cv::OPTFLOW_FARNEBACK_GAUSSIAN),
\r
Values(false, true)));
\r
+
\r
+#endif // HAVE_CUDA
\r