removed 2000x2000, 4000x4000 from test sizes of ocl::adaptiveBilateralFilter
authorIlya Lavrenov <ilya.lavrenov@itseez.com>
Mon, 11 Nov 2013 13:53:21 +0000 (17:53 +0400)
committerIlya Lavrenov <ilya.lavrenov@itseez.com>
Mon, 11 Nov 2013 14:14:44 +0000 (18:14 +0400)
modules/ocl/perf/perf_filters.cpp

index b6dcd2a..ef0ea7b 100644 (file)
@@ -366,8 +366,7 @@ PERF_TEST_P(BilateralFixture, Bilateral,
 typedef Size_MatType adaptiveBilateralFixture;
 
 PERF_TEST_P(adaptiveBilateralFixture, adaptiveBilateral,
-            ::testing::Combine(OCL_TYPICAL_MAT_SIZES,
-                               OCL_PERF_ENUM(CV_8UC1, CV_8UC3)))
+            ::testing::Combine(::testing::Values(OCL_SIZE_1000), OCL_PERF_ENUM(CV_8UC1, CV_8UC3)))
 {
     const Size_MatType_t params = GetParam();
     const Size srcSize = get<0>(params);
@@ -378,11 +377,6 @@ PERF_TEST_P(adaptiveBilateralFixture, adaptiveBilateral,
     Mat src(srcSize, type), dst(srcSize, type);
     declare.in(src, WARMUP_RNG).out(dst);
 
-    if (srcSize == OCL_SIZE_4000)
-        declare.time(type == CV_8UC3 ? 46 : 28);
-    else if (srcSize == OCL_SIZE_2000)
-        declare.time(type == CV_8UC3 ? 11 : 7);
-
     if (RUN_OCL_IMPL)
     {
         ocl::oclMat oclSrc(src), oclDst(srcSize, type);