mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-18 07:47:17 +00:00
d3d11: Add/fix various annotations
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3194>
This commit is contained in:
parent
73557fe093
commit
b57c07d5a7
2 changed files with 6 additions and 6 deletions
|
@ -2884,7 +2884,7 @@ gst_d3d11_converter_setup_processor (GstD3D11Converter * self)
|
|||
* conversion path only for specified method(s) and set @method will be updated
|
||||
* with supported method.
|
||||
*
|
||||
* Returns: a #GstD3D11Converter or %NULL if conversion is not possible
|
||||
* Returns: (transfer full) (nullable): a #GstD3D11Converter or %NULL if conversion is not possible
|
||||
*
|
||||
* Since: 1.22
|
||||
*/
|
||||
|
|
|
@ -120,7 +120,7 @@ G_DEFINE_BOXED_TYPE_WITH_CODE (GstD3D11AllocationParams,
|
|||
* and #GstD3D11Allocator in order to allocate new ID3D11Texture2D
|
||||
* object with given configuration
|
||||
*
|
||||
* Returns: a #GstD3D11AllocationParams or %NULL if @info is not supported
|
||||
* Returns: (transfer full) (nullable): a #GstD3D11AllocationParams or %NULL if @info is not supported
|
||||
*
|
||||
* Since: 1.22
|
||||
*/
|
||||
|
@ -645,7 +645,7 @@ gst_d3d11_memory_init_once (void)
|
|||
* gst_d3d11_memory_get_resource_handle:
|
||||
* @mem: a #GstD3D11Memory
|
||||
*
|
||||
* Returns: (transfer none): a ID3D11Resource handle. Caller must not release
|
||||
* Returns: (transfer none) (nullable): a ID3D11Resource handle. Caller must not release
|
||||
* returned handle.
|
||||
*
|
||||
* Since: 1.22
|
||||
|
@ -1527,7 +1527,7 @@ gst_d3d11_allocator_alloc_internal (GstD3D11Allocator * self,
|
|||
* @device: (transfer none): a #GstD3D11Device
|
||||
* @desc: a D3D11_TEXTURE2D_DESC struct
|
||||
*
|
||||
* Returns: a newly allocated #GstD3D11Memory with given parameters.
|
||||
* Returns: (transfer full) (nullable): a newly allocated #GstD3D11Memory with given parameters.
|
||||
*
|
||||
* Since: 1.22
|
||||
*/
|
||||
|
@ -1565,7 +1565,7 @@ gst_d3d11_allocator_alloc (GstD3D11Allocator * allocator,
|
|||
* @device: (transfer none): a #GstD3D11Device
|
||||
* @desc: a D3D11_BUFFER_DESC struct
|
||||
*
|
||||
* Returns: a newly allocated #GstD3D11Memory with given parameters.
|
||||
* Returns: (transfer full) (nullable): a newly allocated #GstD3D11Memory with given parameters.
|
||||
*
|
||||
* Since: 1.22
|
||||
*/
|
||||
|
@ -1636,7 +1636,7 @@ gst_d3d11_allocator_alloc_buffer (GstD3D11Allocator * allocator,
|
|||
* Caller must not be confused that @size is CPU accessible size, not raw
|
||||
* texture size.
|
||||
*
|
||||
* Returns: a newly allocated #GstD3D11Memory with given @texture
|
||||
* Returns: (transfer full) (nullable): a newly allocated #GstD3D11Memory with given @texture
|
||||
* if successful, or %NULL if @texture is not a valid handle or configuration
|
||||
* is not supported.
|
||||
*
|
||||
|
|
Loading…
Reference in a new issue