From f8983e8adf20d79c586ec72201a06d9e6012e40c Mon Sep 17 00:00:00 2001 From: Kirill Kornyakov Date: Fri, 21 Oct 2011 08:20:51 +0000 Subject: [PATCH] added small resolutions for perf tests --- modules/ts/include/opencv2/ts/ts_perf.hpp | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/modules/ts/include/opencv2/ts/ts_perf.hpp b/modules/ts/include/opencv2/ts/ts_perf.hpp index 7cddf1409c..edbf352577 100644 --- a/modules/ts/include/opencv2/ts/ts_perf.hpp +++ b/modules/ts/include/opencv2/ts/ts_perf.hpp @@ -37,12 +37,19 @@ const cv::Size szqHD = cv::Size(960, 540); const cv::Size sz720p = cv::Size(1280, 720); const cv::Size sz1080p = cv::Size(1920, 1080); -const cv::Size szODD = cv::Size(127, 61); const cv::Size sz2K = cv::Size(2048, 2048); +const cv::Size szODD = cv::Size(127, 61); + +const cv::Size szSmall24 = cv::Size(24, 24); +const cv::Size szSmall32 = cv::Size(32, 32); +const cv::Size szSmall64 = cv::Size(64, 64); +const cv::Size szSmall128 = cv::Size(128, 128); + #define SZ_ALL_VGA ::testing::Values(::perf::szQVGA, ::perf::szVGA, ::perf::szSVGA) #define SZ_ALL_GA ::testing::Values(::perf::szQVGA, ::perf::szVGA, ::perf::szSVGA, ::perf::szXGA, ::perf::szSXGA) #define SZ_ALL_HD ::testing::Values(::perf::sznHD, ::perf::szqHD, ::perf::sz720p, ::perf::sz1080p) +#define SZ_ALL_SMALL ::testing::Values(::perf::szSmall24, ::perf::szSmall32, ::perf::szSmall64, ::perf::szSmall128) #define SZ_ALL ::testing::Values(::perf::szQVGA, ::perf::szVGA, ::perf::szSVGA, ::perf::szXGA, ::perf::szSXGA, ::perf::sznHD, ::perf::szqHD, ::perf::sz720p, ::perf::sz1080p) #define SZ_TYPICAL ::testing::Values(::perf::szVGA, ::perf::szqHD, ::perf::sz720p, ::perf::szODD)