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?
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
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