Creates an EGL image that imports the dmabuf FD. The dmabuf data is passed as RGBA data. Shaders later take this "RGBA" data and convert it from its true format (described by in_info) to actual RGBA output. For example, with I420, three EGL images are created, one for each plane, each EGL image with a single-channel R format. With NV12, two EGL images are created, one with R format, one with RG format etc.
a #GstGLContext (must be an EGL context)
the DMA-Buf file descriptor
the #GstVideoInfo in dmabuf
the plane in in_info
to create and #GstEGLImage for
the byte-offset in the data
Creates an EGL image that imports the dmabuf FD. The dmabuf data is passed directly as the format described in in_info. This is useful if the hardware is capable of performing color space conversions internally. The appropriate DRM format is picked, and the EGL image is created with this DRM format.
Another notable difference to gst_egl_image_from_dmabuf() is that this function creates one EGL image for all planes, not one for a single plane.
a #GstGLContext (must be an EGL context)
Array of DMABuf file descriptors
Array of offsets, relative to the DMABuf
the #GstVideoInfo
Creates an EGL image that imports the dmabuf FD. The dmabuf data is passed directly as the format described in in_info. This is useful if the hardware is capable of performing color space conversions internally. The appropriate DRM format is picked, and the EGL image is created with this DRM format.
Another notable difference to gst_egl_image_from_dmabuf() is that this function creates one EGL image for all planes, not one for a single plane.
a #GstGLContext (must be an EGL context)
Array of DMABuf file descriptors
Array of offsets, relative to the DMABuf
the #GstVideoInfo
GL texture target this GstEGLImage is intended for
Initializes the GL Memory allocator. It is safe to call this function multiple times. This must be called before any other GstGLMemoryEGL operation.
The name of the GL Memory EGL allocator