Video IO perf tests guarded.

This commit is contained in:
Alexander Smorkalov
2013-01-28 13:14:47 +04:00
parent d8f749da52
commit 8c45b9d03d
4 changed files with 37 additions and 11 deletions

View File

@@ -1,12 +1,13 @@
#include "perf_precomp.hpp"
#if BUILD_WITH_VIDEO_INPUT_SUPPORT
using namespace std;
using namespace cv;
using namespace perf;
using std::tr1::make_tuple;
using std::tr1::get;
#ifndef ANDROID
typedef perf::TestBaseWithParam<String> VideoCapture_Reading;
@@ -26,4 +27,4 @@ PERF_TEST_P(VideoCapture_Reading, ReadFile, testing::Values( "highgui/video/big_
SANITY_CHECK(dummy);
}
#endif //ANDROID
#endif // BUILD_WITH_VIDEO_INPUT_SUPPORT