Skip to content

Modified QcAllocator to store File Descriptor #3969

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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 16, 2025

Conversation

quic-apreetam
Copy link
Contributor

@quic-apreetam quic-apreetam commented Jul 14, 2025

Add support to store the file descriptor (fd) of the allocated memory in the userdata field of cv::UMatData
fcvHwMemAlloc API has been updated to support fd.

Updated Hash: opencv/opencv#27525
Updated libs PR opencv/opencv_3rdparty#101

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

@gursimarsingh
Copy link
Contributor

@quic-apreetam The name is still wrong. opencv/opencv_3rdparty#100 - branch name is 7thPost
and this branch has name apreetam_7thPost

@quic-apreetam
Copy link
Contributor Author

@quic-apreetam The name is still wrong. opencv/opencv_3rdparty#100 - branch name is 7thPost and this branch has name apreetam_7thPost

@gursimarsingh i thought the branch name of opencv repo should be same as opencv_contrib, let me update this one as well

@quic-apreetam
Copy link
Contributor Author

@quic-apreetam The name is still wrong. opencv/opencv_3rdparty#100 - branch name is 7thPost and this branch has name apreetam_7thPost

Updated libs PR opencv/opencv_3rdparty#101

@asmorkalov
Copy link
Contributor

Ok, you created the PR on behalf of the Codelinaro organization and out CI has not understood it.

@gursimarsingh
Copy link
Contributor

@asmorkalov @quic-apreetam I tested it locally on Qualcomm board by manually updating the libs. All perf and accuracy test are passing

@asmorkalov asmorkalov merged commit 735b7a0 into opencv:4.x Jul 16, 2025
38 of 49 checks passed
@asmorkalov asmorkalov self-assigned this Jul 16, 2025
@asmorkalov asmorkalov mentioned this pull request Jul 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants