1 #include "perf_precomp.hpp"
3 #if BUILD_WITH_VIDEO_INPUT_SUPPORT
8 using std::tr1::make_tuple;
12 typedef perf::TestBaseWithParam<String> VideoCapture_Reading;
14 PERF_TEST_P(VideoCapture_Reading, ReadFile, testing::Values( "highgui/video/big_buck_bunny.avi",
15 "highgui/video/big_buck_bunny.mov",
16 "highgui/video/big_buck_bunny.mp4",
17 "highgui/video/big_buck_bunny.mpg",
18 "highgui/video/big_buck_bunny.wmv" ) )
20 string filename = getDataPath(GetParam());
24 TEST_CYCLE() cap.open(filename);
26 bool dummy = cap.isOpened();
30 #endif // BUILD_WITH_VIDEO_INPUT_SUPPORT