Skip to content

feat: add cuda_Stream and cuda_GpuMat to simple types mapping#24029

Merged
asmorkalov merged 2 commits intoopencv:4.xfrom
VadimLevin:dev/vlevin/python-add-cuda-stream-to-simple-types
Jul 21, 2023
Merged

feat: add cuda_Stream and cuda_GpuMat to simple types mapping#24029
asmorkalov merged 2 commits intoopencv:4.xfrom
VadimLevin:dev/vlevin/python-add-cuda-stream-to-simple-types

Conversation

@VadimLevin
Copy link
Copy Markdown
Contributor

This patch fixes usage of cuda::Stream in function arguments.

Affected modules: cudacodec:
using namespace cuda in public cudacodec.hpp header can be removed after merge of the patch.

Pull Request Readiness Checklist

See details at https://github.com/opencv/opencv/wiki/How_to_contribute#making-a-good-pull-request

  • I agree to contribute to the project under Apache 2 License.
  • 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
  • The PR is proposed to the proper branch
  • There is a reference to the original bug report and related work
  • There is accuracy test, performance test and test data in opencv_extra repository, if applicable
    Patch to opencv_extra has the same branch name.
  • The feature is well documented and sample code can be built with the project CMake

@asmorkalov asmorkalov self-requested a review July 21, 2023 06:13
@VadimLevin VadimLevin changed the title feat: add cuda_Stream to simple types mapping feat: add cuda_Stream and cuda_GpuMat to simple types mapping Jul 21, 2023
@asmorkalov asmorkalov merged commit 2fc7d21 into opencv:4.x Jul 21, 2023
@asmorkalov
Copy link
Copy Markdown
Contributor

Related fix in contrib: opencv/opencv_contrib#3534

@asmorkalov
Copy link
Copy Markdown
Contributor

Tested manually with Ubuntu 18.04 CUDA 10.2 and Python 3.6.

@asmorkalov asmorkalov mentioned this pull request Jul 27, 2023
thewoz pushed a commit to thewoz/opencv that referenced this pull request Jan 4, 2024
…-cuda-stream-to-simple-types

feat: add cuda_Stream and cuda_GpuMat to simple types mapping opencv#24029

This patch fixes usage of `cuda::Stream` in function arguments.

Affected modules: `cudacodec`: 
[`using namespace cuda`](https://github.com/opencv/opencv_contrib/blob/9dfe233020f669f17021dfc456fe77531e776b74/modules/cudacodec/include/opencv2/cudacodec.hpp#L62)  in public `cudacodec.hpp` header can be removed after merge of the patch.

### 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
- [x] There is a reference to the original bug report and related work
- [ ] 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
thewoz pushed a commit to thewoz/opencv that referenced this pull request May 29, 2024
…-cuda-stream-to-simple-types

feat: add cuda_Stream and cuda_GpuMat to simple types mapping opencv#24029

This patch fixes usage of `cuda::Stream` in function arguments.

Affected modules: `cudacodec`: 
[`using namespace cuda`](https://github.com/opencv/opencv_contrib/blob/9dfe233020f669f17021dfc456fe77531e776b74/modules/cudacodec/include/opencv2/cudacodec.hpp#L62)  in public `cudacodec.hpp` header can be removed after merge of the patch.

### 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
- [x] There is a reference to the original bug report and related work
- [ ] 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants