[858/906] glmem: update the docs
This commit is contained in:
parent
54923d1909
commit
148607f6da
@ -391,6 +391,16 @@ _gl_mem_free (GstAllocator * allocator, GstMemory * mem)
|
|||||||
g_slice_free (GstGLMemory, gl_mem);
|
g_slice_free (GstGLMemory, gl_mem);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* gst_gl_memory_copy_into_texture:
|
||||||
|
* @gl_mem:a #GstGLMemory
|
||||||
|
* @tex_id:OpenGL texture id
|
||||||
|
*
|
||||||
|
* Copies @gl_mem into the texture specfified by @tex_id. This assumes that
|
||||||
|
* @tex_id has the same dimensions as @gl_mem.
|
||||||
|
*
|
||||||
|
* Returns: Whether the copy suceeded
|
||||||
|
*/
|
||||||
gboolean
|
gboolean
|
||||||
gst_gl_memory_copy_into_texture (GstGLMemory * gl_mem, guint tex_id)
|
gst_gl_memory_copy_into_texture (GstGLMemory * gl_mem, guint tex_id)
|
||||||
{
|
{
|
||||||
|
@ -67,7 +67,7 @@ typedef enum
|
|||||||
/**
|
/**
|
||||||
* GstGLMemory:
|
* GstGLMemory:
|
||||||
* @mem: the parent object
|
* @mem: the parent object
|
||||||
* @display: the #GstGLDisplay to use for GL operations
|
* @context: the #GstGLContext to use for GL operations
|
||||||
* @tex_id: the texture id for this memory
|
* @tex_id: the texture id for this memory
|
||||||
* @v_format: the video format of this texture
|
* @v_format: the video format of this texture
|
||||||
* @gl_format: the format of the texture
|
* @gl_format: the format of the texture
|
||||||
@ -121,7 +121,7 @@ struct _GstGLMemory
|
|||||||
* @mem: a #GstGLMemory
|
* @mem: a #GstGLMemory
|
||||||
* @flag: a flag
|
* @flag: a flag
|
||||||
*
|
*
|
||||||
* Returns: Whether @flag is set on @mem
|
* Whether @flag is set on @mem
|
||||||
*/
|
*/
|
||||||
#define GST_GL_MEMORY_FLAG_IS_SET(mem,flag) GST_MEMORY_FLAG_IS_SET(mem,flag)
|
#define GST_GL_MEMORY_FLAG_IS_SET(mem,flag) GST_MEMORY_FLAG_IS_SET(mem,flag)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user