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.
3073 Discussions

Can I use OpenCL/OpenGL instead of D3D9/11 on Windows

Sai_E_
Beginner
730 Views

Hi all,

I looked at sample_multi_transcode. The GPU memory is managed using D3D9/D3D11.

Can I use OpenCL/OpenGL to manage memory?

I am not looking for any interop with DirectX - OpenCL/OpenGL.

Is there any sample/documentation which uses OpenCL/OpenGL?

--

Thanks

Sai

0 Kudos
2 Replies
Jiandong_Z_Intel
Employee
730 Views

Hi There,

MSDK sample sample_multi_transcode can do media functions (decode/vpp/encode), and OpenCL/OpenGL cannot do media codec, but OpenCL can do VPP.

sample_multi_transcode  can do  interop with OpenCL, you can refer it.

$ ./sample_multi_transcode_drm -hw -i::h264 test.h264 -o::h264 output.h264 -angle 180 -opencl

You also can refer the article: Media Server Studio with OpenCL

 

Thanks,

Zachary

0 Kudos
Sai_E_
Beginner
730 Views

Hi Zachary,

Thank you for the reply.

Can I do Encode/Decode using OpenCL?

I am not looking for any rendering using a D3D Texture. Was thinking of getting the decoded/encoded data directly onto an OpenCL memory, which can be copied back to the host memory for further processing.Felt that the OpenCL interop with DirectX was more in line for rendering purposes.

--

Thanks in Advance

Sai

0 Kudos
Reply