Skip to content

Commit 7590813

Browse files
authored
Merge pull request opencv#26115 from savuor:rv/flip_ocl_dtypes
Added more data types to OCL flip() and rotate() perf tests opencv#26115 Connected PR with updated sanity data: opencv/opencv_extra#1206 ### Pull Request Readiness Checklist See details at https://github.com/opencv/opencv/wiki/How_to_contribute#making-a-good-pull-request - [x] I agree to contribute to the project under Apache 2 License. - [x] To the best of my knowledge, the proposed patch is not based on a code under GPL or another license that is incompatible with OpenCV - [x] The PR is proposed to the proper branch - [ ] There is a reference to the original bug report and related work - [x] There is accuracy test, performance test and test data in opencv_extra repository, if applicable Patch to opencv_extra has the same branch name. - [x] The feature is well documented and sample code can be built with the project CMake
1 parent 2a8d4c6 commit 7590813

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

modules/core/perf/opencl/perf_arithm.cpp

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -357,7 +357,8 @@ typedef TestBaseWithParam<FlipParams> FlipFixture;
357357

358358
OCL_PERF_TEST_P(FlipFixture, Flip,
359359
::testing::Combine(OCL_TEST_SIZES,
360-
OCL_TEST_TYPES, FlipType::all()))
360+
::testing::Values(CV_8UC1, CV_8UC3, CV_8UC4, CV_16UC1, CV_32FC1, CV_32FC4),
361+
FlipType::all()))
361362
{
362363
const FlipParams params = GetParam();
363364
const Size srcSize = get<0>(params);
@@ -387,7 +388,9 @@ typedef tuple<Size, MatType, RotateType> RotateParams;
387388
typedef TestBaseWithParam<RotateParams> RotateFixture;
388389

389390
OCL_PERF_TEST_P(RotateFixture, rotate,
390-
::testing::Combine(OCL_TEST_SIZES, OCL_TEST_TYPES, RotateType::all()))
391+
::testing::Combine(OCL_TEST_SIZES,
392+
::testing::Values(CV_8UC1, CV_8UC2, CV_8UC4, CV_32FC1, CV_32FC4),
393+
RotateType::all()))
391394
{
392395
const RotateParams params = GetParam();
393396
const Size srcSize = get<0>(params);

0 commit comments

Comments
 (0)