Top | ![]() |
![]() |
![]() |
![]() |
gboolean | gst_gl_format_is_supported () |
guint | gst_gl_format_type_n_bytes () |
GstGLFormat | gst_gl_format_from_video_info () |
guint | gst_gl_sized_gl_format_from_gl_format_type () |
GstGLTextureTarget | gst_gl_texture_target_from_string () |
const gchar * | gst_gl_texture_target_to_string () |
guint | gst_gl_texture_target_to_gl () |
GstGLTextureTarget | gst_gl_texture_target_from_gl () |
const gchar * | gst_gl_texture_target_to_buffer_pool_option () |
void | gst_gl_format_type_from_sized_gl_format () |
gboolean gst_gl_format_is_supported (GstGLContext *context
,GstGLFormat format
);
Whether format
is supported by context
based on the OpenGL API,
version, or available OpenGL extension/s.
Since: 1.16
guint gst_gl_format_type_n_bytes (guint format
,guint type
);
GstGLFormat gst_gl_format_from_video_info (GstGLContext *context
,GstVideoInfo *vinfo
,guint plane
);
guint gst_gl_sized_gl_format_from_gl_format_type (GstGLContext *context
,guint format
,guint type
);
GstGLTextureTarget
gst_gl_texture_target_from_string (const gchar *str
);
const gchar *
gst_gl_texture_target_to_string (GstGLTextureTarget target
);
const gchar *
gst_gl_texture_target_to_buffer_pool_option
(GstGLTextureTarget target
);
void gst_gl_format_type_from_sized_gl_format (GstGLFormat format
,GstGLFormat *unsized_format
,guint *gl_type
);
Get the unsized format and type from format
for usage in glReadPixels,
glTex{Sub}Image*, glTexImage* and similar functions.
format |
the sized internal GstGLFormat |
|
unsized_format |
location for the resulting unsized GstGLFormat. |
[out] |
gl_type |
location for the resulting GL type. |
[out] |
Since: 1.16
#define GST_GL_TEXTURE_TARGET_2D_STR "2D"
String used for GST_GL_TEXTURE_TARGET_2D
in things like caps values
#define GST_GL_TEXTURE_TARGET_RECTANGLE_STR "rectangle"
String used for GST_GL_TEXTURE_TARGET_RECTANGLE
in things like caps values
#define GST_GL_TEXTURE_TARGET_EXTERNAL_OES_STR "external-oes"
String used for GST_GL_TEXTURE_TARGET_EXTERNAL_OES
in things like caps values
#define GST_BUFFER_POOL_OPTION_GL_TEXTURE_TARGET_2D "GstBufferPoolOptionGLTextureTarget2D"
String used for GST_GL_TEXTURE_TARGET_2D
as a GstBufferPool pool option
#define GST_BUFFER_POOL_OPTION_GL_TEXTURE_TARGET_RECTANGLE "GstBufferPoolOptionGLTextureTargetRectangle"
String used for GST_GL_TEXTURE_TARGET_RECTANGLE
as a GstBufferPool pool option
#define GST_BUFFER_POOL_OPTION_GL_TEXTURE_TARGET_EXTERNAL_OES "GstBufferPoolOptionGLTextureTargetExternalOES"
String used for GST_GL_TEXTURE_TARGET_EXTERNAL_OES
as a GstBufferPool pool option
Single component replicated across R, G, and B textures components |
||
Single component stored in the A texture component |
||
Combination of GST_GL_LUMINANCE and GST_GL_ALPHA |
||
Single component stored in the R texture component |
||
Single 8-bit component stored in the R texture component |
||
Two components stored in the R and G texture components |
||
Two 8-bit components stored in the R and G texture components |
||
Three components stored in the R, G, and B texture components |
||
Three 8-bit components stored in the R, G, and B texture components |
||
Three components of bit depth 5, 6 and 5 stored in the R, G, and B texture components respectively. |
||
Three 16-bit components stored in the R, G, and B texture components |
||
Four components stored in the R, G, B, and A texture components respectively. |
||
Four 8-bit components stored in the R, G, B, and A texture components respectively. |
||
Four 16-bit components stored in the R, G, B, and A texture components respectively. |
||
A single 16-bit component for depth information. |
||
A 24-bit component for depth information and a 8-bit component for stencil informat. |