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
This community is designed for sharing of public information. Please do not share Intel or third-party confidential information here.
2935 Discussions

Is it available to use OGL renderbuffer or texture as input

rtfss1gmail_com
Beginner
171 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
171 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