[Bug 779146] dmabuf: be able to negotiate tiled surfaces

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Thu Sep 6 12:12:24 UTC 2018


https://bugzilla.gnome.org/show_bug.cgi?id=779146

--- Comment #55 from Víctor Manuel Jáquez Leal <vjaquez at igalia.com> ---
Let me update the current status on this matter, as far as I know:

After Scott's efforts, Mark jumped in and finally merged in libva a new API for
exporting DRM objects: vaExportSurfaceHandle()
https://github.com/intel/libva/pull/125

Here's a simple example of using that API:
http://ixia.jkqxz.net/~mrt/kms_va_nv12.c

There's an implementation for the intel-vaapi-driver:
https://github.com/intel/intel-vaapi-driver/pull/278

for AMD Mesa's state tracker
https://lists.freedesktop.org/archives/mesa-dev/2017-September/169953.html

and for media-driver (MSDK)
https://github.com/intel/media-driver/pull/177

We have to keep in mind that not all the drivers might implement it
(libva-v4l2-request? for example)

When I was trying to understand the issue, my first thought was to write a
vaapidownload element which would transform the memory:VASurface buffers into
dmabuf (and later perhaps others), but we would face the problem of
auto-connecting it, except to adding it into vaapodecodebin.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list