| Top |
| GstEGLImage * | gst_egl_image_from_dmabuf () |
| EGLImageKHR | gst_egl_image_get_image () |
| GstVideoGLTextureOrientation | gst_egl_image_get_orientation () |
| GstEGLImage * | gst_egl_image_new_wrapped () |
| GstEGLImage * | gst_egl_image_ref () |
| void | gst_egl_image_unref () |
GstEGLImage represents and holds an EGLImage handle.
A GstEGLImage can be created from a dmabuf with gst_egl_image_from_dmabuf()
or GstGLMemoryEGL provides a GstAllocator to allocate EGLImage's bound to
and OpenGL texture.
GstEGLImage * gst_egl_image_from_dmabuf (GstGLContext *context,gint dmabuf,GstVideoInfo *in_info,gint plane,gsize offset);
context |
a GstGLContext (must be an EGL context) |
|
dmabuf |
the DMA-Buf file descriptor |
|
in_info |
the GstVideoInfo in |
|
plane |
the plane in |
|
offset |
the byte-offset in the data |
GstVideoGLTextureOrientation
gst_egl_image_get_orientation (GstEGLImage *image);
GstEGLImage * gst_egl_image_new_wrapped (GstGLContext *context,EGLImageKHR image,GstVideoGLTextureType type,GstVideoGLTextureOrientation orientation,gpointer user_data,GstEGLImageDestroyNotify user_data_destroy);
context |
a GstGLContext (must be an EGL context) |
|
image |
the image to wrap |
|
type |
the GstVideoGLTextureType |
|
orientation |
the GstVideoGLTextureOrientation |
|
user_data |
user data |
|
user_data_destroy |
called when |
GstEGLImage *
gst_egl_image_ref (GstEGLImage *image);
Increases the refcount of the given image by one.