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 743847 - surface: add support for EGLImage imports
surface: add support for EGLImage imports
Status: RESOLVED FIXED
Product: gstreamer-vaapi
Classification: Other
Component: general
git master
Other Linux
: Normal normal
: ---
Assigned To: gstreamer-vaapi maintainer(s)
gstreamer-vaapi maintainer(s)
Depends on:
Blocks: 736713 743569
 
 
Reported: 2015-02-02 12:13 UTC by Gwenole Beauchesne
Modified: 2015-02-24 14:43 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Gwenole Beauchesne 2015-02-02 12:13:33 UTC
Add helpers to import EGLImage objects into VA surfaces. There are two operational modes: (i) gst_vaapi_surface_new_from_egl_image(), which allows for implicit conversion from EGLImage to a VA surface in native video format, and (ii) gst_vaapi_surface_new_with_egl_image(), which exactly wraps the source EGLImage.

Note: in case of (i), the EGLImage can be disposed right after the VA surface creation call, unlike in (ii) where the client application/library shall ensure that the EGLImage is live until the associated VA surface is no longer needed.
Comment 1 Gwenole Beauchesne 2015-02-24 14:43:10 UTC
commit a9fe79610a6b3529f60ba0392c31fefacb6d5f45
Author: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
Date:   Tue Dec 9 18:14:56 2014 +0100

    egl: allow for EGLImage imports into VA Surfaces.
    
    Add helpers to import EGLImage objects into VA surfaces. There are
    two operational modes: (i) gst_vaapi_surface_new_from_egl_image(),
    which allows for implicit conversion from EGLImage to a VA surface
    in native video format, and (ii) gst_vaapi_surface_new_with_egl_image(),
    which exactly wraps the source EGLImage, typically in RGBA format
    with linear storage.
    
    Note: in case of (i), the EGLImage can be disposed right after the
    VA surface creation call, unlike in (ii) where the user shall ensure
    that the EGLImage is live until the associated VA surface is no longer
    needed.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=743847