[Bug 783521] gl: Add "direct" dmabuf uploader

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Wed Jun 7 17:10:00 UTC 2017


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

--- Comment #2 from Carlos Rafael Giani <dv at pseudoterminal.org> ---
Created attachment 353351
  --> https://bugzilla.gnome.org/attachment.cgi?id=353351&action=edit
0002 add new gst_egl_image_from_dmabuf variant

For direct uploading, it is necessary to set up the EGLImage to use all planes,
but the existing gst_egl_image_from_dmabuf() function is hardcoded to create
one EGLImage per plane. Therefore, a new variant is needed,
gst_egl_image_from_dmabuf_direct(). To keep consistency in the names, the
existing gst_egl_image_from_dmabuf() is renamed to
gst_egl_image_from_dmabuf_as_rgba_plane().

Note that there is one TODO in the code. It is unclear whether to pass RGB or
RGBA to gst_egl_image_new_wrapped(). Both seem to work, but perhaps one of them
is more efficient/more compatible with more GPUs?

-- 
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