There are decoding samples and some other samples here: https://github.com/GPUOpen-LibrariesAndSDKs/AMF
There are no samples how to get Vulkan surfaces/images into OpenCL. These are public interops that you can use yourself at this point. Mikhail ________________________________ From: ffmpeg-devel <ffmpeg-devel-boun...@ffmpeg.org> on behalf of James Courtier-Dutton <james.dut...@gmail.com> Sent: Sunday, December 9, 2018 7:04:55 PM To: FFmpeg development discussions and patches Subject: Re: [FFmpeg-devel] AMD Vega 56, UVD and OpenCL On Sun, 9 Dec 2018 at 23:21, Mironov, Mikhail <mikhail.miro...@amd.com> wrote: > There is one potential way to do it: > Decode using AMF on Vulkan, then Vulkan has interop to OpenGL and OpenGL > has interop to OpenCL. > AMF on Vulkan on Linux was released (decoder and encoder). > To integrate it to FFmpeg we need FFmpeg AMF context committed. It is > waiting for Mark to commit for quite a while. AMF has wrapped - up interop > between OpenGL to OpenCL and we are working to add Vulkan to OpenGL, though > all these interop are public APIs. > > Mikhail > > Ok, I have found and installed "libamfrt64.so". Comes with amdgpu-pro. aptitude install amf-amdgpu-pro So, getting closer to a possible solution. Are their any example/sample C++ programs for Linux demonstrating how to use the API? I am interested in decoding H.264 on the GPU and getting the decoded frame into opencl. Kind Regards James _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel