[VDPAU] [RFC] Interface for VDPAU <-> DMABuf interop
Christian König
christian.koenig at amd.com
Tue Feb 23 08:19:00 UTC 2016
Am 23.02.2016 um 03:00 schrieb Rémi Denis-Courmont:
> Le 2016-02-22 13:21, Christian König a écrit :
>> the attached three patches are a proposal for VDPAU <-> DMABuf
>> interop to allow sharing video data between different APIs and even
>> different drivers.
>
> I am not sufficiently familiar with DMABUF picture formats to comment
> on the patch details but...
Well that's one of the open questions here. DMABUF actually doesn't
define picture formats, but just how to get the memory from driver A to B.
So I'm using the VDPAU picture formats as used in the existing
Get/PutBits functions.
>
> It feels a bit like putting the cart before the horse. Shouldn't there
> be an API to instantiate the VDPAU device with something more generic
> than an Xlib connection pointer first? (and the million dollars
> question: what should that something be?)
>
This extension is completely separate to running VDPAU without X. I'm
currently testing it with DRI prime and sharing decoded image data
between radeon and amdgpu.
Having an extension to created VDPAU contexts/devices from DRM driver
handles directly would be nice to have, but is indeed something
completely different.
Regards,
Christian.
More information about the VDPAU
mailing list