This patch series enables creation of Gst memory using a dmabuf fd
as the source. This ability is useful given that dmabuf is the
standard mechanism for sharing buffers between various drivers and
userspace in many Graphics and Media usecases. Currently, this is
only used/tested with Qemu and remote-viewer using the x264enc/dec
codec to stream the Guest desktop but it can be extended to other
plugins and applications.

Cc: Gerd Hoffmann <kra...@redhat.com>
Cc: Marc-André Lureau <marcandre.lur...@redhat.com>
Cc: Dongwon Kim <dongwon....@intel.com>

Vivek Kasireddy (4):
  red-parse-qxl: Extract the dmabuf fd from the scanout
  display-channel: Add the asyncs associated with dmabuf encode
  gstreamer-encoder: Use a dmabuf allocator if the drawable has a valid
    fd
  video-stream: Force stream creation for a valid dmabuf fd

 meson.build                |  2 +-
 server/dcc-send.cpp        | 28 ++++++++++++++++++++++++
 server/display-channel.cpp |  9 ++++++++
 server/display-channel.h   |  2 ++
 server/gstreamer-encoder.c | 44 +++++++++++++++++++++++++++++++++++---
 server/red-parse-qxl.cpp   |  8 +++++++
 server/red-parse-qxl.h     |  1 +
 server/red-qxl.cpp         | 26 ++++++++++++++++++++++
 server/red-qxl.h           |  1 +
 server/spice-qxl.h         |  2 ++
 server/spice-server.syms   |  1 +
 server/video-encoder.h     |  7 ++++++
 server/video-stream.cpp    | 14 +++++++++---
 13 files changed, 138 insertions(+), 7 deletions(-)

-- 
2.37.2

Reply via email to