Media (Intel® oneAPI Video Processing Library, Intel Media SDK)
Access community support with transcoding, decoding, and encoding in applications using media tools from Intel. This includes Intel® oneAPI Video Processing Library and Intel® Media SDK.
Announcements
Welcome to the Intel Community. If you get an answer you like, please mark it as an Accepted Solution to help others. Thank you!
2904 Discussions

Is it available to use OGL renderbuffer or texture as input

rtfss1gmail_com
Beginner
84 Views
Similar to other question in thread is possible to use OGL texture directly as media sdk input buffer.. if not how it's possible to use that as input without host copies/transfers (remaining all in GPU mem).. I asked OpenCL forums if it's possible to create a OCL context with simultaneousOGL and D3D/DXVA interopas that would be a solution, not?
0 Kudos
1 Reply
Eric_S_Intel
Employee
84 Views

Hi,

No, Sorry the Media SDK cannot work directly on a OGL texture surface, the format of the surface would need to be in NV12. The Media SDK has a limited set of color conversions that can be done in HW (YU12, YUY2, RGB4) but you would need to convert the OGL texture to one of those inputs.

-Eric

Reply