gapi_video_perf_tests.hpp 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. // This file is part of OpenCV project.
  2. // It is subject to the license terms in the LICENSE file found in the top-level directory
  3. // of this distribution and at http://opencv.org/license.html.
  4. //
  5. // Copyright (C) 2020 Intel Corporation
  6. #ifndef OPENCV_GAPI_VIDEO_PERF_TESTS_HPP
  7. #define OPENCV_GAPI_VIDEO_PERF_TESTS_HPP
  8. #include "../../test/common/gapi_video_tests_common.hpp"
  9. namespace opencv_test
  10. {
  11. using namespace perf;
  12. //------------------------------------------------------------------------------
  13. class BuildOptFlowPyramidPerfTest : public TestPerfParams<tuple<std::string,int,int,bool,int,int,
  14. bool,GCompileArgs>> {};
  15. class OptFlowLKPerfTest : public TestPerfParams<tuple<std::string,int,tuple<int,int>,int,
  16. cv::TermCriteria,cv::GCompileArgs>> {};
  17. class OptFlowLKForPyrPerfTest : public TestPerfParams<tuple<std::string,int,tuple<int,int>,int,
  18. cv::TermCriteria,bool,
  19. cv::GCompileArgs>> {};
  20. class BuildPyr_CalcOptFlow_PipelinePerfTest : public TestPerfParams<tuple<std::string,int,int,bool,
  21. cv::GCompileArgs>> {};
  22. class BackgroundSubtractorPerfTest:
  23. public TestPerfParams<tuple<cv::gapi::video::BackgroundSubtractorType, std::string,
  24. bool, double, std::size_t, cv::GCompileArgs, CompareMats>> {};
  25. class KalmanFilterControlPerfTest :
  26. public TestPerfParams<tuple<MatType2, int, int, size_t, bool, cv::GCompileArgs>> {};
  27. class KalmanFilterNoControlPerfTest :
  28. public TestPerfParams<tuple<MatType2, int, int, size_t, bool, cv::GCompileArgs>> {};
  29. } // opencv_test
  30. #endif // OPENCV_GAPI_VIDEO_PERF_TESTS_HPP