mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-25 00:28:21 +00:00
gl: fix some GIR annotations
Mostly related to out and array parameters
This commit is contained in:
parent
30c97c5082
commit
3970a35fd6
4 changed files with 9 additions and 6 deletions
|
@ -465,7 +465,7 @@ gst_context_set_gl_display (GstContext * context, GstGLDisplay * display)
|
|||
/**
|
||||
* gst_context_get_gl_display:
|
||||
* @context: a #GstContext
|
||||
* @display: (transfer full): resulting #GstGLDisplay
|
||||
* @display: (out) (transfer full): resulting #GstGLDisplay
|
||||
*
|
||||
* Returns: Whether @display was in @context
|
||||
*
|
||||
|
|
|
@ -1425,8 +1425,10 @@ gst_gl_video_allocation_params_copy_data (GstGLVideoAllocationParams * src_vid,
|
|||
* @allocator: the @GstGLMemoryAllocator to allocate from
|
||||
* @buffer: a #GstBuffer to setup
|
||||
* @params: the #GstGLVideoAllocationParams to allocate with
|
||||
* @tex_formats: (allow-none): a list of #GstGLFormat's to allocate with.
|
||||
* @wrapped_data: a list of wrapped data pointers
|
||||
* @tex_formats: (allow-none) (array length=n_wrapped_pointers):
|
||||
* a list of #GstGLFormat's to allocate with.
|
||||
* @wrapped_data: (array length=n_wrapped_pointers) (element-type gpointer):
|
||||
* a list of wrapped data pointers
|
||||
* @n_wrapped_pointers: the number of elements in @tex_formats and @wrapped_data
|
||||
*
|
||||
* Returns: whether the buffer was correctly setup
|
||||
|
|
|
@ -195,7 +195,8 @@ _ensure_shader (GstGLSLStage * stage)
|
|||
* @version: the #GstGLSLVersion
|
||||
* @profile: the #GstGLSLProfile
|
||||
* @n_strings: the number of strings in @str
|
||||
* @str: an array of strings concatted together to produce a shader
|
||||
* @str: (array length=n_strings):
|
||||
* an array of strings concatted together to produce a shader
|
||||
*
|
||||
* Returns: (transfer floating): a new #GstGLSLStage of the specified @type
|
||||
*
|
||||
|
@ -304,7 +305,7 @@ gst_glsl_stage_new_default_fragment (GstGLContext * context)
|
|||
* @version: a #GstGLSLVersion
|
||||
* @profile: a #GstGLSLProfile
|
||||
* @n_strings: number of strings in @str
|
||||
* @str: (transfer none): a GLSL shader string
|
||||
* @str: (array length=n_strings) (transfer none): a GLSL shader string
|
||||
*
|
||||
* Replaces the current shader string with @str.
|
||||
*
|
||||
|
|
|
@ -1784,7 +1784,7 @@ _upload_find_method (GstGLUpload * upload)
|
|||
* gst_gl_upload_perform_with_buffer:
|
||||
* @upload: a #GstGLUpload
|
||||
* @buffer: input #GstBuffer
|
||||
* @outbuf_ptr: resulting #GstBuffer
|
||||
* @outbuf_ptr: (out): resulting #GstBuffer
|
||||
*
|
||||
* Uploads @buffer using the transformation specified by
|
||||
* gst_gl_upload_set_caps() creating a new #GstBuffer in @outbuf_ptr.
|
||||
|
|
Loading…
Reference in a new issue