Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Fix cudacodec so that it can use streams other than the default#2999

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
alalek merged 2 commits intoopencv:masterfromcudawarped:fix_cudacodec_stream
Jul 9, 2021

Conversation

@cudawarped
Copy link
Contributor

@cudawarpedcudawarped commentedJul 8, 2021
edited by alalek
Loading

Currently if a CUDA stream is passed to
cv::cudacodec::nextFrame(GpuMat& frame, Stream &stream);
the mapping (cuvidMapVideoFrame) of a video frame to CUDA from the hardware decoder uses the default instead of the provided stream.

This tiny fix ensures the provided stream is passed tocuvidMapVideoFrame().

Pull Request Readiness Checklist

See details athttps://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 other license that is incompatible with OpenCV
  • The PR is proposed to proper branch
  • There is reference to 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
force_builders=Custombuildworker:Custom=linux-4,linux-6build_image:Custom=ubuntu-cuda:18.04

…d mapping (cuvidMapVideoFrame) of a video frame to cuda from the hardware decoder can use streams other than the default.
Copy link
Member

@alalekalalek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Thank you for contribution 👍

@alalekalalek merged commit2c5a777 intoopencv:masterJul 9, 2021
@alalekalalek mentioned this pull requestOct 15, 2021
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@alalekalalekalalek approved these changes

Assignees

@alalekalalek

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

2 participants

@cudawarped@alalek

[8]ページ先頭

©2009-2025 Movatter.jp