Media (Intel® Video Processing Library, Intel Media SDK)
Access community support with transcoding, decoding, and encoding in applications using media tools like Intel® oneAPI Video Processing Library and Intel® Media SDK
Announcements
The Intel Media SDK project is no longer active. For continued support and access to new features, Intel Media SDK users are encouraged to read the transition guide on upgrading from Intel® Media SDK to Intel® Video Processing Library (VPL), and to move to VPL as soon as possible.
For more information, see the VPL website.

How to consume ID3D11Texture2D NV12 into DPC++ ?

Rob45_
Beginner
653 Views

When using the OneVPL video decoder in Windows it creates an ID3D11Texture2D NV12, how can we use this in DPC++ ?

 

I have looked into Level-zero with zeMemAllocDevice and ZE_STRUCTURE_TYPE_EXTERNAL_MEMORY_IMPORT_WIN32 / ZE_EXTERNAL_MEMORY_TYPE_FLAG_OPAQUE_WIN32 but that generates exceptions deep in igdgmm64.dll

And using the OpenCL backend, i think creating the context with CL_CONTEXT_D3D11_DEVICE_KHR is a problem.

 

D3D11_RESOURCE_MISC_SHARED_NTHANDLE & D3D11_RESOURCE_MISC_SHARED_KEYEDMUTEX are set that way it should be possible to share the data.

 

Or is it possible to use Unified Shared Memory with the already available ID3D11Texture2D ?

 

Best Regards,

Robert

0 Kudos
1 Reply
AlekhyaV_Intel
Moderator
596 Views

Hi,


Thank you for posting in Intel Communities. We could see that you are qualified for priority support and can open a support ticket in Online service center (https://supporttickets.intel.com/) for direct 1:1 support. As your issue would be addressed there, this thread will no longer be monitored by Intel.


Regards,

Alekhya


0 Kudos
Reply