[RFC v1 0/4] gstreamer-encoder: Use a dmabuf allocator if the drawable has a valid fd

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 <kraxel@xxxxxxxxxx>
Cc: Marc-André Lureau <marcandre.lureau@xxxxxxxxxx>
Cc: Dongwon Kim <dongwon.kim@xxxxxxxxx>

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




[Index of Archives]     [Linux Virtualization]     [Linux Virtualization]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]