mirror of
https://github.com/opencv/opencv.git
synced 2024-11-27 20:50:25 +08:00
Merge pull request #26115 from savuor:rv/flip_ocl_dtypes
Added more data types to OCL flip() and rotate() perf tests #26115 Connected PR with updated sanity data: https://github.com/opencv/opencv_extra/pull/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
This commit is contained in:
parent
2a8d4c6025
commit
7590813b69
@ -357,7 +357,8 @@ typedef TestBaseWithParam<FlipParams> FlipFixture;
|
||||
|
||||
OCL_PERF_TEST_P(FlipFixture, Flip,
|
||||
::testing::Combine(OCL_TEST_SIZES,
|
||||
OCL_TEST_TYPES, FlipType::all()))
|
||||
::testing::Values(CV_8UC1, CV_8UC3, CV_8UC4, CV_16UC1, CV_32FC1, CV_32FC4),
|
||||
FlipType::all()))
|
||||
{
|
||||
const FlipParams params = GetParam();
|
||||
const Size srcSize = get<0>(params);
|
||||
@ -387,7 +388,9 @@ typedef tuple<Size, MatType, RotateType> RotateParams;
|
||||
typedef TestBaseWithParam<RotateParams> RotateFixture;
|
||||
|
||||
OCL_PERF_TEST_P(RotateFixture, rotate,
|
||||
::testing::Combine(OCL_TEST_SIZES, OCL_TEST_TYPES, RotateType::all()))
|
||||
::testing::Combine(OCL_TEST_SIZES,
|
||||
::testing::Values(CV_8UC1, CV_8UC2, CV_8UC4, CV_32FC1, CV_32FC4),
|
||||
RotateType::all()))
|
||||
{
|
||||
const RotateParams params = GetParam();
|
||||
const Size srcSize = get<0>(params);
|
||||
|
Loading…
Reference in New Issue
Block a user