From: Vladislav Vinogradov Date: Wed, 23 May 2012 13:20:53 +0000 (+0000) Subject: minor fix of gpu perf tests X-Git-Tag: accepted/tizen/6.0/unified/20201030.111113~4887 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=77f22fe36672a667f204facbecb7138f572cf096;p=platform%2Fupstream%2Fopencv.git minor fix of gpu perf tests --- diff --git a/modules/gpu/perf_cpu/perf_imgproc.cpp b/modules/gpu/perf_cpu/perf_imgproc.cpp index 51bdf4c..64f5862 100644 --- a/modules/gpu/perf_cpu/perf_imgproc.cpp +++ b/modules/gpu/perf_cpu/perf_imgproc.cpp @@ -25,7 +25,7 @@ GPU_PERF_TEST(Remap, cv::gpu::DeviceInfo, cv::Size, MatType, Interpolation, Bord cv::remap(src, dst, xmap, ymap, interpolation, borderMode); - declare.time(3.0); + declare.time(20.0); TEST_CYCLE() { @@ -62,7 +62,7 @@ GPU_PERF_TEST(Resize, cv::gpu::DeviceInfo, cv::Size, MatType, Interpolation, Sca cv::resize(src, dst, cv::Size(), f, f, interpolation); - declare.time(1.0); + declare.time(20.0); TEST_CYCLE() { @@ -101,6 +101,8 @@ GPU_PERF_TEST(WarpAffine, cv::gpu::DeviceInfo, cv::Size, MatType, Interpolation, cv::warpAffine(src, dst, M, size, interpolation, borderMode); + declare.time(20.0); + TEST_CYCLE() { cv::warpAffine(src, dst, M, size, interpolation, borderMode); @@ -139,6 +141,8 @@ GPU_PERF_TEST(WarpPerspective, cv::gpu::DeviceInfo, cv::Size, MatType, Interpola cv::warpPerspective(src, dst, M, size, interpolation, borderMode); + declare.time(20.0); + TEST_CYCLE() { cv::warpPerspective(src, dst, M, size, interpolation, borderMode);