GNOME Bugzilla – Bug 743849
plugins: add support for EGLImage memory outputs
Last modified: 2018-11-03 15:46:16 UTC
Add support for video/x-raw(memory:EGLImage) outputs from vaapidecode or vaapipostproc so that simple downstream elements could directly provide a bufferpool of EGLImage, or absorb EGLImage from VA decoders or video processors.
Just to let you know I have started it though I cannot continue because it requires that the backend provides vaCreateSurface2 (http://cgit.freedesktop.org/libva/tree/va/va.c#n864). And libva's vdpau-driver does not provide it. Note that I have a nvidia card. Or someone needs to implement vaCreateSurface2 in va state tracker in gallium: http://cgit.freedesktop.org/mesa/mesa/tree/src/gallium/state_trackers/va/context.c#n39 but first the decoding needs to be fixed: https://bugs.freedesktop.org/show_bug.cgi?id=89969
This might be interesting: gl: implement GstGLMemoryEGL (bug #760916)
(In reply to Julien Isorce from comment #1) > Just to let you know I have started it though I cannot continue because it > requires that the backend provides vaCreateSurface2 > someone needs to implement vaCreateSurface2 in va state tracker in > gallium: > http://cgit.freedesktop.org/mesa/mesa/tree/src/gallium/state_trackers/va/ > context.c#n39 This is not implemented and merged in Mesa. > but first the decoding needs to be fixed: > https://bugs.freedesktop.org/show_bug.cgi?id=89969 This is now fixed and merged in Mesa. (In reply to Víctor Manuel Jáquez Leal from comment #2) > This might be interesting: > > gl: implement GstGLMemoryEGL (bug #760916) Yep it will be useful. I have no plan to continue on this issue for now. Since in the end I used vaAcquireBufferHandle -> eglimage /dmabuf for my needs. But still this feature would be great.
Moving to Product:GStreamer, Component:gstreamer-vaapi
-- GitLab Migration Automatic Message -- This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/issues/25.