Quantcast
Viewing all articles
Browse latest Browse all 1182

cl_intel_d3d11_nv12_media_sharing sample code

Hello,

I'm playing with MediaSDK and DirectX11 interop.

Since the MediaSDK decode output is NV12 format, the OpenCL program needs to access the shared texture2D YUV data in the same format.

I fount that Y data can be accessed easily by the OpenCL kernel but UV is not. It looks like the OpenCL limitation on the format caused the issue. I searched on web and found that there is Intel extension on this - cl_intel_d3d11_nv12_media_sharing. I checked in the device extension has it supported already.

Can genius of Intel provide some detail usage help or example code on this?

 

Thanks

Regards,

Simon


Viewing all articles
Browse latest Browse all 1182

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>