gapi_render_perf_tests.hpp 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  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_RENDER_PERF_TESTS_HPP
  7. #define OPENCV_GAPI_RENDER_PERF_TESTS_HPP
  8. #include "../../test/common/gapi_tests_common.hpp"
  9. #include <opencv2/gapi/render/render.hpp>
  10. namespace opencv_test
  11. {
  12. using namespace perf;
  13. class RenderTestFTexts : public TestPerfParams<tuple<std::wstring, cv::Size, cv::Point,
  14. int, cv::Scalar, cv::GCompileArgs>> {};
  15. class RenderTestTexts : public TestPerfParams<tuple<std::string, cv::Size, cv::Point,
  16. int, cv::Scalar, int, int,
  17. bool, cv::GCompileArgs>> {};
  18. class RenderTestRects : public TestPerfParams<tuple<cv::Size, cv::Rect, cv::Scalar,
  19. int, int, int, cv::GCompileArgs>> {};
  20. class RenderTestCircles : public TestPerfParams<tuple<cv::Size, cv::Point, int,
  21. cv::Scalar, int, int, int,
  22. cv::GCompileArgs>> {};
  23. class RenderTestLines : public TestPerfParams<tuple<cv::Size, cv::Point, cv::Point,
  24. cv::Scalar, int, int, int,
  25. cv::GCompileArgs>> {};
  26. class RenderTestMosaics : public TestPerfParams<tuple<cv::Size, cv::Rect, int, int,
  27. cv::GCompileArgs>> {};
  28. class RenderTestImages : public TestPerfParams<tuple<cv::Size, cv::Rect, cv::Scalar, double,
  29. cv::GCompileArgs>> {};
  30. class RenderTestPolylines : public TestPerfParams<tuple<cv::Size, std::vector<cv::Point>,
  31. cv::Scalar, int, int, int,
  32. cv::GCompileArgs>> {};
  33. class RenderTestPolyItems : public TestPerfParams<tuple<cv::Size, int, int, int, cv::GCompileArgs>> {};
  34. }
  35. #endif //OPENCV_GAPI_RENDER_PERF_TESTS_HPP