add usageFlags to UMat static factories#20295
add usageFlags to UMat static factories#20295opencv-pushbot merged 1 commit intoopencv:masterfrom diablodale:umat_factory_usageflags
Conversation
|
And it passed local unit tests... |
|
The ABI compatibility checker running under linux x64 failed. It is due to the 4 I googled and I did not find an OpenCV doc regarding the topic of ABI compatibility. Is there a doc? If not, would you share OpenCV's approach on this topic? (Might be good to put in Wiki) Technically, if ABI compatibility is desired while also having these 4 factory updates, I could create sibling APIs. It would double the number of factory APIs. I would simplify when possible, might have the old APIs call the newer wider APIs. Makes the codebase larger and more to maintain -- but that is the cost of maintaining ABI on these...if you want these updates. |
- add abi compatible overloads - add test case
updates the
UMatstatic factories to accept aUMatUsageFlagsparamUMatconstructorsUSAGE_DEFAULTmaking these changes backwards compatiblePull Request Readiness Checklist
See details at https://github.com/opencv/opencv/wiki/How_to_contribute#making-a-good-pull-request
Patch to opencv_extra has the same branch name.