You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is there a way to create a GpuMat or GpuMat<T> from an existing cuda device pointer? I can see the C++ GpuMat class has constructors for user provided pointers but these don't seem to be exposed in the two C# classes.
Use case for this is that once I map a Cuvid frame I get a device pointer and stride out and would like to wrap it in a GpuMat straight away instead of the extra copy I need to perform at the moment.
Thanks,
Aidan.
The text was updated successfully, but these errors were encountered:
Hello,
Is there a way to create a
GpuMat
orGpuMat<T>
from an existing cuda device pointer? I can see the C++ GpuMat class has constructors for user provided pointers but these don't seem to be exposed in the two C# classes.Use case for this is that once I map a Cuvid frame I get a device pointer and stride out and would like to wrap it in a GpuMat straight away instead of the extra copy I need to perform at the moment.
Thanks,
Aidan.
The text was updated successfully, but these errors were encountered: