[FFmpeg-devel] AMD Vega 56, UVD and OpenCL
Mikhail.Mironov at amd.com
Mon Dec 10 01:20:42 EET 2018
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.
> -----Original Message-----
> From: ffmpeg-devel <ffmpeg-devel-bounces at ffmpeg.org> On Behalf Of
> James Courtier-Dutton
> Sent: December 9, 2018 11:07 AM
> To: FFmpeg development discussions and patches <ffmpeg-
> devel at ffmpeg.org>
> Subject: Re: [FFmpeg-devel] AMD Vega 56, UVD and OpenCL
> On Sun, 9 Dec 2018 at 13:37, Mark Thompson <sw at jkqxz.net> wrote:
> > On 09/12/2018 01:22, James Courtier-Dutton wrote:
> > > Hi,
> > >
> > > I little off topic, but hopefully someone here might be able to help
> > > me
> > as
> > > it is video processing related.
> > >
> > > I wish to use UVD to send a video stream to the GPU, and then have
> > > OpenCL process the output video frames.
> > >
> > > Can anyone point me to example source code to achieve this in Linux.
> > AMD does not support any GPU-side OpenCL interop on Linux - you will
> > need to copy using the CPU.
> Just to clarify.
> Does the hardware (Vega 56) support it?
> Is it just that the Linux drivers do not have that functionality yet?
> Kind Regards
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
More information about the ffmpeg-devel