mirror of
https://github.com/opencv/opencv.git
synced 2024-11-28 21:20:18 +08:00
removed 2000x2000, 4000x4000 from test sizes of ocl::adaptiveBilateralFilter
This commit is contained in:
parent
e4dee5b372
commit
daedc6f454
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user