String used for %GST_GL_TEXTURE_TARGET_2D as a #GstBufferPool pool option
String used for %GST_GL_TEXTURE_TARGET_EXTERNAL_OES as a #GstBufferPool pool option
String used for %GST_GL_TEXTURE_TARGET_RECTANGLE as a #GstBufferPool pool option
Name of the caps feature indicating the use of GL buffers
Name of the caps feature for indicating the use of #GstGLMemory
GL Allocation flag indicating that the implementation should allocate the necessary resources.
GL allocation flag indicating the allocation of a GL buffer.
Values >= than #GST_GL_ALLOCATION_PARAMS_ALLOC_FLAG_USER can be used for user-defined purposes.
GL allocation flag indicating the allocation of 2D video frames
GL Allocation flag for using the provided GPU handle as storage.
GL Allocation flag for using the provided system memory data as storage.
The name for %GST_GL_API_GLES1 used in various places
The name for %GST_GL_API_GLES2 used in various places
The name for %GST_GL_API_OPENGL3 used in various places
The name for %GST_GL_API_OPENGL used in various places
The name of the GL buffer allocator
The name of the GL buffer allocator
The currently supported formats that can be converted
The currently supported #GstCaps that can be converted
The canonical name of a #GstStructure that contains a configuration for a #GstGLContext.
The name used in #GstContext queries for requesting a #GstGLDisplay
The name of the GL memory allocator
The name of the GL Memory PBO allocator
List of video formats that are supported by #GstGLMemory
The name of the GL renderbuffer allocator
String used for %GST_GL_TEXTURE_TARGET_2D in things like caps values
String used for %GST_GL_TEXTURE_TARGET_EXTERNAL_OES in things like caps values
String used for %GST_GL_TEXTURE_TARGET_RECTANGLE in things like caps values
Flag indicating that we should map the GL object instead of to system memory.
Combining #GST_MAP_GL with #GST_MAP_WRITE has the same semantics as though you are writing to OpenGL. Conversely, combining #GST_MAP_GL with #GST_MAP_READ has the same semantics as though you are reading from OpenGL.
Sets params
on config
a buffer pool config
a #GstGLAllocationParams
Initializes the GL Base Memory allocator. It is safe to call this function multiple times. This must be called before any other GstGLBaseMemory operation.
Initializes the GL Buffer allocator. It is safe to call this function multiple times. This must be called before any other #GstGLBuffer operation.
Perform the steps necessary for retrieving a #GstGLDisplay and (optionally) an application provided #GstGLContext from the surrounding elements or from the application using the #GstContext mechanism.
If the contents of display_ptr
or other_context_ptr
are not %NULL, then no
#GstContext query is necessary for #GstGLDisplay or #GstGLContext retrieval
or is performed.
This performs #GstContext queries (if necessary) for a winsys display connection with %GST_GL_DISPLAY_CONTEXT_TYPE, "gst.x11.display.handle", and "GstWaylandDisplayHandleContextType" stopping after the first successful retrieval.
This also performs a #GstContext query (if necessary) for an optional application provided #GstGLContext using the name "gst.gl.app_context". The returned #GstGLContext will be shared with a GStreamer created OpenGL context.
the #GstElement running the query
the resulting #GstGLDisplay
the resulting #GstGLContext
Retrieves the stored 4x4 affine transformation matrix stored in meta
in
NDC coordinates. if meta
is NULL, an identity matrix is returned.
NDC is a left-handed coordinate system
a #GstVideoAffineTransformationMeta
Retrieve the size in bytes of a video plane of data with a certain alignment
a #GstVideoInfo
a #GstVideoAlignment or %NULL
plane number in info
to retrieve the data size of
Initializes the GL Base Texture allocator. It is safe to call this function multiple times. This must be called before any other GstGLMemory operation.
Multiplies two 4x4 matrices, a
and b,
and stores the result, a
2-dimensional array of #gfloat, in result
.
a 2-dimensional 4x4 array of #gfloat
another 2-dimensional 4x4 array of #gfloat
Performs a GST_QUERY_CONTEXT query of type "gst.gl.local_context" on all
#GstPads in element
of direction
for the local OpenGL context used by
GStreamer elements.
a #GstElement to query from
the #GstPadDirection to query
location containing the current and/or resulting #GstGLContext
Initializes the GL Base Texture allocator. It is safe to call this function multiple times. This must be called before any other GstGLRenderbuffer operation.
Set the 4x4 affine transformation matrix stored in meta
from the
NDC coordinates in matrix
.
a #GstVideoAffineTransformationMeta
a 4x4 matrix
See gst_gl_value_set_texture_target_from_mask() for what entails a mask
an initialized #GValue of type G_TYPE_STRING
A mask is a bitwise OR of (1 << target) where target is a valid #GstGLTextureTarget
an uninitialized #GValue
a bitwise mask of #GstGLTextureTarget's
Note: this function first searches the first 1 kilobytes for a #version
preprocessor directive and then executes gst_glsl_version_profile_from_string().
string to search for a valid #version
string
Note: this function expects either a #version
GLSL preprocesser directive
or a valid GLSL version and/or profile.
a valid GLSL #version
string
An option that can be activated on bufferpools to request OpenGL synchronization metadata on buffers from the pool.