removed 2000x2000, 4000x4000 from test sizes of ocl::adaptiveBilateralFilter

This commit is contained in:
Ilya Lavrenov 2013-11-11 17:53:21 +04:00
parent e4dee5b372
commit daedc6f454

View File

@ -366,8 +366,7 @@ PERF_TEST_P(BilateralFixture, Bilateral,
typedef Size_MatType adaptiveBilateralFixture; typedef Size_MatType adaptiveBilateralFixture;
PERF_TEST_P(adaptiveBilateralFixture, adaptiveBilateral, PERF_TEST_P(adaptiveBilateralFixture, adaptiveBilateral,
::testing::Combine(OCL_TYPICAL_MAT_SIZES, ::testing::Combine(::testing::Values(OCL_SIZE_1000), OCL_PERF_ENUM(CV_8UC1, CV_8UC3)))
OCL_PERF_ENUM(CV_8UC1, CV_8UC3)))
{ {
const Size_MatType_t params = GetParam(); const Size_MatType_t params = GetParam();
const Size srcSize = get<0>(params); const Size srcSize = get<0>(params);
@ -378,11 +377,6 @@ PERF_TEST_P(adaptiveBilateralFixture, adaptiveBilateral,
Mat src(srcSize, type), dst(srcSize, type); Mat src(srcSize, type), dst(srcSize, type);
declare.in(src, WARMUP_RNG).out(dst); 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) if (RUN_OCL_IMPL)
{ {
ocl::oclMat oclSrc(src), oclDst(srcSize, type); ocl::oclMat oclSrc(src), oclDst(srcSize, type);