After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 743849 - plugins: add support for EGLImage memory outputs
plugins: add support for EGLImage memory outputs
Status: RESOLVED OBSOLETE
Product: GStreamer
Classification: Platform
Component: gstreamer-vaapi
unspecified
Other Linux
: Normal enhancement
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks: 736713 758397
 
 
Reported: 2015-02-02 12:19 UTC by Gwenole Beauchesne
Modified: 2018-11-03 15:46 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Gwenole Beauchesne 2015-02-02 12:19:04 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.
Comment 1 Julien Isorce 2015-04-10 10:42:53 UTC
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
Comment 2 Víctor Manuel Jáquez Leal 2016-02-05 15:34:56 UTC
This might be interesting:

gl: implement GstGLMemoryEGL (bug #760916)
Comment 3 Julien Isorce 2016-02-05 17:54:59 UTC
(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.
Comment 4 sreerenj 2016-03-24 16:53:44 UTC
Moving to Product:GStreamer, Component:gstreamer-vaapi
Comment 5 GStreamer system administrator 2018-11-03 15:46:16 UTC
-- 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.