gir: Checkout all .gir files and check that they are updated on the CI

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3010>
This commit is contained in:
Thibault Saunier 2022-08-31 14:15:16 -04:00
parent d4a9106499
commit b14e675a27
64 changed files with 204087 additions and 25 deletions

View file

@ -750,12 +750,18 @@ valgrind ges:
- meson build/ $MESON_ARGS
- ccache --show-stats
- ninja -C build/ update_girs
# Ignore modifications to wrap files made by meson
- git checkout subprojects/*.wrap
- ./ci/scripts/check-diff.py "gir files"
- ./gst-env.py ninja -C build/ plugins_doc_caches
# Ignore modifications to wrap files made by meson
- git checkout subprojects/*.wrap
- ./ci/scripts/check-documentation-diff.py
- ./ci/scripts/check-diff.py
- ./gst-env.py ninja -C build subprojects/gst-docs/GStreamer-doc
- mv build/subprojects/gst-docs/GStreamer-doc/html documentation/
artifacts:
@ -763,7 +769,7 @@ valgrind ges:
expire_in: "7 days"
paths:
- documentation/
- plugins-cache-diffs/
- diffs/
#
# This jobs runs in gstreamer namespace when after the merge into main branch.

30
ci/scripts/check-diff.py Executable file
View file

@ -0,0 +1,30 @@
#!/usr/bin/python3
import os
import subprocess
import sys
import argparse
PARSER = argparse.ArgumentParser()
PARSER.add_argument('name', default="documentation cache", nargs="?")
if __name__ == "__main__":
opts = PARSER.parse_args()
print(opts)
diffsdir = 'diffs'
os.makedirs(diffsdir, exist_ok=True)
res = 0
try:
subprocess.check_call(['git', 'diff', '--quiet'])
except subprocess.CalledProcessError:
diffname = os.path.join(diffsdir, f"{opts.name.replace(' ', '_')}.diff")
res += 1
with open(diffname, 'w') as diff:
subprocess.check_call(['git', 'diff'], stdout=diff)
print(f'\033[91mYou have a diff in the {opts.name}. Please update with:\033[0m')
print(' $ curl %s/%s | git apply -' %
(os.environ.get('CI_ARTIFACTS_URL', "NOT_RUNNING_ON_CI"), diffname.replace('../', '')))
if res != 0:
print('(note that it might take a few minutes for artefacts to be available on the server)\n')
sys.exit(res)

View file

@ -1,20 +0,0 @@
#!/usr/bin/python3
import os, subprocess, sys
if __name__ == "__main__":
diffsdir = 'plugins-cache-diffs'
os.makedirs(diffsdir, exist_ok=True)
res = 0
try:
subprocess.check_call(['git', 'diff', '--quiet'] )
except subprocess.CalledProcessError:
diffname = os.path.join(diffsdir, 'plugins_cache.diff')
res += 1
with open(diffname, 'w') as diff:
subprocess.check_call(['git', 'diff'], stdout=diff)
print('\033[91mYou have a diff in the documentation cache. Please update with:\033[0m')
print(' $ curl %s/%s | git apply -' % (os.environ['CI_ARTIFACTS_URL'], diffname.replace('../', '')))
if res != 0:
print('(note that it might take a few minutes for artefacts to be available on the server)\n')
sys.exit(res)

345
girs/CudaGst-1.0.gir Normal file
View file

@ -0,0 +1,345 @@
<!-- This file was automatically generated from C sources - DO NOT EDIT!
To affect the contents of this file, edit the original C definitions,
and/or use gtk-doc annotations. -->
<repository xmlns="http://www.gtk.org/introspection/core/1.0" xmlns:c="http://www.gtk.org/introspection/c/1.0" xmlns:glib="http://www.gtk.org/introspection/glib/1.0" version="1.2">
<namespace name="CudaGst" version="1.0" shared-library="libgstcuda-1.0.so.0" c:identifier-prefixes="CU" c:symbol-prefixes="cu,cuda">
<alias name="array" c:type="CUarray">
<source-position filename="../subprojects/gst-plugins-bad/gst-libs/gst/cuda/stub/cuda.h"/>
<type name="gpointer" c:type="gpointer"/>
</alias>
<alias name="context" c:type="CUcontext">
<source-position filename="../subprojects/gst-plugins-bad/gst-libs/gst/cuda/stub/cuda.h"/>
<type name="gpointer" c:type="gpointer"/>
</alias>
<alias name="device" c:type="CUdevice">
<source-position filename="../subprojects/gst-plugins-bad/gst-libs/gst/cuda/stub/cuda.h"/>
<type name="gint" c:type="gint"/>
</alias>
<alias name="deviceptr" c:type="CUdeviceptr">
<source-position filename="../subprojects/gst-plugins-bad/gst-libs/gst/cuda/stub/cuda.h"/>
<type name="guintptr" c:type="guintptr"/>
</alias>
<alias name="function" c:type="CUfunction">
<source-position filename="../subprojects/gst-plugins-bad/gst-libs/gst/cuda/stub/cuda.h"/>
<type name="gpointer" c:type="gpointer"/>
</alias>
<alias name="graphicsResource" c:type="CUgraphicsResource">
<source-position filename="../subprojects/gst-plugins-bad/gst-libs/gst/cuda/stub/cuda.h"/>
<type name="gpointer" c:type="gpointer"/>
</alias>
<alias name="mipmappedArray" c:type="CUmipmappedArray">
<source-position filename="../subprojects/gst-plugins-bad/gst-libs/gst/cuda/stub/cuda.h"/>
<type name="gpointer" c:type="gpointer"/>
</alias>
<alias name="module" c:type="CUmodule">
<source-position filename="../subprojects/gst-plugins-bad/gst-libs/gst/cuda/stub/cuda.h"/>
<type name="gpointer" c:type="gpointer"/>
</alias>
<alias name="stream" c:type="CUstream">
<source-position filename="../subprojects/gst-plugins-bad/gst-libs/gst/cuda/stub/cuda.h"/>
<type name="gpointer" c:type="gpointer"/>
</alias>
<alias name="texObject" c:type="CUtexObject">
<source-position filename="../subprojects/gst-plugins-bad/gst-libs/gst/cuda/stub/cuda.h"/>
<type name="guint64" c:type="guint64"/>
</alias>
<record name="DA_MEMCPY2D" c:type="CUDA_MEMCPY2D">
<source-position filename="../subprojects/gst-plugins-bad/gst-libs/gst/cuda/stub/cuda.h"/>
<field name="srcXInBytes" writable="1">
<type name="gsize" c:type="gsize"/>
</field>
<field name="srcY" writable="1">
<type name="gsize" c:type="gsize"/>
</field>
<field name="srcMemoryType" writable="1">
<type name="memorytype" c:type="CUmemorytype"/>
</field>
<field name="srcHost" writable="1">
<type name="gpointer" c:type="gconstpointer"/>
</field>
<field name="srcDevice" writable="1">
<type name="deviceptr" c:type="CUdeviceptr"/>
</field>
<field name="srcArray" writable="1">
<type name="array" c:type="CUarray"/>
</field>
<field name="srcPitch" writable="1">
<type name="gsize" c:type="gsize"/>
</field>
<field name="dstXInBytes" writable="1">
<type name="gsize" c:type="gsize"/>
</field>
<field name="dstY" writable="1">
<type name="gsize" c:type="gsize"/>
</field>
<field name="dstMemoryType" writable="1">
<type name="memorytype" c:type="CUmemorytype"/>
</field>
<field name="dstHost" writable="1">
<type name="gpointer" c:type="gpointer"/>
</field>
<field name="dstDevice" writable="1">
<type name="deviceptr" c:type="CUdeviceptr"/>
</field>
<field name="dstArray" writable="1">
<type name="array" c:type="CUarray"/>
</field>
<field name="dstPitch" writable="1">
<type name="gsize" c:type="gsize"/>
</field>
<field name="WidthInBytes" writable="1">
<type name="gsize" c:type="gsize"/>
</field>
<field name="Height" writable="1">
<type name="gsize" c:type="gsize"/>
</field>
</record>
<record name="DA_RESOURCE_DESC" c:type="CUDA_RESOURCE_DESC">
<source-position filename="../subprojects/gst-plugins-bad/gst-libs/gst/cuda/stub/cuda.h"/>
<field name="resType" writable="1">
<type name="resourcetype" c:type="CUresourcetype"/>
</field>
<union name="res" c:type="res">
<source-position filename="../subprojects/gst-plugins-bad/gst-libs/gst/cuda/stub/cuda.h"/>
<record name="array" c:type="array">
<source-position filename="../subprojects/gst-plugins-bad/gst-libs/gst/cuda/stub/cuda.h"/>
<field name="hArray" writable="1">
<type name="array" c:type="CUarray"/>
</field>
</record>
<record name="mipmap" c:type="mipmap">
<source-position filename="../subprojects/gst-plugins-bad/gst-libs/gst/cuda/stub/cuda.h"/>
<field name="hMipmappedArray" writable="1">
<type name="mipmappedArray" c:type="CUmipmappedArray"/>
</field>
</record>
<record name="linear" c:type="linear">
<source-position filename="../subprojects/gst-plugins-bad/gst-libs/gst/cuda/stub/cuda.h"/>
<field name="devPtr" writable="1">
<type name="deviceptr" c:type="CUdeviceptr"/>
</field>
<field name="format" writable="1">
<type name="array_format" c:type="CUarray_format"/>
</field>
<field name="numChannels" writable="1">
<type name="guint" c:type="guint"/>
</field>
<field name="sizeInBytes" writable="1">
<type name="gsize" c:type="gsize"/>
</field>
</record>
<record name="pitch2D" c:type="pitch2D">
<source-position filename="../subprojects/gst-plugins-bad/gst-libs/gst/cuda/stub/cuda.h"/>
<field name="devPtr" writable="1">
<type name="deviceptr" c:type="CUdeviceptr"/>
</field>
<field name="format" writable="1">
<type name="array_format" c:type="CUarray_format"/>
</field>
<field name="numChannels" writable="1">
<type name="guint" c:type="guint"/>
</field>
<field name="width" writable="1">
<type name="gsize" c:type="gsize"/>
</field>
<field name="height" writable="1">
<type name="gsize" c:type="gsize"/>
</field>
<field name="pitchInBytes" writable="1">
<type name="gsize" c:type="gsize"/>
</field>
</record>
<record name="reserved" c:type="reserved">
<source-position filename="../subprojects/gst-plugins-bad/gst-libs/gst/cuda/stub/cuda.h"/>
<field name="reserved" writable="1">
<array zero-terminated="0" fixed-size="32">
<type name="gint" c:type="gint"/>
</array>
</field>
</record>
</union>
<field name="flags" writable="1">
<type name="guint" c:type="guint"/>
</field>
</record>
<record name="DA_RESOURCE_VIEW_DESC" c:type="CUDA_RESOURCE_VIEW_DESC">
<source-position filename="../subprojects/gst-plugins-bad/gst-libs/gst/cuda/stub/cuda.h"/>
<field name="format" writable="1">
<type name="resourceViewFormat" c:type="CUresourceViewFormat"/>
</field>
<field name="width" writable="1">
<type name="gsize" c:type="gsize"/>
</field>
<field name="height" writable="1">
<type name="gsize" c:type="gsize"/>
</field>
<field name="depth" writable="1">
<type name="gsize" c:type="gsize"/>
</field>
<field name="firstMipmapLevel" writable="1">
<type name="guint" c:type="guint"/>
</field>
<field name="lastMipmapLevel" writable="1">
<type name="guint" c:type="guint"/>
</field>
<field name="firstLayer" writable="1">
<type name="guint" c:type="guint"/>
</field>
<field name="lastLayer" writable="1">
<type name="guint" c:type="guint"/>
</field>
<field name="reserved" writable="1">
<array zero-terminated="0" fixed-size="16">
<type name="guint" c:type="guint"/>
</array>
</field>
</record>
<record name="DA_TEXTURE_DESC" c:type="CUDA_TEXTURE_DESC">
<source-position filename="../subprojects/gst-plugins-bad/gst-libs/gst/cuda/stub/cuda.h"/>
<field name="addressMode" writable="1">
<array zero-terminated="0" fixed-size="3">
<type name="address_mode" c:type="CUaddress_mode"/>
</array>
</field>
<field name="filterMode" writable="1">
<type name="filter_mode" c:type="CUfilter_mode"/>
</field>
<field name="flags" writable="1">
<type name="guint" c:type="guint"/>
</field>
<field name="maxAnisotropy" writable="1">
<type name="guint" c:type="guint"/>
</field>
<field name="mipmapFilterMode" writable="1">
<type name="filter_mode" c:type="CUfilter_mode"/>
</field>
<field name="mipmapLevelBias" writable="1">
<type name="gfloat" c:type="gfloat"/>
</field>
<field name="minMipmapLevelClamp" writable="1">
<type name="gfloat" c:type="gfloat"/>
</field>
<field name="maxMipmapLevelClamp" writable="1">
<type name="gfloat" c:type="gfloat"/>
</field>
<field name="borderColor" writable="1">
<array zero-terminated="0" fixed-size="4">
<type name="gfloat" c:type="gfloat"/>
</array>
</field>
<field name="reserved" writable="1">
<array zero-terminated="0" fixed-size="12">
<type name="gint" c:type="gint"/>
</array>
</field>
</record>
<enumeration name="GLDeviceList" c:type="CUGLDeviceList">
<source-position filename="../subprojects/gst-plugins-bad/gst-libs/gst/cuda/stub/cudaGL.h"/>
<member name="gl_device_list_all" value="1" c:identifier="CU_GL_DEVICE_LIST_ALL">
</member>
</enumeration>
<constant name="TRSF_READ_AS_INTEGER" value="1" c:type="CU_TRSF_READ_AS_INTEGER">
<source-position filename="../subprojects/gst-plugins-bad/gst-libs/gst/cuda/stub/cuda.h"/>
<type name="gint" c:type="gint"/>
</constant>
<constant name="VERSION" value="10000" c:type="CUDA_VERSION">
<source-position filename="../subprojects/gst-plugins-bad/gst-libs/gst/cuda/stub/cuda.h"/>
<type name="gint" c:type="gint"/>
</constant>
<enumeration name="address_mode" c:type="CUaddress_mode">
<source-position filename="../subprojects/gst-plugins-bad/gst-libs/gst/cuda/stub/cuda.h"/>
<member name="wrap" value="0" c:identifier="CU_TR_ADDRESS_MODE_WRAP">
</member>
<member name="clamp" value="1" c:identifier="CU_TR_ADDRESS_MODE_CLAMP">
</member>
<member name="mirror" value="2" c:identifier="CU_TR_ADDRESS_MODE_MIRROR">
</member>
<member name="border" value="3" c:identifier="CU_TR_ADDRESS_MODE_BORDER">
</member>
</enumeration>
<enumeration name="array_format" c:type="CUarray_format">
<source-position filename="../subprojects/gst-plugins-bad/gst-libs/gst/cuda/stub/cuda.h"/>
<member name="int8" value="1" c:identifier="CU_AD_FORMAT_UNSIGNED_INT8">
</member>
<member name="int16" value="2" c:identifier="CU_AD_FORMAT_UNSIGNED_INT16">
</member>
</enumeration>
<enumeration name="device_attribute" c:type="CUdevice_attribute">
<source-position filename="../subprojects/gst-plugins-bad/gst-libs/gst/cuda/stub/cuda.h"/>
<member name="texture_alignment" value="14" c:identifier="CU_DEVICE_ATTRIBUTE_TEXTURE_ALIGNMENT">
</member>
<member name="compute_capability_major" value="75" c:identifier="CU_DEVICE_ATTRIBUTE_COMPUTE_CAPABILITY_MAJOR">
</member>
<member name="compute_capability_minor" value="76" c:identifier="CU_DEVICE_ATTRIBUTE_COMPUTE_CAPABILITY_MINOR">
</member>
</enumeration>
<enumeration name="filter_mode" c:type="CUfilter_mode">
<source-position filename="../subprojects/gst-plugins-bad/gst-libs/gst/cuda/stub/cuda.h"/>
<member name="point" value="0" c:identifier="CU_TR_FILTER_MODE_POINT">
</member>
<member name="linear" value="1" c:identifier="CU_TR_FILTER_MODE_LINEAR">
</member>
</enumeration>
<enumeration name="graphicsMapResourceFlags" c:type="CUgraphicsMapResourceFlags">
<source-position filename="../subprojects/gst-plugins-bad/gst-libs/gst/cuda/stub/cuda.h"/>
<member name="none" value="0" c:identifier="CU_GRAPHICS_MAP_RESOURCE_FLAGS_NONE">
</member>
<member name="read_only" value="1" c:identifier="CU_GRAPHICS_MAP_RESOURCE_FLAGS_READ_ONLY">
</member>
<member name="write_discard" value="2" c:identifier="CU_GRAPHICS_MAP_RESOURCE_FLAGS_WRITE_DISCARD">
</member>
</enumeration>
<enumeration name="graphicsRegisterFlags" c:type="CUgraphicsRegisterFlags">
<source-position filename="../subprojects/gst-plugins-bad/gst-libs/gst/cuda/stub/cuda.h"/>
<member name="none" value="0" c:identifier="CU_GRAPHICS_REGISTER_FLAGS_NONE">
</member>
<member name="read_only" value="1" c:identifier="CU_GRAPHICS_REGISTER_FLAGS_READ_ONLY">
</member>
<member name="write_discard" value="2" c:identifier="CU_GRAPHICS_REGISTER_FLAGS_WRITE_DISCARD">
</member>
<member name="surface_load_store" value="4" c:identifier="CU_GRAPHICS_REGISTER_FLAGS_SURFACE_LOAD_STORE">
</member>
<member name="texture_gather" value="8" c:identifier="CU_GRAPHICS_REGISTER_FLAGS_TEXTURE_GATHER">
</member>
</enumeration>
<enumeration name="memorytype" c:type="CUmemorytype">
<source-position filename="../subprojects/gst-plugins-bad/gst-libs/gst/cuda/stub/cuda.h"/>
<member name="host" value="1" c:identifier="CU_MEMORYTYPE_HOST">
</member>
<member name="device" value="2" c:identifier="CU_MEMORYTYPE_DEVICE">
</member>
<member name="array" value="3" c:identifier="CU_MEMORYTYPE_ARRAY">
</member>
<member name="unified" value="4" c:identifier="CU_MEMORYTYPE_UNIFIED">
</member>
</enumeration>
<enumeration name="resourceViewFormat" c:type="CUresourceViewFormat">
<source-position filename="../subprojects/gst-plugins-bad/gst-libs/gst/cuda/stub/cuda.h"/>
<member name="res_view_format_none" value="0" c:identifier="CU_RES_VIEW_FORMAT_NONE">
</member>
</enumeration>
<enumeration name="resourcetype" c:type="CUresourcetype">
<source-position filename="../subprojects/gst-plugins-bad/gst-libs/gst/cuda/stub/cuda.h"/>
<member name="array" value="0" c:identifier="CU_RESOURCE_TYPE_ARRAY">
</member>
<member name="mipmapped_array" value="1" c:identifier="CU_RESOURCE_TYPE_MIPMAPPED_ARRAY">
</member>
<member name="linear" value="2" c:identifier="CU_RESOURCE_TYPE_LINEAR">
</member>
<member name="pitch2d" value="3" c:identifier="CU_RESOURCE_TYPE_PITCH2D">
</member>
</enumeration>
<enumeration name="result" c:type="CUresult">
<source-position filename="../subprojects/gst-plugins-bad/gst-libs/gst/cuda/stub/cuda.h"/>
<member name="success" value="0" c:identifier="CUDA_SUCCESS">
</member>
</enumeration>
<enumeration name="stream_flags" c:type="CUstream_flags">
<source-position filename="../subprojects/gst-plugins-bad/gst-libs/gst/cuda/stub/cuda.h"/>
<member name="default" value="0" c:identifier="CU_STREAM_DEFAULT">
</member>
<member name="non_blocking" value="1" c:identifier="CU_STREAM_NON_BLOCKING">
</member>
</enumeration>
</namespace>
</repository>

16285
girs/GES-1.0.gir Normal file

File diff suppressed because it is too large Load diff

55081
girs/Gst-1.0.gir Normal file

File diff suppressed because it is too large Load diff

571
girs/GstAllocators-1.0.gir Normal file
View file

@ -0,0 +1,571 @@
<!-- This file was automatically generated from C sources - DO NOT EDIT!
To affect the contents of this file, edit the original C definitions,
and/or use gtk-doc annotations. -->
<repository xmlns="http://www.gtk.org/introspection/core/1.0" xmlns:c="http://www.gtk.org/introspection/c/1.0" xmlns:glib="http://www.gtk.org/introspection/glib/1.0" version="1.2">
<include name="Gst" version="1.0"/>
<package name="gstreamer-allocators-1.0"/>
<c:include name="gst/allocators/allocators.h"/>
<namespace name="GstAllocators" version="1.0" shared-library="libgstallocators-1.0.so.0" c:identifier-prefixes="Gst" c:symbol-prefixes="gst">
<constant name="ALLOCATOR_DMABUF" value="dmabuf" c:type="GST_ALLOCATOR_DMABUF">
<source-position filename="../subprojects/gst-plugins-base/gst-libs/gst/allocators/gstdmabuf.h"/>
<type name="utf8" c:type="gchar*"/>
</constant>
<constant name="ALLOCATOR_FD" value="fd" c:type="GST_ALLOCATOR_FD">
<source-position filename="../subprojects/gst-plugins-base/gst-libs/gst/allocators/gstfdmemory.h"/>
<type name="utf8" c:type="gchar*"/>
</constant>
<constant name="CAPS_FEATURE_MEMORY_DMABUF" value="memory:DMABuf" c:type="GST_CAPS_FEATURE_MEMORY_DMABUF" version="1.12">
<doc xml:space="preserve" filename="../subprojects/gst-plugins-base/gst-libs/gst/allocators/gstdmabuf.h">Constant that defines the caps feature name for DMA buffer sharing.
It has to be used for non-mappable dma-buf only, i.e. when the underlying
memory is not mappable to user space. Or when the mapped memory contains
non meaningful data. It can be the case for protected content or when the
user wants explicitly avoid any software post processing.
In these cases all elements between the exported and the importer has to work
in passthrough mode. This is done by adding this caps feature.
When the memory is mappable for read and write requests then it is assumes
to be a fast path and so this caps feature should not be used. Though
according to the dma-buf protocol, while it is mapped it prevents the
exporter to migrate the buffer.
This caps feature should not serve at all the purpose of selecting the
@GST_ALLOCATOR_DMABUF allocator during caps negotiation.
When the exporter is the upstream element from the importer point of view,
the exporter should try to map the dma buffer at runtime (preferably during
decide_allocation phase). When it succeeds for #GST_MAP_READWRITE this caps
feature should not be used. This allows scalers, color converts and any image
processing filters to work directly on the dma buffer.
In this case the importer element should check all incoming memory using
gst_is_dmabuf_memory().</doc>
<source-position filename="../subprojects/gst-plugins-base/gst-libs/gst/allocators/gstdmabuf.h"/>
<type name="utf8" c:type="gchar*"/>
</constant>
<function-macro name="DMABUF_ALLOCATOR" c:identifier="GST_DMABUF_ALLOCATOR" introspectable="0">
<source-position filename="../subprojects/gst-plugins-base/gst-libs/gst/allocators/gstdmabuf.h"/>
<parameters>
<parameter name="obj">
</parameter>
</parameters>
</function-macro>
<function-macro name="DMABUF_ALLOCATOR_CAST" c:identifier="GST_DMABUF_ALLOCATOR_CAST" introspectable="0">
<source-position filename="../subprojects/gst-plugins-base/gst-libs/gst/allocators/gstdmabuf.h"/>
<parameters>
<parameter name="obj">
</parameter>
</parameters>
</function-macro>
<function-macro name="DMABUF_ALLOCATOR_CLASS" c:identifier="GST_DMABUF_ALLOCATOR_CLASS" introspectable="0">
<source-position filename="../subprojects/gst-plugins-base/gst-libs/gst/allocators/gstdmabuf.h"/>
<parameters>
<parameter name="klass">
</parameter>
</parameters>
</function-macro>
<function-macro name="DMABUF_ALLOCATOR_GET_CLASS" c:identifier="GST_DMABUF_ALLOCATOR_GET_CLASS" introspectable="0">
<source-position filename="../subprojects/gst-plugins-base/gst-libs/gst/allocators/gstdmabuf.h"/>
<parameters>
<parameter name="obj">
</parameter>
</parameters>
</function-macro>
<class name="DRMDumbAllocator" c:symbol-prefix="drm_dumb_allocator" c:type="GstDRMDumbAllocator" version="1.24" parent="Gst.Allocator" glib:type-name="GstDRMDumbAllocator" glib:get-type="gst_drm_dumb_allocator_get_type" glib:type-struct="DRMDumbAllocatorClass">
<doc xml:space="preserve" filename="../subprojects/gst-plugins-base/gst-libs/gst/allocators/gstdrmdumb.h">Private intance object for #GstDRMDumbAllocator.</doc>
<source-position filename="../subprojects/gst-plugins-base/gst-libs/gst/allocators/gstdrmdumb.h"/>
<constructor name="new_with_device_path" c:identifier="gst_drm_dumb_allocator_new_with_device_path" version="1.24">
<doc xml:space="preserve" filename="../subprojects/gst-plugins-base/gst-libs/gst/allocators/gstdrmdumb.c">Creates a new #GstDRMDumbAllocator for the specific device path. This
function can fail if the path does not exist, is not a DRM device or if
the DRM device doesnot support DUMB allocation.</doc>
<source-position filename="../subprojects/gst-plugins-base/gst-libs/gst/allocators/gstdrmdumb.h"/>
<return-value transfer-ownership="full" nullable="1">
<doc xml:space="preserve" filename="../subprojects/gst-plugins-base/gst-libs/gst/allocators/gstdrmdumb.c">a new DRM Dumb allocator. Use gst_object_unref()
to release the allocator after usage.</doc>
<type name="Gst.Allocator" c:type="GstAllocator*"/>
</return-value>
<parameters>
<parameter name="drm_device_path" transfer-ownership="none">
<doc xml:space="preserve" filename="../subprojects/gst-plugins-base/gst-libs/gst/allocators/gstdrmdumb.c">path to the DRM device to open</doc>
<type name="filename" c:type="const gchar*"/>
</parameter>
</parameters>
</constructor>
<constructor name="new_with_fd" c:identifier="gst_drm_dumb_allocator_new_with_fd" version="1.24">
<doc xml:space="preserve" filename="../subprojects/gst-plugins-base/gst-libs/gst/allocators/gstdrmdumb.c">Creates a new #GstDRMDumbAllocator for the specific file desciptor. This
function can fail if the file descriptor is not a DRM device or if
the DRM device does not support DUMB allocation.</doc>
<source-position filename="../subprojects/gst-plugins-base/gst-libs/gst/allocators/gstdrmdumb.h"/>
<return-value transfer-ownership="full" nullable="1">
<doc xml:space="preserve" filename="../subprojects/gst-plugins-base/gst-libs/gst/allocators/gstdrmdumb.c">a new DRM Dumb allocator. Use gst_object_unref()
to release the allocator after usage.</doc>
<type name="Gst.Allocator" c:type="GstAllocator*"/>
</return-value>
<parameters>
<parameter name="drm_fd" transfer-ownership="none">
<doc xml:space="preserve" filename="../subprojects/gst-plugins-base/gst-libs/gst/allocators/gstdrmdumb.c">file descriptor of the DRM device</doc>
<type name="gint" c:type="gint"/>
</parameter>
</parameters>
</constructor>
<method name="alloc" c:identifier="gst_drm_dumb_allocator_alloc" version="1.24">
<doc xml:space="preserve" filename="../subprojects/gst-plugins-base/gst-libs/gst/allocators/gstdrmdumb.c">Allocated a DRM buffer object for the specific @drm_fourcc, @width and
@height. Note that the DRM Dumb allocation interface is agnostic to the
pixel format. This @drm_fourcc is converted into a bpp (bit-per-pixel)
number and the height is scaled according to the sub-sampling.</doc>
<source-position filename="../subprojects/gst-plugins-base/gst-libs/gst/allocators/gstdrmdumb.h"/>
<return-value transfer-ownership="full">
<doc xml:space="preserve" filename="../subprojects/gst-plugins-base/gst-libs/gst/allocators/gstdrmdumb.c">a new DRM Dumb #GstMemory. Use gst_memory_unref()
to release the memory after usage.</doc>
<type name="Gst.Memory" c:type="GstMemory*"/>
</return-value>
<parameters>
<instance-parameter name="allocator" transfer-ownership="none">
<doc xml:space="preserve" filename="../subprojects/gst-plugins-base/gst-libs/gst/allocators/gstdrmdumb.c">the allocator instance</doc>
<type name="DRMDumbAllocator" c:type="GstAllocator*"/>
</instance-parameter>
<parameter name="drm_fourcc" transfer-ownership="none">
<doc xml:space="preserve" filename="../subprojects/gst-plugins-base/gst-libs/gst/allocators/gstdrmdumb.c">the DRM format to allocate for</doc>
<type name="guint32" c:type="guint32"/>
</parameter>
<parameter name="width" transfer-ownership="none">
<doc xml:space="preserve" filename="../subprojects/gst-plugins-base/gst-libs/gst/allocators/gstdrmdumb.c">padded width for this allocation</doc>
<type name="guint32" c:type="guint32"/>
</parameter>
<parameter name="height" transfer-ownership="none">
<doc xml:space="preserve" filename="../subprojects/gst-plugins-base/gst-libs/gst/allocators/gstdrmdumb.c">padded height for this allocation</doc>
<type name="guint32" c:type="guint32"/>
</parameter>
<parameter name="out_pitch" direction="out" caller-allocates="0" transfer-ownership="full">
<doc xml:space="preserve" filename="../subprojects/gst-plugins-base/gst-libs/gst/allocators/gstdrmdumb.c">the pitch as returned by the driver</doc>
<type name="guint32" c:type="guint32*"/>
</parameter>
</parameters>
</method>
<method name="has_prime_export" c:identifier="gst_drm_dumb_allocator_has_prime_export" version="1.24">
<doc xml:space="preserve" filename="../subprojects/gst-plugins-base/gst-libs/gst/allocators/gstdrmdumb.c">This function allow verifying if the driver support dma-buf exportation.</doc>
<source-position filename="../subprojects/gst-plugins-base/gst-libs/gst/allocators/gstdrmdumb.h"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve" filename="../subprojects/gst-plugins-base/gst-libs/gst/allocators/gstdrmdumb.c">%TRUE if the allocator support exporting dma-buf.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="allocator" transfer-ownership="none">
<doc xml:space="preserve" filename="../subprojects/gst-plugins-base/gst-libs/gst/allocators/gstdrmdumb.c">the #GstAllocator</doc>
<type name="DRMDumbAllocator" c:type="GstAllocator*"/>
</instance-parameter>
</parameters>
</method>
<property name="drm-device-path" version="1.24" writable="1" construct-only="1" transfer-ownership="none">
<type name="filename" c:type="gchar*"/>
</property>
<property name="drm-fd" version="1.24" writable="1" construct-only="1" transfer-ownership="none">
<type name="gint" c:type="gint"/>
</property>
</class>
<record name="DRMDumbAllocatorClass" c:type="GstDRMDumbAllocatorClass" glib:is-gtype-struct-for="DRMDumbAllocator">
<source-position filename="../subprojects/gst-plugins-base/gst-libs/gst/allocators/gstdrmdumb.h"/>
<field name="parent_class">
<type name="Gst.AllocatorClass" c:type="GstAllocatorClass"/>
</field>
</record>
<class name="DmaBufAllocator" c:symbol-prefix="dmabuf_allocator" c:type="GstDmaBufAllocator" version="1.12" parent="FdAllocator" glib:type-name="GstDmaBufAllocator" glib:get-type="gst_dmabuf_allocator_get_type" glib:type-struct="DmaBufAllocatorClass">
<doc xml:space="preserve" filename="../subprojects/gst-plugins-base/gst-libs/gst/allocators/gstdmabuf.h">Base class for allocators with dmabuf-backed memory</doc>
<source-position filename="../subprojects/gst-plugins-base/gst-libs/gst/allocators/gstdmabuf.h"/>
<constructor name="new" c:identifier="gst_dmabuf_allocator_new" version="1.2">
<doc xml:space="preserve" filename="../subprojects/gst-plugins-base/gst-libs/gst/allocators/gstdmabuf.c">Return a new dmabuf allocator.</doc>
<source-position filename="../subprojects/gst-plugins-base/gst-libs/gst/allocators/gstdmabuf.h"/>
<return-value transfer-ownership="full">
<doc xml:space="preserve" filename="../subprojects/gst-plugins-base/gst-libs/gst/allocators/gstdmabuf.c">a new dmabuf allocator. Use gst_object_unref() to
release the allocator after usage</doc>
<type name="Gst.Allocator" c:type="GstAllocator*"/>
</return-value>
</constructor>
<function name="alloc" c:identifier="gst_dmabuf_allocator_alloc" version="1.2">
<doc xml:space="preserve" filename="../subprojects/gst-plugins-base/gst-libs/gst/allocators/gstdmabuf.c">Return a %GstMemory that wraps a dmabuf file descriptor.</doc>
<source-position filename="../subprojects/gst-plugins-base/gst-libs/gst/allocators/gstdmabuf.h"/>
<return-value transfer-ownership="full" nullable="1">
<doc xml:space="preserve" filename="../subprojects/gst-plugins-base/gst-libs/gst/allocators/gstdmabuf.c">a GstMemory based on @allocator.
When the buffer will be released dmabuf allocator will close the @fd.
The memory is only mmapped on gst_buffer_map() request.</doc>
<type name="Gst.Memory" c:type="GstMemory*"/>
</return-value>
<parameters>
<parameter name="allocator" transfer-ownership="none">
<doc xml:space="preserve" filename="../subprojects/gst-plugins-base/gst-libs/gst/allocators/gstdmabuf.c">allocator to be used for this memory</doc>
<type name="Gst.Allocator" c:type="GstAllocator*"/>
</parameter>
<parameter name="fd" transfer-ownership="none">
<doc xml:space="preserve" filename="../subprojects/gst-plugins-base/gst-libs/gst/allocators/gstdmabuf.c">dmabuf file descriptor</doc>
<type name="gint" c:type="gint"/>
</parameter>
<parameter name="size" transfer-ownership="none">
<doc xml:space="preserve" filename="../subprojects/gst-plugins-base/gst-libs/gst/allocators/gstdmabuf.c">memory size</doc>
<type name="gsize" c:type="gsize"/>
</parameter>
</parameters>
</function>
<function name="alloc_with_flags" c:identifier="gst_dmabuf_allocator_alloc_with_flags" version="1.16">
<doc xml:space="preserve" filename="../subprojects/gst-plugins-base/gst-libs/gst/allocators/gstdmabuf.c">Return a %GstMemory that wraps a dmabuf file descriptor.</doc>
<source-position filename="../subprojects/gst-plugins-base/gst-libs/gst/allocators/gstdmabuf.h"/>
<return-value transfer-ownership="full" nullable="1">
<doc xml:space="preserve" filename="../subprojects/gst-plugins-base/gst-libs/gst/allocators/gstdmabuf.c">a GstMemory based on @allocator.
When the buffer will be released the allocator will close the @fd unless
the %GST_FD_MEMORY_FLAG_DONT_CLOSE flag is specified.
The memory is only mmapped on gst_buffer_mmap() request.</doc>
<type name="Gst.Memory" c:type="GstMemory*"/>
</return-value>
<parameters>
<parameter name="allocator" transfer-ownership="none">
<doc xml:space="preserve" filename="../subprojects/gst-plugins-base/gst-libs/gst/allocators/gstdmabuf.c">allocator to be used for this memory</doc>
<type name="Gst.Allocator" c:type="GstAllocator*"/>
</parameter>
<parameter name="fd" transfer-ownership="none">
<doc xml:space="preserve" filename="../subprojects/gst-plugins-base/gst-libs/gst/allocators/gstdmabuf.c">dmabuf file descriptor</doc>
<type name="gint" c:type="gint"/>
</parameter>
<parameter name="size" transfer-ownership="none">
<doc xml:space="preserve" filename="../subprojects/gst-plugins-base/gst-libs/gst/allocators/gstdmabuf.c">memory size</doc>
<type name="gsize" c:type="gsize"/>
</parameter>
<parameter name="flags" transfer-ownership="none">
<doc xml:space="preserve" filename="../subprojects/gst-plugins-base/gst-libs/gst/allocators/gstdmabuf.c">extra #GstFdMemoryFlags</doc>
<type name="FdMemoryFlags" c:type="GstFdMemoryFlags"/>
</parameter>
</parameters>
</function>
<field name="parent">
<type name="FdAllocator" c:type="GstFdAllocator"/>
</field>
<field name="_gst_reserved" readable="0" private="1">
<array zero-terminated="0" fixed-size="4">
<type name="gpointer" c:type="gpointer"/>
</array>
</field>
</class>
<record name="DmaBufAllocatorClass" c:type="GstDmaBufAllocatorClass" glib:is-gtype-struct-for="DmaBufAllocator">
<source-position filename="../subprojects/gst-plugins-base/gst-libs/gst/allocators/gstdmabuf.h"/>
<field name="parent_class">
<type name="FdAllocatorClass" c:type="GstFdAllocatorClass"/>
</field>
<field name="_gst_reserved" readable="0" private="1">
<array zero-terminated="0" fixed-size="4">
<type name="gpointer" c:type="gpointer"/>
</array>
</field>
</record>
<function-macro name="FD_ALLOCATOR" c:identifier="GST_FD_ALLOCATOR" introspectable="0">
<source-position filename="../subprojects/gst-plugins-base/gst-libs/gst/allocators/gstfdmemory.h"/>
<parameters>
<parameter name="obj">
</parameter>
</parameters>
</function-macro>
<function-macro name="FD_ALLOCATOR_CAST" c:identifier="GST_FD_ALLOCATOR_CAST" introspectable="0">
<source-position filename="../subprojects/gst-plugins-base/gst-libs/gst/allocators/gstfdmemory.h"/>
<parameters>
<parameter name="obj">
</parameter>
</parameters>
</function-macro>
<function-macro name="FD_ALLOCATOR_CLASS" c:identifier="GST_FD_ALLOCATOR_CLASS" introspectable="0">
<source-position filename="../subprojects/gst-plugins-base/gst-libs/gst/allocators/gstfdmemory.h"/>
<parameters>
<parameter name="klass">
</parameter>
</parameters>
</function-macro>
<function-macro name="FD_ALLOCATOR_GET_CLASS" c:identifier="GST_FD_ALLOCATOR_GET_CLASS" introspectable="0">
<source-position filename="../subprojects/gst-plugins-base/gst-libs/gst/allocators/gstfdmemory.h"/>
<parameters>
<parameter name="obj">
</parameter>
</parameters>
</function-macro>
<class name="FdAllocator" c:symbol-prefix="fd_allocator" c:type="GstFdAllocator" version="1.6" parent="Gst.Allocator" glib:type-name="GstFdAllocator" glib:get-type="gst_fd_allocator_get_type" glib:type-struct="FdAllocatorClass">
<doc xml:space="preserve" filename="../subprojects/gst-plugins-base/gst-libs/gst/allocators/gstfdmemory.h">Base class for allocators with fd-backed memory</doc>
<source-position filename="../subprojects/gst-plugins-base/gst-libs/gst/allocators/gstfdmemory.h"/>
<constructor name="new" c:identifier="gst_fd_allocator_new" version="1.6">
<doc xml:space="preserve" filename="../subprojects/gst-plugins-base/gst-libs/gst/allocators/gstfdmemory.c">Return a new fd allocator.</doc>
<source-position filename="../subprojects/gst-plugins-base/gst-libs/gst/allocators/gstfdmemory.h"/>
<return-value transfer-ownership="full">
<doc xml:space="preserve" filename="../subprojects/gst-plugins-base/gst-libs/gst/allocators/gstfdmemory.c">a new fd allocator. Use gst_object_unref() to
release the allocator after usage</doc>
<type name="Gst.Allocator" c:type="GstAllocator*"/>
</return-value>
</constructor>
<function name="alloc" c:identifier="gst_fd_allocator_alloc" version="1.6">
<doc xml:space="preserve" filename="../subprojects/gst-plugins-base/gst-libs/gst/allocators/gstfdmemory.c">Return a %GstMemory that wraps a generic file descriptor.</doc>
<source-position filename="../subprojects/gst-plugins-base/gst-libs/gst/allocators/gstfdmemory.h"/>
<return-value transfer-ownership="full" nullable="1">
<doc xml:space="preserve" filename="../subprojects/gst-plugins-base/gst-libs/gst/allocators/gstfdmemory.c">a GstMemory based on @allocator.
When the buffer will be released the allocator will close the @fd unless
the %GST_FD_MEMORY_FLAG_DONT_CLOSE flag is specified.
The memory is only mmapped on gst_buffer_map() request.</doc>
<type name="Gst.Memory" c:type="GstMemory*"/>
</return-value>
<parameters>
<parameter name="allocator" transfer-ownership="none">
<doc xml:space="preserve" filename="../subprojects/gst-plugins-base/gst-libs/gst/allocators/gstfdmemory.c">allocator to be used for this memory</doc>
<type name="Gst.Allocator" c:type="GstAllocator*"/>
</parameter>
<parameter name="fd" transfer-ownership="none">
<doc xml:space="preserve" filename="../subprojects/gst-plugins-base/gst-libs/gst/allocators/gstfdmemory.c">file descriptor</doc>
<type name="gint" c:type="gint"/>
</parameter>
<parameter name="size" transfer-ownership="none">
<doc xml:space="preserve" filename="../subprojects/gst-plugins-base/gst-libs/gst/allocators/gstfdmemory.c">memory size</doc>
<type name="gsize" c:type="gsize"/>
</parameter>
<parameter name="flags" transfer-ownership="none">
<doc xml:space="preserve" filename="../subprojects/gst-plugins-base/gst-libs/gst/allocators/gstfdmemory.c">extra #GstFdMemoryFlags</doc>
<type name="FdMemoryFlags" c:type="GstFdMemoryFlags"/>
</parameter>
</parameters>
</function>
<field name="parent">
<type name="Gst.Allocator" c:type="GstAllocator"/>
</field>
</class>
<record name="FdAllocatorClass" c:type="GstFdAllocatorClass" glib:is-gtype-struct-for="FdAllocator">
<source-position filename="../subprojects/gst-plugins-base/gst-libs/gst/allocators/gstfdmemory.h"/>
<field name="parent_class">
<type name="Gst.AllocatorClass" c:type="GstAllocatorClass"/>
</field>
</record>
<bitfield name="FdMemoryFlags" version="1.6" c:type="GstFdMemoryFlags">
<doc xml:space="preserve" filename="../subprojects/gst-plugins-base/gst-libs/gst/allocators/gstfdmemory.h">Various flags to control the operation of the fd backed memory.</doc>
<source-position filename="../subprojects/gst-plugins-base/gst-libs/gst/allocators/gstfdmemory.h"/>
<member name="none" value="0" c:identifier="GST_FD_MEMORY_FLAG_NONE">
<doc xml:space="preserve" filename="../subprojects/gst-plugins-base/gst-libs/gst/allocators/gstfdmemory.h">no flag</doc>
</member>
<member name="keep_mapped" value="1" c:identifier="GST_FD_MEMORY_FLAG_KEEP_MAPPED">
<doc xml:space="preserve" filename="../subprojects/gst-plugins-base/gst-libs/gst/allocators/gstfdmemory.h">once the memory is mapped,
keep it mapped until the memory is destroyed.</doc>
</member>
<member name="map_private" value="2" c:identifier="GST_FD_MEMORY_FLAG_MAP_PRIVATE">
<doc xml:space="preserve" filename="../subprojects/gst-plugins-base/gst-libs/gst/allocators/gstfdmemory.h">do a private mapping instead of
the default shared mapping.</doc>
</member>
<member name="dont_close" value="4" c:identifier="GST_FD_MEMORY_FLAG_DONT_CLOSE">
<doc xml:space="preserve" filename="../subprojects/gst-plugins-base/gst-libs/gst/allocators/gstfdmemory.h">don't close the file descriptor when
the memory is freed. Since: 1.10</doc>
</member>
</bitfield>
<function-macro name="IS_DMABUF_ALLOCATOR" c:identifier="GST_IS_DMABUF_ALLOCATOR" introspectable="0">
<source-position filename="../subprojects/gst-plugins-base/gst-libs/gst/allocators/gstdmabuf.h"/>
<parameters>
<parameter name="obj">
</parameter>
</parameters>
</function-macro>
<function-macro name="IS_DMABUF_ALLOCATOR_CLASS" c:identifier="GST_IS_DMABUF_ALLOCATOR_CLASS" introspectable="0">
<source-position filename="../subprojects/gst-plugins-base/gst-libs/gst/allocators/gstdmabuf.h"/>
<parameters>
<parameter name="klass">
</parameter>
</parameters>
</function-macro>
<function-macro name="IS_FD_ALLOCATOR" c:identifier="GST_IS_FD_ALLOCATOR" introspectable="0">
<source-position filename="../subprojects/gst-plugins-base/gst-libs/gst/allocators/gstfdmemory.h"/>
<parameters>
<parameter name="obj">
</parameter>
</parameters>
</function-macro>
<function-macro name="IS_FD_ALLOCATOR_CLASS" c:identifier="GST_IS_FD_ALLOCATOR_CLASS" introspectable="0">
<source-position filename="../subprojects/gst-plugins-base/gst-libs/gst/allocators/gstfdmemory.h"/>
<parameters>
<parameter name="klass">
</parameter>
</parameters>
</function-macro>
<function-macro name="PHYS_MEMORY_ALLOCATOR_CAST" c:identifier="GST_PHYS_MEMORY_ALLOCATOR_CAST" introspectable="0">
<source-position filename="../subprojects/gst-plugins-base/gst-libs/gst/allocators/gstphysmemory.h"/>
<parameters>
<parameter name="obj">
</parameter>
</parameters>
</function-macro>
<function-macro name="PHYS_MEMORY_ALLOCATOR_GET_INTERFACE" c:identifier="GST_PHYS_MEMORY_ALLOCATOR_GET_INTERFACE" introspectable="0">
<source-position filename="../subprojects/gst-plugins-base/gst-libs/gst/allocators/gstphysmemory.h"/>
<parameters>
<parameter name="obj">
</parameter>
</parameters>
</function-macro>
<interface name="PhysMemoryAllocator" c:symbol-prefix="phys_memory_allocator" c:type="GstPhysMemoryAllocator" version="1.14" glib:type-name="GstPhysMemoryAllocator" glib:get-type="gst_phys_memory_allocator_get_type" glib:type-struct="PhysMemoryAllocatorInterface">
<source-position filename="../subprojects/gst-plugins-base/gst-libs/gst/allocators/gstphysmemory.h"/>
<prerequisite name="Gst.Allocator"/>
<virtual-method name="get_phys_addr">
<source-position filename="../subprojects/gst-plugins-base/gst-libs/gst/allocators/gstphysmemory.h"/>
<return-value transfer-ownership="none">
<type name="guintptr" c:type="guintptr"/>
</return-value>
<parameters>
<instance-parameter name="allocator" transfer-ownership="none">
<type name="PhysMemoryAllocator" c:type="GstPhysMemoryAllocator*"/>
</instance-parameter>
<parameter name="mem" transfer-ownership="none">
<type name="Gst.Memory" c:type="GstMemory*"/>
</parameter>
</parameters>
</virtual-method>
</interface>
<record name="PhysMemoryAllocatorInterface" c:type="GstPhysMemoryAllocatorInterface" glib:is-gtype-struct-for="PhysMemoryAllocator" version="1.14">
<doc xml:space="preserve" filename="../subprojects/gst-plugins-base/gst-libs/gst/allocators/gstphysmemory.h">Marker interface for allocators with physical address backed memory</doc>
<source-position filename="../subprojects/gst-plugins-base/gst-libs/gst/allocators/gstphysmemory.h"/>
<field name="parent_iface" readable="0" private="1">
<type name="GObject.TypeInterface" c:type="GTypeInterface"/>
</field>
<field name="get_phys_addr">
<callback name="get_phys_addr">
<source-position filename="../subprojects/gst-plugins-base/gst-libs/gst/allocators/gstphysmemory.h"/>
<return-value transfer-ownership="none">
<type name="guintptr" c:type="guintptr"/>
</return-value>
<parameters>
<parameter name="allocator" transfer-ownership="none">
<type name="PhysMemoryAllocator" c:type="GstPhysMemoryAllocator*"/>
</parameter>
<parameter name="mem" transfer-ownership="none">
<type name="Gst.Memory" c:type="GstMemory*"/>
</parameter>
</parameters>
</callback>
</field>
</record>
<function name="dmabuf_memory_get_fd" c:identifier="gst_dmabuf_memory_get_fd" version="1.2">
<doc xml:space="preserve" filename="../subprojects/gst-plugins-base/gst-libs/gst/allocators/gstdmabuf.c">Return the file descriptor associated with @mem.</doc>
<source-position filename="../subprojects/gst-plugins-base/gst-libs/gst/allocators/gstdmabuf.h"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve" filename="../subprojects/gst-plugins-base/gst-libs/gst/allocators/gstdmabuf.c">the file descriptor associated with the memory, or -1. The file
descriptor is still owned by the GstMemory. Use dup to take a copy
if you intend to use it beyond the lifetime of this GstMemory.</doc>
<type name="gint" c:type="gint"/>
</return-value>
<parameters>
<parameter name="mem" transfer-ownership="none">
<doc xml:space="preserve" filename="../subprojects/gst-plugins-base/gst-libs/gst/allocators/gstdmabuf.c">the memory to get the file descriptor</doc>
<type name="Gst.Memory" c:type="GstMemory*"/>
</parameter>
</parameters>
</function>
<function name="drm_dumb_memory_export_dmabuf" c:identifier="gst_drm_dumb_memory_export_dmabuf" version="1.24">
<doc xml:space="preserve" filename="../subprojects/gst-plugins-base/gst-libs/gst/allocators/gstdrmdumb.c">Exports a DMABuf from the DRM Bumb buffer object. One can check if this
feature is supported using gst_drm_dumb_allocator_has_prime_export();</doc>
<source-position filename="../subprojects/gst-plugins-base/gst-libs/gst/allocators/gstdrmdumb.h"/>
<return-value transfer-ownership="full">
<doc xml:space="preserve" filename="../subprojects/gst-plugins-base/gst-libs/gst/allocators/gstdrmdumb.c">a #GstMemory from #GstDmaBufAllocator wrapping the exported dma-buf
file descriptor.</doc>
<type name="Gst.Memory" c:type="GstMemory*"/>
</return-value>
<parameters>
<parameter name="mem" transfer-ownership="none">
<doc xml:space="preserve" filename="../subprojects/gst-plugins-base/gst-libs/gst/allocators/gstdrmdumb.c">the memory to export from</doc>
<type name="Gst.Memory" c:type="GstMemory*"/>
</parameter>
</parameters>
</function>
<function name="drm_dumb_memory_get_handle" c:identifier="gst_drm_dumb_memory_get_handle" version="1.24">
<doc xml:space="preserve" filename="../subprojects/gst-plugins-base/gst-libs/gst/allocators/gstdrmdumb.c">Return the DRM buffer object handle associated with @mem.</doc>
<source-position filename="../subprojects/gst-plugins-base/gst-libs/gst/allocators/gstdrmdumb.h"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve" filename="../subprojects/gst-plugins-base/gst-libs/gst/allocators/gstdrmdumb.c">the DRM buffer object handle associated with the memory, or 0.
The handle is still owned by the GstMemory and cannot be used
beyond the lifetime of this GstMemory unless it is being passed
to DRM driver, which does handle a refcount internally.</doc>
<type name="guint32" c:type="guint32"/>
</return-value>
<parameters>
<parameter name="mem" transfer-ownership="none">
<doc xml:space="preserve" filename="../subprojects/gst-plugins-base/gst-libs/gst/allocators/gstdrmdumb.c">the memory to get the handle from</doc>
<type name="Gst.Memory" c:type="GstMemory*"/>
</parameter>
</parameters>
</function>
<function name="fd_memory_get_fd" c:identifier="gst_fd_memory_get_fd" version="1.6">
<doc xml:space="preserve" filename="../subprojects/gst-plugins-base/gst-libs/gst/allocators/gstfdmemory.c">Get the fd from @mem. Call gst_is_fd_memory() to check if @mem has
an fd.</doc>
<source-position filename="../subprojects/gst-plugins-base/gst-libs/gst/allocators/gstfdmemory.h"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve" filename="../subprojects/gst-plugins-base/gst-libs/gst/allocators/gstfdmemory.c">the fd of @mem or -1 when there is no fd on @mem</doc>
<type name="gint" c:type="gint"/>
</return-value>
<parameters>
<parameter name="mem" transfer-ownership="none">
<doc xml:space="preserve" filename="../subprojects/gst-plugins-base/gst-libs/gst/allocators/gstfdmemory.c">#GstMemory</doc>
<type name="Gst.Memory" c:type="GstMemory*"/>
</parameter>
</parameters>
</function>
<function name="is_dmabuf_memory" c:identifier="gst_is_dmabuf_memory" version="1.2">
<doc xml:space="preserve" filename="../subprojects/gst-plugins-base/gst-libs/gst/allocators/gstdmabuf.c">Check if @mem is dmabuf memory.</doc>
<source-position filename="../subprojects/gst-plugins-base/gst-libs/gst/allocators/gstdmabuf.h"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve" filename="../subprojects/gst-plugins-base/gst-libs/gst/allocators/gstdmabuf.c">%TRUE if @mem is dmabuf memory, otherwise %FALSE</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<parameter name="mem" transfer-ownership="none">
<doc xml:space="preserve" filename="../subprojects/gst-plugins-base/gst-libs/gst/allocators/gstdmabuf.c">the memory to be check</doc>
<type name="Gst.Memory" c:type="GstMemory*"/>
</parameter>
</parameters>
</function>
<function name="is_drm_dumb_memory" c:identifier="gst_is_drm_dumb_memory" version="1.24">
<source-position filename="../subprojects/gst-plugins-base/gst-libs/gst/allocators/gstdrmdumb.h"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve" filename="../subprojects/gst-plugins-base/gst-libs/gst/allocators/gstdrmdumb.c">%TRUE if @mem is DRM Dumb memory, otherwise %FALSE</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<parameter name="mem" transfer-ownership="none">
<doc xml:space="preserve" filename="../subprojects/gst-plugins-base/gst-libs/gst/allocators/gstdrmdumb.c">the memory to be checked</doc>
<type name="Gst.Memory" c:type="GstMemory*"/>
</parameter>
</parameters>
</function>
<function name="is_fd_memory" c:identifier="gst_is_fd_memory" version="1.6">
<doc xml:space="preserve" filename="../subprojects/gst-plugins-base/gst-libs/gst/allocators/gstfdmemory.c">Check if @mem is memory backed by an fd</doc>
<source-position filename="../subprojects/gst-plugins-base/gst-libs/gst/allocators/gstfdmemory.h"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve" filename="../subprojects/gst-plugins-base/gst-libs/gst/allocators/gstfdmemory.c">%TRUE when @mem has an fd that can be retrieved with
gst_fd_memory_get_fd().</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<parameter name="mem" transfer-ownership="none">
<doc xml:space="preserve" filename="../subprojects/gst-plugins-base/gst-libs/gst/allocators/gstfdmemory.c">#GstMemory</doc>
<type name="Gst.Memory" c:type="GstMemory*"/>
</parameter>
</parameters>
</function>
<function name="is_phys_memory" c:identifier="gst_is_phys_memory" version="1.14">
<source-position filename="../subprojects/gst-plugins-base/gst-libs/gst/allocators/gstphysmemory.h"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve" filename="../subprojects/gst-plugins-base/gst-libs/gst/allocators/gstphysmemory.c">whether the memory at @mem is backed by physical memory</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<parameter name="mem" transfer-ownership="none">
<doc xml:space="preserve" filename="../subprojects/gst-plugins-base/gst-libs/gst/allocators/gstphysmemory.c">a #GstMemory</doc>
<type name="Gst.Memory" c:type="GstMemory*"/>
</parameter>
</parameters>
</function>
<function name="phys_memory_get_phys_addr" c:identifier="gst_phys_memory_get_phys_addr" version="1.14">
<source-position filename="../subprojects/gst-plugins-base/gst-libs/gst/allocators/gstphysmemory.h"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve" filename="../subprojects/gst-plugins-base/gst-libs/gst/allocators/gstphysmemory.c">Physical memory address that is backing @mem, or 0 if none</doc>
<type name="guintptr" c:type="guintptr"/>
</return-value>
<parameters>
<parameter name="mem" transfer-ownership="none">
<doc xml:space="preserve" filename="../subprojects/gst-plugins-base/gst-libs/gst/allocators/gstphysmemory.c">a #GstMemory</doc>
<type name="Gst.Memory" c:type="GstMemory*"/>
</parameter>
</parameters>
</function>
</namespace>
</repository>

2421
girs/GstApp-1.0.gir Normal file

File diff suppressed because it is too large Load diff

10931
girs/GstAudio-1.0.gir Normal file

File diff suppressed because it is too large Load diff

1479
girs/GstBadAudio-1.0.gir Normal file

File diff suppressed because it is too large Load diff

14254
girs/GstBase-1.0.gir Normal file

File diff suppressed because it is too large Load diff

3771
girs/GstCheck-1.0.gir Normal file

File diff suppressed because it is too large Load diff

5314
girs/GstCodecs-1.0.gir Normal file

File diff suppressed because it is too large Load diff

1074
girs/GstController-1.0.gir Normal file

File diff suppressed because it is too large Load diff

1251
girs/GstCuda-1.0.gir Normal file

File diff suppressed because it is too large Load diff

11089
girs/GstGL-1.0.gir Normal file

File diff suppressed because it is too large Load diff

392
girs/GstInsertBin-1.0.gir Normal file
View file

@ -0,0 +1,392 @@
<!-- This file was automatically generated from C sources - DO NOT EDIT!
To affect the contents of this file, edit the original C definitions,
and/or use gtk-doc annotations. -->
<repository xmlns="http://www.gtk.org/introspection/core/1.0" xmlns:c="http://www.gtk.org/introspection/c/1.0" xmlns:glib="http://www.gtk.org/introspection/glib/1.0" version="1.2">
<include name="Gst" version="1.0"/>
<package name="gstreamer-insertbin-1.0"/>
<c:include name="gst/insertbin/gstinsertbin.h"/>
<namespace name="GstInsertBin" version="1.0" shared-library="libgstinsertbin-1.0.so.0" c:identifier-prefixes="Gst" c:symbol-prefixes="gst">
<function-macro name="INSERT_BIN" c:identifier="GST_INSERT_BIN" introspectable="0">
<source-position filename="../subprojects/gst-plugins-bad/gst-libs/gst/insertbin/gstinsertbin.h"/>
<parameters>
<parameter name="obj">
</parameter>
</parameters>
</function-macro>
<function-macro name="INSERT_BIN_CLASS" c:identifier="GST_INSERT_BIN_CLASS" introspectable="0">
<source-position filename="../subprojects/gst-plugins-bad/gst-libs/gst/insertbin/gstinsertbin.h"/>
<parameters>
<parameter name="klass">
</parameter>
</parameters>
</function-macro>
<function-macro name="INSERT_BIN_GET_CLASS" c:identifier="GST_INSERT_BIN_GET_CLASS" introspectable="0">
<source-position filename="../subprojects/gst-plugins-bad/gst-libs/gst/insertbin/gstinsertbin.h"/>
<parameters>
<parameter name="obj">
</parameter>
</parameters>
</function-macro>
<function-macro name="IS_INSERT_BIN" c:identifier="GST_IS_INSERT_BIN" introspectable="0">
<source-position filename="../subprojects/gst-plugins-bad/gst-libs/gst/insertbin/gstinsertbin.h"/>
<parameters>
<parameter name="obj">
</parameter>
</parameters>
</function-macro>
<function-macro name="IS_INSERT_BIN_CLASS" c:identifier="GST_IS_INSERT_BIN_CLASS" introspectable="0">
<source-position filename="../subprojects/gst-plugins-bad/gst-libs/gst/insertbin/gstinsertbin.h"/>
<parameters>
<parameter name="klass">
</parameter>
</parameters>
</function-macro>
<class name="InsertBin" c:symbol-prefix="insert_bin" c:type="GstInsertBin" version="1.2" parent="Gst.Bin" glib:type-name="GstInsertBin" glib:get-type="gst_insert_bin_get_type" glib:type-struct="InsertBinClass">
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/insertbin/gstinsertbin.c">This element is a #GstBin that has a single source and sink pad. It allows
the user (the application) to easily add and remove filter-like element
(that has a single source and sink pad), to the pipeline while it is running.
It features a fully asynchronous API inspired by GLib's GAsyncResult based
APIs.
Each operation (addition or removal) can take a callback, this callback
is guaranteed to be called. Unlike GIO, there is no guarantee about where
this callback will be called from, it could be called before the action
returns or it could be called later from another thread. The signature of
this callback GstInsertBinCallback().</doc>
<source-position filename="../subprojects/gst-plugins-bad/gst-libs/gst/insertbin/gstinsertbin.h"/>
<implements name="Gst.ChildProxy"/>
<constructor name="new" c:identifier="gst_insert_bin_new" version="1.2">
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/insertbin/gstinsertbin.c">Creates a new #GstInsertBin</doc>
<source-position filename="../subprojects/gst-plugins-bad/gst-libs/gst/insertbin/gstinsertbin.h"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/insertbin/gstinsertbin.c">The new #GstInsertBin</doc>
<type name="Gst.Element" c:type="GstElement*"/>
</return-value>
<parameters>
<parameter name="name" transfer-ownership="none" nullable="1" allow-none="1">
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/insertbin/gstinsertbin.c">The name of the new #GstInsertBin element (or %NULL)</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
</parameters>
</constructor>
<method name="append" c:identifier="gst_insert_bin_append" version="1.2">
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/insertbin/gstinsertbin.c">This action signal adds the filter like element after any other element
in the bin.
Same as the #GstInsertBin::append signal.</doc>
<source-position filename="../subprojects/gst-plugins-bad/gst-libs/gst/insertbin/gstinsertbin.h"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<type name="InsertBin" c:type="GstInsertBin*"/>
</instance-parameter>
<parameter name="element" transfer-ownership="none">
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/insertbin/gstinsertbin.c">the #GstElement to add</doc>
<type name="Gst.Element" c:type="GstElement*"/>
</parameter>
<parameter name="callback" transfer-ownership="none" scope="async" closure="2">
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/insertbin/gstinsertbin.c">the callback to call when the element has been
added or not, or %NULL</doc>
<type name="InsertBinCallback" c:type="GstInsertBinCallback"/>
</parameter>
<parameter name="user_data" transfer-ownership="none" nullable="1" allow-none="1">
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/insertbin/gstinsertbin.c">The data to pass to the callback</doc>
<type name="gpointer" c:type="gpointer"/>
</parameter>
</parameters>
</method>
<method name="insert_after" c:identifier="gst_insert_bin_insert_after" version="1.2">
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/insertbin/gstinsertbin.c">This action signal adds the filter like element after the @sibling
element in the bin.
Same as the #GstInsertBin::insert-after signal.</doc>
<source-position filename="../subprojects/gst-plugins-bad/gst-libs/gst/insertbin/gstinsertbin.h"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<type name="InsertBin" c:type="GstInsertBin*"/>
</instance-parameter>
<parameter name="element" transfer-ownership="none">
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/insertbin/gstinsertbin.c">the #GstElement to add</doc>
<type name="Gst.Element" c:type="GstElement*"/>
</parameter>
<parameter name="sibling" transfer-ownership="none">
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/insertbin/gstinsertbin.c">the #GstElement to add @element after</doc>
<type name="Gst.Element" c:type="GstElement*"/>
</parameter>
<parameter name="callback" transfer-ownership="none" scope="async" closure="3">
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/insertbin/gstinsertbin.c">the callback to call when the element has been
added or not, or %NULL</doc>
<type name="InsertBinCallback" c:type="GstInsertBinCallback"/>
</parameter>
<parameter name="user_data" transfer-ownership="none" nullable="1" allow-none="1">
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/insertbin/gstinsertbin.c">The data to pass to the callback</doc>
<type name="gpointer" c:type="gpointer"/>
</parameter>
</parameters>
</method>
<method name="insert_before" c:identifier="gst_insert_bin_insert_before" version="1.2">
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/insertbin/gstinsertbin.c">This action signal adds the filter like element before the @sibling
element in the bin.
Same as the #GstInsertBin::insert-before signal.</doc>
<source-position filename="../subprojects/gst-plugins-bad/gst-libs/gst/insertbin/gstinsertbin.h"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<type name="InsertBin" c:type="GstInsertBin*"/>
</instance-parameter>
<parameter name="element" transfer-ownership="none">
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/insertbin/gstinsertbin.c">the #GstElement to add</doc>
<type name="Gst.Element" c:type="GstElement*"/>
</parameter>
<parameter name="sibling" transfer-ownership="none">
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/insertbin/gstinsertbin.c">the #GstElement to add @element before</doc>
<type name="Gst.Element" c:type="GstElement*"/>
</parameter>
<parameter name="callback" transfer-ownership="none" scope="async" closure="3">
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/insertbin/gstinsertbin.c">the callback to call when the element has been
added or not, or %NULL</doc>
<type name="InsertBinCallback" c:type="GstInsertBinCallback"/>
</parameter>
<parameter name="user_data" transfer-ownership="none" nullable="1" allow-none="1">
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/insertbin/gstinsertbin.c">The data to pass to the callback</doc>
<type name="gpointer" c:type="gpointer"/>
</parameter>
</parameters>
</method>
<method name="prepend" c:identifier="gst_insert_bin_prepend" version="1.2">
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/insertbin/gstinsertbin.c">This action signal adds the filter like element before any other element
in the bin.
Same as the #GstInsertBin::prepend signal.</doc>
<source-position filename="../subprojects/gst-plugins-bad/gst-libs/gst/insertbin/gstinsertbin.h"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<type name="InsertBin" c:type="GstInsertBin*"/>
</instance-parameter>
<parameter name="element" transfer-ownership="none">
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/insertbin/gstinsertbin.c">the #GstElement to add</doc>
<type name="Gst.Element" c:type="GstElement*"/>
</parameter>
<parameter name="callback" transfer-ownership="none" scope="async" closure="2">
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/insertbin/gstinsertbin.c">the callback to call when the element has been
added or not, or %NULL</doc>
<type name="InsertBinCallback" c:type="GstInsertBinCallback"/>
</parameter>
<parameter name="user_data" transfer-ownership="none" nullable="1" allow-none="1">
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/insertbin/gstinsertbin.c">The data to pass to the callback</doc>
<type name="gpointer" c:type="gpointer"/>
</parameter>
</parameters>
</method>
<method name="remove" c:identifier="gst_insert_bin_remove" version="1.2">
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/insertbin/gstinsertbin.c">This action signal removed the filter like element from the bin.
Same as the #GstInsertBin::remove signal.</doc>
<source-position filename="../subprojects/gst-plugins-bad/gst-libs/gst/insertbin/gstinsertbin.h"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<type name="InsertBin" c:type="GstInsertBin*"/>
</instance-parameter>
<parameter name="element" transfer-ownership="none">
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/insertbin/gstinsertbin.c">the #GstElement to remove</doc>
<type name="Gst.Element" c:type="GstElement*"/>
</parameter>
<parameter name="callback" transfer-ownership="none" scope="async" closure="2">
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/insertbin/gstinsertbin.c">the callback to call when the element has been
removed or not, or %NULL</doc>
<type name="InsertBinCallback" c:type="GstInsertBinCallback"/>
</parameter>
<parameter name="user_data" transfer-ownership="none" nullable="1" allow-none="1">
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/insertbin/gstinsertbin.c">The data to pass to the callback</doc>
<type name="gpointer" c:type="gpointer"/>
</parameter>
</parameters>
</method>
<field name="parent">
<type name="Gst.Bin" c:type="GstBin"/>
</field>
<field name="priv" readable="0" private="1">
<type name="InsertBinPrivate" c:type="GstInsertBinPrivate*"/>
</field>
<glib:signal name="append" when="last" action="1">
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/insertbin/gstinsertbin.c">This action signal adds the filter like element after any other element
in the bin.
Same as gst_insert_bin_append()</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<parameter name="callback" transfer-ownership="none">
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/insertbin/gstinsertbin.c">the callback to call when the element has been added or not, or
%NULL</doc>
<type name="Gst.Element"/>
</parameter>
<parameter name="user_data" transfer-ownership="none" nullable="1" allow-none="1">
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/insertbin/gstinsertbin.c">The data to pass to the callback</doc>
<type name="gpointer" c:type="gpointer"/>
</parameter>
<parameter name="user_data2" transfer-ownership="none" nullable="1" allow-none="1">
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/insertbin/gstinsertbin.c">The user data of the signal (ignored)</doc>
<type name="gpointer" c:type="gpointer"/>
</parameter>
</parameters>
</glib:signal>
<glib:signal name="insert-after" when="last" action="1">
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/insertbin/gstinsertbin.c">This action signal adds the filter like element after the @sibling
element in the bin.
element in the bin.
Same as gst_insert_bin_insert_after()</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<parameter name="sibling" transfer-ownership="none">
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/insertbin/gstinsertbin.c">the #GstElement to add @element after</doc>
<type name="Gst.Element"/>
</parameter>
<parameter name="callback" transfer-ownership="none">
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/insertbin/gstinsertbin.c">the callback to call when the element has been added or not, or
%NULL</doc>
<type name="Gst.Element"/>
</parameter>
<parameter name="user_data" transfer-ownership="none" nullable="1" allow-none="1">
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/insertbin/gstinsertbin.c">The data to pass to the callback</doc>
<type name="gpointer" c:type="gpointer"/>
</parameter>
<parameter name="user_data2" transfer-ownership="none" nullable="1" allow-none="1">
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/insertbin/gstinsertbin.c">The user data of the signal (ignored)</doc>
<type name="gpointer" c:type="gpointer"/>
</parameter>
</parameters>
</glib:signal>
<glib:signal name="insert-before" when="last" action="1">
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/insertbin/gstinsertbin.c">This action signal adds the filter like element before the @sibling
element in the bin.
Same as gst_insert_bin_insert_before()</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<parameter name="sibling" transfer-ownership="none">
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/insertbin/gstinsertbin.c">the #GstElement to add @element before</doc>
<type name="Gst.Element"/>
</parameter>
<parameter name="callback" transfer-ownership="none">
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/insertbin/gstinsertbin.c">the callback to call when the element has been added or not, or
%NULL</doc>
<type name="Gst.Element"/>
</parameter>
<parameter name="user_data" transfer-ownership="none" nullable="1" allow-none="1">
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/insertbin/gstinsertbin.c">The data to pass to the callback</doc>
<type name="gpointer" c:type="gpointer"/>
</parameter>
<parameter name="user_data2" transfer-ownership="none" nullable="1" allow-none="1">
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/insertbin/gstinsertbin.c">The user data of the signal (ignored)</doc>
<type name="gpointer" c:type="gpointer"/>
</parameter>
</parameters>
</glib:signal>
<glib:signal name="prepend" when="last" action="1">
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/insertbin/gstinsertbin.c">This action signal adds the filter like element before any other element
in the bin.
Same as gst_insert_bin_prepend()</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<parameter name="callback" transfer-ownership="none">
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/insertbin/gstinsertbin.c">the callback to call when the element has been added or not, or
%NULL</doc>
<type name="Gst.Element"/>
</parameter>
<parameter name="user_data" transfer-ownership="none" nullable="1" allow-none="1">
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/insertbin/gstinsertbin.c">The data to pass to the callback</doc>
<type name="gpointer" c:type="gpointer"/>
</parameter>
<parameter name="user_data2" transfer-ownership="none" nullable="1" allow-none="1">
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/insertbin/gstinsertbin.c">The user data of the signal (ignored)</doc>
<type name="gpointer" c:type="gpointer"/>
</parameter>
</parameters>
</glib:signal>
<glib:signal name="remove" when="last" action="1">
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/insertbin/gstinsertbin.c">This action signal removed the filter like element from the bin.
Same as gst_insert_bin_remove()</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<parameter name="callback" transfer-ownership="none">
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/insertbin/gstinsertbin.c">the callback to call when the element has been removed or not,
or %NULL</doc>
<type name="Gst.Element"/>
</parameter>
<parameter name="user_data" transfer-ownership="none" nullable="1" allow-none="1">
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/insertbin/gstinsertbin.c">The data to pass to the callback</doc>
<type name="gpointer" c:type="gpointer"/>
</parameter>
<parameter name="user_data2" transfer-ownership="none" nullable="1" allow-none="1">
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/insertbin/gstinsertbin.c">The user data of the signal (ignored)</doc>
<type name="gpointer" c:type="gpointer"/>
</parameter>
</parameters>
</glib:signal>
</class>
<callback name="InsertBinCallback" c:type="GstInsertBinCallback">
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/insertbin/gstinsertbin.h">This is the prototype of callbacks to be called when the operation completes.
It could be called at any time, including as a re-entrant call while the
operation is requested.</doc>
<source-position filename="../subprojects/gst-plugins-bad/gst-libs/gst/insertbin/gstinsertbin.h"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<parameter name="insertbin" transfer-ownership="none">
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/insertbin/gstinsertbin.h">A #GstInsertBin</doc>
<type name="InsertBin" c:type="GstInsertBin*"/>
</parameter>
<parameter name="element" transfer-ownership="none">
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/insertbin/gstinsertbin.h">The #GstElement on which the operation was performed</doc>
<type name="Gst.Element" c:type="GstElement*"/>
</parameter>
<parameter name="success" transfer-ownership="none">
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/insertbin/gstinsertbin.h">%TRUE if the operation was successful</doc>
<type name="gboolean" c:type="gboolean"/>
</parameter>
<parameter name="user_data" transfer-ownership="none" nullable="1" allow-none="1" closure="3">
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/insertbin/gstinsertbin.h">The user data passed</doc>
<type name="gpointer" c:type="gpointer"/>
</parameter>
</parameters>
</callback>
<record name="InsertBinClass" c:type="GstInsertBinClass" glib:is-gtype-struct-for="InsertBin">
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/insertbin/gstinsertbin.h">The object class structure.</doc>
<source-position filename="../subprojects/gst-plugins-bad/gst-libs/gst/insertbin/gstinsertbin.h"/>
<field name="parent_class">
<type name="Gst.BinClass" c:type="GstBinClass"/>
</field>
</record>
<record name="InsertBinPrivate" c:type="GstInsertBinPrivate" disguised="1">
<source-position filename="../subprojects/gst-plugins-bad/gst-libs/gst/insertbin/gstinsertbin.h"/>
</record>
</namespace>
</repository>

5425
girs/GstMpegts-1.0.gir Normal file

File diff suppressed because it is too large Load diff

915
girs/GstNet-1.0.gir Normal file
View file

@ -0,0 +1,915 @@
<!-- This file was automatically generated from C sources - DO NOT EDIT!
To affect the contents of this file, edit the original C definitions,
and/or use gtk-doc annotations. -->
<repository xmlns="http://www.gtk.org/introspection/core/1.0" xmlns:c="http://www.gtk.org/introspection/c/1.0" xmlns:glib="http://www.gtk.org/introspection/glib/1.0" version="1.2">
<include name="GLib" version="2.0"/>
<include name="GModule" version="2.0"/>
<include name="GObject" version="2.0"/>
<include name="Gio" version="2.0"/>
<include name="Gst" version="1.0"/>
<package name="gstreamer-net-1.0"/>
<c:include name="gst/net/net.h"/>
<namespace name="GstNet" version="1.0" shared-library="libgstnet-1.0.so.0" c:identifier-prefixes="Gst" c:symbol-prefixes="gst">
<function-macro name="IS_NET_CLIENT_CLOCK" c:identifier="GST_IS_NET_CLIENT_CLOCK" introspectable="0">
<source-position filename="../subprojects/gstreamer/libs/gst/net/gstnetclientclock.h"/>
<parameters>
<parameter name="obj">
</parameter>
</parameters>
</function-macro>
<function-macro name="IS_NET_CLIENT_CLOCK_CLASS" c:identifier="GST_IS_NET_CLIENT_CLOCK_CLASS" introspectable="0">
<source-position filename="../subprojects/gstreamer/libs/gst/net/gstnetclientclock.h"/>
<parameters>
<parameter name="klass">
</parameter>
</parameters>
</function-macro>
<function-macro name="IS_NET_TIME_PROVIDER" c:identifier="GST_IS_NET_TIME_PROVIDER" introspectable="0">
<source-position filename="../subprojects/gstreamer/libs/gst/net/gstnettimeprovider.h"/>
<parameters>
<parameter name="obj">
</parameter>
</parameters>
</function-macro>
<function-macro name="IS_NET_TIME_PROVIDER_CLASS" c:identifier="GST_IS_NET_TIME_PROVIDER_CLASS" introspectable="0">
<source-position filename="../subprojects/gstreamer/libs/gst/net/gstnettimeprovider.h"/>
<parameters>
<parameter name="klass">
</parameter>
</parameters>
</function-macro>
<function-macro name="IS_NTP_CLOCK" c:identifier="GST_IS_NTP_CLOCK" introspectable="0">
<source-position filename="../subprojects/gstreamer/libs/gst/net/gstnetclientclock.h"/>
<parameters>
<parameter name="obj">
</parameter>
</parameters>
</function-macro>
<function-macro name="IS_NTP_CLOCK_CLASS" c:identifier="GST_IS_NTP_CLOCK_CLASS" introspectable="0">
<source-position filename="../subprojects/gstreamer/libs/gst/net/gstnetclientclock.h"/>
<parameters>
<parameter name="klass">
</parameter>
</parameters>
</function-macro>
<function-macro name="IS_PTP_CLOCK" c:identifier="GST_IS_PTP_CLOCK" introspectable="0">
<source-position filename="../subprojects/gstreamer/libs/gst/net/gstptpclock.h"/>
<parameters>
<parameter name="obj">
</parameter>
</parameters>
</function-macro>
<function-macro name="IS_PTP_CLOCK_CLASS" c:identifier="GST_IS_PTP_CLOCK_CLASS" introspectable="0">
<source-position filename="../subprojects/gstreamer/libs/gst/net/gstptpclock.h"/>
<parameters>
<parameter name="klass">
</parameter>
</parameters>
</function-macro>
<function-macro name="NET_CLIENT_CLOCK" c:identifier="GST_NET_CLIENT_CLOCK" introspectable="0">
<source-position filename="../subprojects/gstreamer/libs/gst/net/gstnetclientclock.h"/>
<parameters>
<parameter name="obj">
</parameter>
</parameters>
</function-macro>
<function-macro name="NET_CLIENT_CLOCK_CLASS" c:identifier="GST_NET_CLIENT_CLOCK_CLASS" introspectable="0">
<source-position filename="../subprojects/gstreamer/libs/gst/net/gstnetclientclock.h"/>
<parameters>
<parameter name="klass">
</parameter>
</parameters>
</function-macro>
<constant name="NET_TIME_PACKET_SIZE" value="16" c:type="GST_NET_TIME_PACKET_SIZE">
<doc xml:space="preserve" filename="../subprojects/gstreamer/libs/gst/net/gstnettimepacket.h">The size of the packets sent between network clocks.</doc>
<source-position filename="../subprojects/gstreamer/libs/gst/net/gstnettimepacket.h"/>
<type name="gint" c:type="gint"/>
</constant>
<function-macro name="NET_TIME_PROVIDER" c:identifier="GST_NET_TIME_PROVIDER" introspectable="0">
<source-position filename="../subprojects/gstreamer/libs/gst/net/gstnettimeprovider.h"/>
<parameters>
<parameter name="obj">
</parameter>
</parameters>
</function-macro>
<function-macro name="NET_TIME_PROVIDER_CLASS" c:identifier="GST_NET_TIME_PROVIDER_CLASS" introspectable="0">
<source-position filename="../subprojects/gstreamer/libs/gst/net/gstnettimeprovider.h"/>
<parameters>
<parameter name="klass">
</parameter>
</parameters>
</function-macro>
<function-macro name="NTP_CLOCK" c:identifier="GST_NTP_CLOCK" introspectable="0">
<source-position filename="../subprojects/gstreamer/libs/gst/net/gstnetclientclock.h"/>
<parameters>
<parameter name="obj">
</parameter>
</parameters>
</function-macro>
<function-macro name="NTP_CLOCK_CLASS" c:identifier="GST_NTP_CLOCK_CLASS" introspectable="0">
<source-position filename="../subprojects/gstreamer/libs/gst/net/gstnetclientclock.h"/>
<parameters>
<parameter name="klass">
</parameter>
</parameters>
</function-macro>
<record name="NetAddressMeta" c:type="GstNetAddressMeta">
<doc xml:space="preserve" filename="../subprojects/gstreamer/libs/gst/net/gstnetaddressmeta.c">#GstNetAddressMeta can be used to store a network address (a #GSocketAddress)
in a #GstBuffer so that it network elements can track the to and from address
of the buffer.</doc>
<source-position filename="../subprojects/gstreamer/libs/gst/net/gstnetaddressmeta.h"/>
<field name="meta" writable="1">
<doc xml:space="preserve" filename="../subprojects/gstreamer/libs/gst/net/gstnetaddressmeta.h">the parent type</doc>
<type name="Gst.Meta" c:type="GstMeta"/>
</field>
<field name="addr" writable="1">
<doc xml:space="preserve" filename="../subprojects/gstreamer/libs/gst/net/gstnetaddressmeta.h">a #GSocketAddress stored as metadata</doc>
<type name="Gio.SocketAddress" c:type="GSocketAddress*"/>
</field>
<function name="get_info" c:identifier="gst_net_address_meta_get_info">
<source-position filename="../subprojects/gstreamer/libs/gst/net/gstnetaddressmeta.h"/>
<return-value transfer-ownership="none">
<type name="Gst.MetaInfo" c:type="const GstMetaInfo*"/>
</return-value>
</function>
</record>
<class name="NetClientClock" c:symbol-prefix="net_client_clock" c:type="GstNetClientClock" parent="Gst.SystemClock" glib:type-name="GstNetClientClock" glib:get-type="gst_net_client_clock_get_type" glib:type-struct="NetClientClockClass">
<doc xml:space="preserve" filename="../subprojects/gstreamer/libs/gst/net/gstnetclientclock.c">#GstNetClientClock implements a custom #GstClock that synchronizes its time
to a remote time provider such as #GstNetTimeProvider. #GstNtpClock
implements a #GstClock that synchronizes its time to a remote NTPv4 server.
A new clock is created with gst_net_client_clock_new() or
gst_ntp_clock_new(), which takes the address and port of the remote time
provider along with a name and an initial time.
This clock will poll the time provider and will update its calibration
parameters based on the local and remote observations.
The "round-trip" property limits the maximum round trip packets can take.
Various parameters of the clock can be configured with the parent #GstClock
"timeout", "window-size" and "window-threshold" object properties.
A #GstNetClientClock and #GstNtpClock is typically set on a #GstPipeline with
gst_pipeline_use_clock().
If you set a #GstBus on the clock via the "bus" object property, it will
send @GST_MESSAGE_ELEMENT messages with an attached #GstStructure containing
statistics about clock accuracy and network traffic.</doc>
<source-position filename="../subprojects/gstreamer/libs/gst/net/gstnetclientclock.h"/>
<constructor name="new" c:identifier="gst_net_client_clock_new">
<doc xml:space="preserve" filename="../subprojects/gstreamer/libs/gst/net/gstnetclientclock.c">Create a new #GstNetClientClock that will report the time
provided by the #GstNetTimeProvider on @remote_address and
@remote_port.</doc>
<source-position filename="../subprojects/gstreamer/libs/gst/net/gstnetclientclock.h"/>
<return-value transfer-ownership="full">
<doc xml:space="preserve" filename="../subprojects/gstreamer/libs/gst/net/gstnetclientclock.c">a new #GstClock that receives a time from the remote
clock.</doc>
<type name="Gst.Clock" c:type="GstClock*"/>
</return-value>
<parameters>
<parameter name="name" transfer-ownership="none" nullable="1" allow-none="1">
<doc xml:space="preserve" filename="../subprojects/gstreamer/libs/gst/net/gstnetclientclock.c">a name for the clock</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
<parameter name="remote_address" transfer-ownership="none">
<doc xml:space="preserve" filename="../subprojects/gstreamer/libs/gst/net/gstnetclientclock.c">the address or hostname of the remote clock provider</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
<parameter name="remote_port" transfer-ownership="none">
<doc xml:space="preserve" filename="../subprojects/gstreamer/libs/gst/net/gstnetclientclock.c">the port of the remote clock provider</doc>
<type name="gint" c:type="gint"/>
</parameter>
<parameter name="base_time" transfer-ownership="none">
<doc xml:space="preserve" filename="../subprojects/gstreamer/libs/gst/net/gstnetclientclock.c">initial time of the clock</doc>
<type name="Gst.ClockTime" c:type="GstClockTime"/>
</parameter>
</parameters>
</constructor>
<property name="address" writable="1" construct="1" transfer-ownership="none">
<type name="utf8" c:type="gchar*"/>
</property>
<property name="base-time" writable="1" construct-only="1" transfer-ownership="none">
<type name="guint64" c:type="guint64"/>
</property>
<property name="bus" writable="1" transfer-ownership="none">
<type name="Gst.Bus"/>
</property>
<property name="internal-clock" transfer-ownership="none">
<type name="Gst.Clock"/>
</property>
<property name="minimum-update-interval" writable="1" transfer-ownership="none">
<type name="guint64" c:type="guint64"/>
</property>
<property name="port" writable="1" construct="1" transfer-ownership="none">
<type name="gint" c:type="gint"/>
</property>
<property name="qos-dscp" writable="1" transfer-ownership="none">
<type name="gint" c:type="gint"/>
</property>
<property name="round-trip-limit" writable="1" transfer-ownership="none">
<type name="guint64" c:type="guint64"/>
</property>
<field name="clock">
<type name="Gst.SystemClock" c:type="GstSystemClock"/>
</field>
<field name="priv" readable="0" private="1">
<type name="NetClientClockPrivate" c:type="GstNetClientClockPrivate*"/>
</field>
<field name="_gst_reserved" readable="0" private="1">
<array zero-terminated="0" fixed-size="4">
<type name="gpointer" c:type="gpointer"/>
</array>
</field>
</class>
<record name="NetClientClockClass" c:type="GstNetClientClockClass" glib:is-gtype-struct-for="NetClientClock">
<source-position filename="../subprojects/gstreamer/libs/gst/net/gstnetclientclock.h"/>
<field name="parent_class">
<type name="Gst.SystemClockClass" c:type="GstSystemClockClass"/>
</field>
<field name="_gst_reserved" readable="0" private="1">
<array zero-terminated="0" fixed-size="4">
<type name="gpointer" c:type="gpointer"/>
</array>
</field>
</record>
<record name="NetClientClockPrivate" c:type="GstNetClientClockPrivate" disguised="1">
<source-position filename="../subprojects/gstreamer/libs/gst/net/gstnetclientclock.h"/>
</record>
<record name="NetControlMessageMeta" c:type="GstNetControlMessageMeta">
<doc xml:space="preserve" filename="../subprojects/gstreamer/libs/gst/net/gstnetcontrolmessagemeta.c">#GstNetControlMessageMeta can be used to store control messages (ancillary
data) which was received with or is to be sent alongside the buffer data.
When used with socket sinks and sources which understand this meta it allows
sending and receiving ancillary data such as unix credentials (See
#GUnixCredentialsMessage) and Unix file descriptions (See #GUnixFDMessage).</doc>
<source-position filename="../subprojects/gstreamer/libs/gst/net/gstnetcontrolmessagemeta.h"/>
<field name="meta" writable="1">
<doc xml:space="preserve" filename="../subprojects/gstreamer/libs/gst/net/gstnetcontrolmessagemeta.h">the parent type</doc>
<type name="Gst.Meta" c:type="GstMeta"/>
</field>
<field name="message" writable="1">
<doc xml:space="preserve" filename="../subprojects/gstreamer/libs/gst/net/gstnetcontrolmessagemeta.h">a #GSocketControlMessage stored as metadata</doc>
<type name="Gio.SocketControlMessage" c:type="GSocketControlMessage*"/>
</field>
<function name="get_info" c:identifier="gst_net_control_message_meta_get_info">
<source-position filename="../subprojects/gstreamer/libs/gst/net/gstnetcontrolmessagemeta.h"/>
<return-value transfer-ownership="none">
<type name="Gst.MetaInfo" c:type="const GstMetaInfo*"/>
</return-value>
</function>
</record>
<record name="NetTimePacket" c:type="GstNetTimePacket" glib:type-name="GstNetTimePacket" glib:get-type="gst_net_time_packet_get_type" c:symbol-prefix="net_time_packet">
<doc xml:space="preserve" filename="../subprojects/gstreamer/libs/gst/net/gstnettimepacket.c">Various functions for receiving, sending an serializing #GstNetTimePacket
structures.</doc>
<source-position filename="../subprojects/gstreamer/libs/gst/net/gstnettimepacket.h"/>
<field name="local_time" writable="1">
<doc xml:space="preserve" filename="../subprojects/gstreamer/libs/gst/net/gstnettimepacket.h">the local time when this packet was sent</doc>
<type name="Gst.ClockTime" c:type="GstClockTime"/>
</field>
<field name="remote_time" writable="1">
<doc xml:space="preserve" filename="../subprojects/gstreamer/libs/gst/net/gstnettimepacket.h">the remote time observation</doc>
<type name="Gst.ClockTime" c:type="GstClockTime"/>
</field>
<constructor name="new" c:identifier="gst_net_time_packet_new">
<doc xml:space="preserve" filename="../subprojects/gstreamer/libs/gst/net/gstnettimepacket.c">Creates a new #GstNetTimePacket from a buffer received over the network. The
caller is responsible for ensuring that @buffer is at least
#GST_NET_TIME_PACKET_SIZE bytes long.
If @buffer is %NULL, the local and remote times will be set to
#GST_CLOCK_TIME_NONE.
MT safe. Caller owns return value (gst_net_time_packet_free to free).</doc>
<source-position filename="../subprojects/gstreamer/libs/gst/net/gstnettimepacket.h"/>
<return-value transfer-ownership="full">
<doc xml:space="preserve" filename="../subprojects/gstreamer/libs/gst/net/gstnettimepacket.c">The new #GstNetTimePacket.</doc>
<type name="NetTimePacket" c:type="GstNetTimePacket*"/>
</return-value>
<parameters>
<parameter name="buffer" transfer-ownership="none" nullable="1" allow-none="1">
<doc xml:space="preserve" filename="../subprojects/gstreamer/libs/gst/net/gstnettimepacket.c">a buffer from which to construct the packet, or NULL</doc>
<array zero-terminated="0" c:type="const guint8*" fixed-size="16">
<type name="guint8" c:type="guint8"/>
</array>
</parameter>
</parameters>
</constructor>
<method name="copy" c:identifier="gst_net_time_packet_copy">
<doc xml:space="preserve" filename="../subprojects/gstreamer/libs/gst/net/gstnettimepacket.c">Make a copy of @packet.</doc>
<source-position filename="../subprojects/gstreamer/libs/gst/net/gstnettimepacket.h"/>
<return-value transfer-ownership="full">
<doc xml:space="preserve" filename="../subprojects/gstreamer/libs/gst/net/gstnettimepacket.c">a copy of @packet, free with gst_net_time_packet_free().</doc>
<type name="NetTimePacket" c:type="GstNetTimePacket*"/>
</return-value>
<parameters>
<instance-parameter name="packet" transfer-ownership="none">
<doc xml:space="preserve" filename="../subprojects/gstreamer/libs/gst/net/gstnettimepacket.c">the #GstNetTimePacket</doc>
<type name="NetTimePacket" c:type="const GstNetTimePacket*"/>
</instance-parameter>
</parameters>
</method>
<method name="free" c:identifier="gst_net_time_packet_free">
<doc xml:space="preserve" filename="../subprojects/gstreamer/libs/gst/net/gstnettimepacket.c">Free @packet.</doc>
<source-position filename="../subprojects/gstreamer/libs/gst/net/gstnettimepacket.h"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="packet" transfer-ownership="none">
<doc xml:space="preserve" filename="../subprojects/gstreamer/libs/gst/net/gstnettimepacket.c">the #GstNetTimePacket</doc>
<type name="NetTimePacket" c:type="GstNetTimePacket*"/>
</instance-parameter>
</parameters>
</method>
<method name="send" c:identifier="gst_net_time_packet_send" throws="1">
<doc xml:space="preserve" filename="../subprojects/gstreamer/libs/gst/net/gstnettimepacket.c">Sends a #GstNetTimePacket over a socket.
MT safe.</doc>
<source-position filename="../subprojects/gstreamer/libs/gst/net/gstnettimepacket.h"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve" filename="../subprojects/gstreamer/libs/gst/net/gstnettimepacket.c">TRUE if successful, FALSE in case an error occurred.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="packet" transfer-ownership="none">
<doc xml:space="preserve" filename="../subprojects/gstreamer/libs/gst/net/gstnettimepacket.c">the #GstNetTimePacket to send</doc>
<type name="NetTimePacket" c:type="const GstNetTimePacket*"/>
</instance-parameter>
<parameter name="socket" transfer-ownership="none">
<doc xml:space="preserve" filename="../subprojects/gstreamer/libs/gst/net/gstnettimepacket.c">socket to send the time packet on</doc>
<type name="Gio.Socket" c:type="GSocket*"/>
</parameter>
<parameter name="dest_address" transfer-ownership="none">
<doc xml:space="preserve" filename="../subprojects/gstreamer/libs/gst/net/gstnettimepacket.c">address to send the time packet to</doc>
<type name="Gio.SocketAddress" c:type="GSocketAddress*"/>
</parameter>
</parameters>
</method>
<method name="serialize" c:identifier="gst_net_time_packet_serialize">
<doc xml:space="preserve" filename="../subprojects/gstreamer/libs/gst/net/gstnettimepacket.c">Serialized a #GstNetTimePacket into a newly-allocated sequence of
#GST_NET_TIME_PACKET_SIZE bytes, in network byte order. The value returned is
suitable for passing to write(2) or sendto(2) for communication over the
network.
MT safe. Caller owns return value (g_free to free).</doc>
<source-position filename="../subprojects/gstreamer/libs/gst/net/gstnettimepacket.h"/>
<return-value transfer-ownership="full">
<doc xml:space="preserve" filename="../subprojects/gstreamer/libs/gst/net/gstnettimepacket.c">A newly allocated sequence of #GST_NET_TIME_PACKET_SIZE bytes.</doc>
<array zero-terminated="0" c:type="guint8*" fixed-size="16">
<type name="guint8" c:type="guint8"/>
</array>
</return-value>
<parameters>
<instance-parameter name="packet" transfer-ownership="none">
<doc xml:space="preserve" filename="../subprojects/gstreamer/libs/gst/net/gstnettimepacket.c">the #GstNetTimePacket</doc>
<type name="NetTimePacket" c:type="const GstNetTimePacket*"/>
</instance-parameter>
</parameters>
</method>
<function name="receive" c:identifier="gst_net_time_packet_receive" throws="1">
<doc xml:space="preserve" filename="../subprojects/gstreamer/libs/gst/net/gstnettimepacket.c">Receives a #GstNetTimePacket over a socket. Handles interrupted system
calls, but otherwise returns NULL on error.</doc>
<source-position filename="../subprojects/gstreamer/libs/gst/net/gstnettimepacket.h"/>
<return-value transfer-ownership="full">
<doc xml:space="preserve" filename="../subprojects/gstreamer/libs/gst/net/gstnettimepacket.c">a new #GstNetTimePacket, or NULL on error. Free
with gst_net_time_packet_free() when done.</doc>
<type name="NetTimePacket" c:type="GstNetTimePacket*"/>
</return-value>
<parameters>
<parameter name="socket" transfer-ownership="none">
<doc xml:space="preserve" filename="../subprojects/gstreamer/libs/gst/net/gstnettimepacket.c">socket to receive the time packet on</doc>
<type name="Gio.Socket" c:type="GSocket*"/>
</parameter>
<parameter name="src_address" direction="out" caller-allocates="0" transfer-ownership="full" optional="1" allow-none="1">
<doc xml:space="preserve" filename="../subprojects/gstreamer/libs/gst/net/gstnettimepacket.c">address of variable to return sender address</doc>
<type name="Gio.SocketAddress" c:type="GSocketAddress**"/>
</parameter>
</parameters>
</function>
</record>
<class name="NetTimeProvider" c:symbol-prefix="net_time_provider" c:type="GstNetTimeProvider" parent="Gst.Object" glib:type-name="GstNetTimeProvider" glib:get-type="gst_net_time_provider_get_type" glib:type-struct="NetTimeProviderClass">
<doc xml:space="preserve" filename="../subprojects/gstreamer/libs/gst/net/gstnettimeprovider.c">This object exposes the time of a #GstClock on the network.
A #GstNetTimeProvider is created with gst_net_time_provider_new() which
takes a #GstClock, an address and a port number as arguments.
After creating the object, a client clock such as #GstNetClientClock can
query the exposed clock over the network for its values.
The #GstNetTimeProvider typically wraps the clock used by a #GstPipeline.</doc>
<source-position filename="../subprojects/gstreamer/libs/gst/net/gstnettimeprovider.h"/>
<implements name="Gio.Initable"/>
<constructor name="new" c:identifier="gst_net_time_provider_new">
<doc xml:space="preserve" filename="../subprojects/gstreamer/libs/gst/net/gstnettimeprovider.c">Allows network clients to get the current time of @clock.</doc>
<source-position filename="../subprojects/gstreamer/libs/gst/net/gstnettimeprovider.h"/>
<return-value transfer-ownership="full" nullable="1">
<doc xml:space="preserve" filename="../subprojects/gstreamer/libs/gst/net/gstnettimeprovider.c">the new #GstNetTimeProvider, or NULL on error</doc>
<type name="NetTimeProvider" c:type="GstNetTimeProvider*"/>
</return-value>
<parameters>
<parameter name="clock" transfer-ownership="none">
<doc xml:space="preserve" filename="../subprojects/gstreamer/libs/gst/net/gstnettimeprovider.c">a #GstClock to export over the network</doc>
<type name="Gst.Clock" c:type="GstClock*"/>
</parameter>
<parameter name="address" transfer-ownership="none" nullable="1" allow-none="1">
<doc xml:space="preserve" filename="../subprojects/gstreamer/libs/gst/net/gstnettimeprovider.c">an address to bind on as a dotted quad
(xxx.xxx.xxx.xxx), IPv6 address, or NULL to bind to all addresses</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
<parameter name="port" transfer-ownership="none">
<doc xml:space="preserve" filename="../subprojects/gstreamer/libs/gst/net/gstnettimeprovider.c">a port to bind on, or 0 to let the kernel choose</doc>
<type name="gint" c:type="gint"/>
</parameter>
</parameters>
</constructor>
<property name="active" writable="1" transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</property>
<property name="address" writable="1" construct-only="1" transfer-ownership="none">
<type name="utf8" c:type="gchar*"/>
</property>
<property name="clock" writable="1" construct-only="1" transfer-ownership="none">
<type name="Gst.Clock"/>
</property>
<property name="port" writable="1" construct-only="1" transfer-ownership="none">
<type name="gint" c:type="gint"/>
</property>
<property name="qos-dscp" writable="1" transfer-ownership="none">
<type name="gint" c:type="gint"/>
</property>
<field name="parent">
<type name="Gst.Object" c:type="GstObject"/>
</field>
<field name="priv" readable="0" private="1">
<type name="NetTimeProviderPrivate" c:type="GstNetTimeProviderPrivate*"/>
</field>
<field name="_gst_reserved" readable="0" private="1">
<array zero-terminated="0" fixed-size="4">
<type name="gpointer" c:type="gpointer"/>
</array>
</field>
</class>
<record name="NetTimeProviderClass" c:type="GstNetTimeProviderClass" glib:is-gtype-struct-for="NetTimeProvider">
<source-position filename="../subprojects/gstreamer/libs/gst/net/gstnettimeprovider.h"/>
<field name="parent_class">
<type name="Gst.ObjectClass" c:type="GstObjectClass"/>
</field>
<field name="_gst_reserved">
<array zero-terminated="0" fixed-size="4">
<type name="gpointer" c:type="gpointer"/>
</array>
</field>
</record>
<record name="NetTimeProviderPrivate" c:type="GstNetTimeProviderPrivate" disguised="1">
<source-position filename="../subprojects/gstreamer/libs/gst/net/gstnettimeprovider.h"/>
</record>
<class name="NtpClock" c:symbol-prefix="ntp_clock" c:type="GstNtpClock" parent="NetClientClock" glib:type-name="GstNtpClock" glib:get-type="gst_ntp_clock_get_type" glib:type-struct="NtpClockClass">
<source-position filename="../subprojects/gstreamer/libs/gst/net/gstnetclientclock.h"/>
<constructor name="new" c:identifier="gst_ntp_clock_new" version="1.6">
<doc xml:space="preserve" filename="../subprojects/gstreamer/libs/gst/net/gstnetclientclock.c">Create a new #GstNtpClock that will report the time provided by
the NTPv4 server on @remote_address and @remote_port.</doc>
<source-position filename="../subprojects/gstreamer/libs/gst/net/gstnetclientclock.h"/>
<return-value transfer-ownership="full">
<doc xml:space="preserve" filename="../subprojects/gstreamer/libs/gst/net/gstnetclientclock.c">a new #GstClock that receives a time from the remote
clock.</doc>
<type name="Gst.Clock" c:type="GstClock*"/>
</return-value>
<parameters>
<parameter name="name" transfer-ownership="none" nullable="1" allow-none="1">
<doc xml:space="preserve" filename="../subprojects/gstreamer/libs/gst/net/gstnetclientclock.c">a name for the clock</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
<parameter name="remote_address" transfer-ownership="none">
<doc xml:space="preserve" filename="../subprojects/gstreamer/libs/gst/net/gstnetclientclock.c">the address or hostname of the remote clock provider</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
<parameter name="remote_port" transfer-ownership="none">
<doc xml:space="preserve" filename="../subprojects/gstreamer/libs/gst/net/gstnetclientclock.c">the port of the remote clock provider</doc>
<type name="gint" c:type="gint"/>
</parameter>
<parameter name="base_time" transfer-ownership="none">
<doc xml:space="preserve" filename="../subprojects/gstreamer/libs/gst/net/gstnetclientclock.c">initial time of the clock</doc>
<type name="Gst.ClockTime" c:type="GstClockTime"/>
</parameter>
</parameters>
</constructor>
<field name="clock">
<type name="Gst.SystemClock" c:type="GstSystemClock"/>
</field>
<field name="priv" readable="0" private="1">
<type name="NetClientClockPrivate" c:type="GstNetClientClockPrivate*"/>
</field>
<field name="_gst_reserved" readable="0" private="1">
<array zero-terminated="0" fixed-size="4">
<type name="gpointer" c:type="gpointer"/>
</array>
</field>
</class>
<record name="NtpClockClass" c:type="GstNtpClockClass" glib:is-gtype-struct-for="NtpClock">
<source-position filename="../subprojects/gstreamer/libs/gst/net/gstnetclientclock.h"/>
<field name="parent_class">
<type name="Gst.SystemClockClass" c:type="GstSystemClockClass"/>
</field>
<field name="_gst_reserved" readable="0" private="1">
<array zero-terminated="0" fixed-size="4">
<type name="gpointer" c:type="gpointer"/>
</array>
</field>
</record>
<function-macro name="PTP_CLOCK" c:identifier="GST_PTP_CLOCK" introspectable="0">
<source-position filename="../subprojects/gstreamer/libs/gst/net/gstptpclock.h"/>
<parameters>
<parameter name="obj">
</parameter>
</parameters>
</function-macro>
<function-macro name="PTP_CLOCK_CLASS" c:identifier="GST_PTP_CLOCK_CLASS" introspectable="0">
<source-position filename="../subprojects/gstreamer/libs/gst/net/gstptpclock.h"/>
<parameters>
<parameter name="klass">
</parameter>
</parameters>
</function-macro>
<constant name="PTP_CLOCK_ID_NONE" value="18446744073709551615" c:type="GST_PTP_CLOCK_ID_NONE">
<doc xml:space="preserve" filename="../subprojects/gstreamer/libs/gst/net/gstptpclock.h">PTP clock identification that can be passed to gst_ptp_init() to
automatically select one based on the MAC address of interfaces</doc>
<source-position filename="../subprojects/gstreamer/libs/gst/net/gstptpclock.h"/>
<type name="guint64" c:type="guint64"/>
</constant>
<constant name="PTP_STATISTICS_BEST_MASTER_CLOCK_SELECTED" value="GstPtpStatisticsBestMasterClockSelected" c:type="GST_PTP_STATISTICS_BEST_MASTER_CLOCK_SELECTED">
<source-position filename="../subprojects/gstreamer/libs/gst/net/gstptpclock.h"/>
<type name="utf8" c:type="gchar*"/>
</constant>
<constant name="PTP_STATISTICS_NEW_DOMAIN_FOUND" value="GstPtpStatisticsNewDomainFound" c:type="GST_PTP_STATISTICS_NEW_DOMAIN_FOUND">
<source-position filename="../subprojects/gstreamer/libs/gst/net/gstptpclock.h"/>
<type name="utf8" c:type="gchar*"/>
</constant>
<constant name="PTP_STATISTICS_PATH_DELAY_MEASURED" value="GstPtpStatisticsPathDelayMeasured" c:type="GST_PTP_STATISTICS_PATH_DELAY_MEASURED">
<source-position filename="../subprojects/gstreamer/libs/gst/net/gstptpclock.h"/>
<type name="utf8" c:type="gchar*"/>
</constant>
<constant name="PTP_STATISTICS_TIME_UPDATED" value="GstPtpStatisticsTimeUpdated" c:type="GST_PTP_STATISTICS_TIME_UPDATED">
<source-position filename="../subprojects/gstreamer/libs/gst/net/gstptpclock.h"/>
<type name="utf8" c:type="gchar*"/>
</constant>
<class name="PtpClock" c:symbol-prefix="ptp_clock" c:type="GstPtpClock" version="1.6" parent="Gst.SystemClock" glib:type-name="GstPtpClock" glib:get-type="gst_ptp_clock_get_type" glib:type-struct="PtpClockClass">
<doc xml:space="preserve" filename="../subprojects/gstreamer/libs/gst/net/gstptpclock.c">GstPtpClock implements a PTP (IEEE1588:2008) ordinary clock in slave-only
mode, that allows a GStreamer pipeline to synchronize to a PTP network
clock in some specific domain.
The PTP subsystem can be initialized with gst_ptp_init(), which then starts
a helper process to do the actual communication via the PTP ports. This is
required as PTP listens on ports &lt; 1024 and thus requires special
privileges. Once this helper process is started, the main process will
synchronize to all PTP domains that are detected on the selected
interfaces.
gst_ptp_clock_new() then allows to create a GstClock that provides the PTP
time from a master clock inside a specific PTP domain. This clock will only
return valid timestamps once the timestamps in the PTP domain are known. To
check this, you can use gst_clock_wait_for_sync(), the GstClock::synced
signal and gst_clock_is_synced().
To gather statistics about the PTP clock synchronization,
gst_ptp_statistics_callback_add() can be used. This gives the application
the possibility to collect all kinds of statistics from the clock
synchronization.</doc>
<source-position filename="../subprojects/gstreamer/libs/gst/net/gstptpclock.h"/>
<constructor name="new" c:identifier="gst_ptp_clock_new" version="1.6">
<doc xml:space="preserve" filename="../subprojects/gstreamer/libs/gst/net/gstptpclock.c">Creates a new PTP clock instance that exports the PTP time of the master
clock in @domain. This clock can be slaved to other clocks as needed.
If gst_ptp_init() was not called before, this will call gst_ptp_init() with
default parameters.
This clock only returns valid timestamps after it received the first
times from the PTP master clock on the network. Once this happens the
GstPtpClock::internal-clock property will become non-NULL. You can
check this with gst_clock_wait_for_sync(), the GstClock::synced signal and
gst_clock_is_synced().</doc>
<source-position filename="../subprojects/gstreamer/libs/gst/net/gstptpclock.h"/>
<return-value transfer-ownership="full">
<doc xml:space="preserve" filename="../subprojects/gstreamer/libs/gst/net/gstptpclock.c">A new #GstClock</doc>
<type name="Gst.Clock" c:type="GstClock*"/>
</return-value>
<parameters>
<parameter name="name" transfer-ownership="none">
<doc xml:space="preserve" filename="../subprojects/gstreamer/libs/gst/net/gstptpclock.c">Name of the clock</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
<parameter name="domain" transfer-ownership="none">
<doc xml:space="preserve" filename="../subprojects/gstreamer/libs/gst/net/gstptpclock.c">PTP domain</doc>
<type name="guint" c:type="guint"/>
</parameter>
</parameters>
</constructor>
<property name="domain" writable="1" construct-only="1" transfer-ownership="none">
<type name="guint" c:type="guint"/>
</property>
<property name="grandmaster-clock-id" transfer-ownership="none">
<type name="guint64" c:type="guint64"/>
</property>
<property name="internal-clock" transfer-ownership="none">
<type name="Gst.Clock"/>
</property>
<property name="master-clock-id" transfer-ownership="none">
<type name="guint64" c:type="guint64"/>
</property>
<field name="clock">
<type name="Gst.SystemClock" c:type="GstSystemClock"/>
</field>
<field name="priv" readable="0" private="1">
<type name="PtpClockPrivate" c:type="GstPtpClockPrivate*"/>
</field>
<field name="_gst_reserved" readable="0" private="1">
<array zero-terminated="0" fixed-size="4">
<type name="gpointer" c:type="gpointer"/>
</array>
</field>
</class>
<record name="PtpClockClass" c:type="GstPtpClockClass" glib:is-gtype-struct-for="PtpClock">
<doc xml:space="preserve" filename="../subprojects/gstreamer/libs/gst/net/gstptpclock.h">Opaque #GstPtpClockClass structure.</doc>
<source-position filename="../subprojects/gstreamer/libs/gst/net/gstptpclock.h"/>
<field name="parent_class">
<doc xml:space="preserve" filename="../subprojects/gstreamer/libs/gst/net/gstptpclock.h">parented to #GstSystemClockClass</doc>
<type name="Gst.SystemClockClass" c:type="GstSystemClockClass"/>
</field>
<field name="_gst_reserved" readable="0" private="1">
<array zero-terminated="0" fixed-size="4">
<type name="gpointer" c:type="gpointer"/>
</array>
</field>
</record>
<record name="PtpClockPrivate" c:type="GstPtpClockPrivate" disguised="1">
<source-position filename="../subprojects/gstreamer/libs/gst/net/gstptpclock.h"/>
</record>
<callback name="PtpStatisticsCallback" c:type="GstPtpStatisticsCallback">
<doc xml:space="preserve" filename="../subprojects/gstreamer/libs/gst/net/gstptpclock.h">The statistics can be the following structures:
GST_PTP_STATISTICS_NEW_DOMAIN_FOUND:
"domain" G_TYPE_UINT The domain identifier of the domain
"clock" GST_TYPE_CLOCK The internal clock that is slaved to the
PTP domain
GST_PTP_STATISTICS_BEST_MASTER_CLOCK_SELECTED:
"domain" G_TYPE_UINT The domain identifier of the domain
"master-clock-id" G_TYPE_UINT64 PTP clock identifier of the selected master
clock
"master-clock-port" G_TYPE_UINT PTP port number of the selected master clock
"grandmaster-clock-id" G_TYPE_UINT64 PTP clock identifier of the grandmaster clock
GST_PTP_STATISTICS_PATH_DELAY_MEASURED:
"domain" G_TYPE_UINT The domain identifier of the domain
"mean-path-delay-avg" GST_TYPE_CLOCK_TIME Average mean path delay
"mean-path-delay" GST_TYPE_CLOCK_TIME Latest mean path delay
"delay-request-delay" GST_TYPE_CLOCK_TIME Delay of DELAY_REQ / DELAY_RESP messages
GST_PTP_STATISTICS_TIME_UPDATED:
"domain" G_TYPE_UINT The domain identifier of the domain
"mean-path-delay-avg" GST_TYPE_CLOCK_TIME Average mean path delay
"local-time" GST_TYPE_CLOCK_TIME Local time that corresponds to ptp-time
"ptp-time" GST_TYPE_CLOCK_TIME Newly measured PTP time at local-time
"estimated-ptp-time" GST_TYPE_CLOCK_TIME Estimated PTP time based on previous measurements
"discontinuity" G_TYPE_INT64 Difference between estimated and measured PTP time
"synced" G_TYPE_BOOLEAN Currently synced to the remote clock
"r-squared" G_TYPE_DOUBLE R&#178; of clock estimation regression
"internal-time" GST_TYPE_CLOCK_TIME Internal time clock parameter
"external-time" GST_TYPE_CLOCK_TIME External time clock parameter
"rate-num" G_TYPE_UINT64 Internal/external rate numerator
"rate-den" G_TYPE_UINT64 Internal/external rate denominator
"rate" G_TYPE_DOUBLE Internal/external rate
If %FALSE is returned, the callback is removed and never called again.</doc>
<source-position filename="../subprojects/gstreamer/libs/gst/net/gstptpclock.h"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<parameter name="domain" transfer-ownership="none">
<doc xml:space="preserve" filename="../subprojects/gstreamer/libs/gst/net/gstptpclock.h">PTP domain identifier</doc>
<type name="guint8" c:type="guint8"/>
</parameter>
<parameter name="stats" transfer-ownership="none">
<doc xml:space="preserve" filename="../subprojects/gstreamer/libs/gst/net/gstptpclock.h">New statistics</doc>
<type name="Gst.Structure" c:type="const GstStructure*"/>
</parameter>
<parameter name="user_data" transfer-ownership="none" nullable="1" allow-none="1" closure="2">
<doc xml:space="preserve" filename="../subprojects/gstreamer/libs/gst/net/gstptpclock.h">Data passed to gst_ptp_statistics_callback_add()</doc>
<type name="gpointer" c:type="gpointer"/>
</parameter>
</parameters>
</callback>
<function name="buffer_add_net_address_meta" c:identifier="gst_buffer_add_net_address_meta">
<doc xml:space="preserve" filename="../subprojects/gstreamer/libs/gst/net/gstnetaddressmeta.c">Attaches @addr as metadata in a #GstNetAddressMeta to @buffer.</doc>
<source-position filename="../subprojects/gstreamer/libs/gst/net/gstnetaddressmeta.h"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve" filename="../subprojects/gstreamer/libs/gst/net/gstnetaddressmeta.c">a #GstNetAddressMeta connected to @buffer</doc>
<type name="NetAddressMeta" c:type="GstNetAddressMeta*"/>
</return-value>
<parameters>
<parameter name="buffer" transfer-ownership="none">
<doc xml:space="preserve" filename="../subprojects/gstreamer/libs/gst/net/gstnetaddressmeta.c">a #GstBuffer</doc>
<type name="Gst.Buffer" c:type="GstBuffer*"/>
</parameter>
<parameter name="addr" transfer-ownership="none">
<doc xml:space="preserve" filename="../subprojects/gstreamer/libs/gst/net/gstnetaddressmeta.c">a @GSocketAddress to connect to @buffer</doc>
<type name="Gio.SocketAddress" c:type="GSocketAddress*"/>
</parameter>
</parameters>
</function>
<function name="buffer_add_net_control_message_meta" c:identifier="gst_buffer_add_net_control_message_meta">
<doc xml:space="preserve" filename="../subprojects/gstreamer/libs/gst/net/gstnetcontrolmessagemeta.c">Attaches @message as metadata in a #GstNetControlMessageMeta to @buffer.</doc>
<source-position filename="../subprojects/gstreamer/libs/gst/net/gstnetcontrolmessagemeta.h"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve" filename="../subprojects/gstreamer/libs/gst/net/gstnetcontrolmessagemeta.c">a #GstNetControlMessageMeta connected to @buffer</doc>
<type name="NetControlMessageMeta" c:type="GstNetControlMessageMeta*"/>
</return-value>
<parameters>
<parameter name="buffer" transfer-ownership="none">
<doc xml:space="preserve" filename="../subprojects/gstreamer/libs/gst/net/gstnetcontrolmessagemeta.c">a #GstBuffer</doc>
<type name="Gst.Buffer" c:type="GstBuffer*"/>
</parameter>
<parameter name="message" transfer-ownership="none">
<doc xml:space="preserve" filename="../subprojects/gstreamer/libs/gst/net/gstnetcontrolmessagemeta.c">a @GSocketControlMessage to attach to @buffer</doc>
<type name="Gio.SocketControlMessage" c:type="GSocketControlMessage*"/>
</parameter>
</parameters>
</function>
<function name="buffer_get_net_address_meta" c:identifier="gst_buffer_get_net_address_meta">
<doc xml:space="preserve" filename="../subprojects/gstreamer/libs/gst/net/gstnetaddressmeta.c">Find the #GstNetAddressMeta on @buffer.</doc>
<source-position filename="../subprojects/gstreamer/libs/gst/net/gstnetaddressmeta.h"/>
<return-value transfer-ownership="none" nullable="1">
<doc xml:space="preserve" filename="../subprojects/gstreamer/libs/gst/net/gstnetaddressmeta.c">the #GstNetAddressMeta or %NULL when there
is no such metadata on @buffer.</doc>
<type name="NetAddressMeta" c:type="GstNetAddressMeta*"/>
</return-value>
<parameters>
<parameter name="buffer" transfer-ownership="none">
<doc xml:space="preserve" filename="../subprojects/gstreamer/libs/gst/net/gstnetaddressmeta.c">a #GstBuffer</doc>
<type name="Gst.Buffer" c:type="GstBuffer*"/>
</parameter>
</parameters>
</function>
<function-macro name="buffer_get_net_control_message_meta" c:identifier="gst_buffer_get_net_control_message_meta" introspectable="0">
<source-position filename="../subprojects/gstreamer/libs/gst/net/gstnetcontrolmessagemeta.h"/>
<parameters>
<parameter name="b">
</parameter>
</parameters>
</function-macro>
<function name="net_address_meta_api_get_type" c:identifier="gst_net_address_meta_api_get_type">
<source-position filename="../subprojects/gstreamer/libs/gst/net/gstnetaddressmeta.h"/>
<return-value transfer-ownership="none">
<type name="GType" c:type="GType"/>
</return-value>
</function>
<function name="net_address_meta_get_info" c:identifier="gst_net_address_meta_get_info" moved-to="NetAddressMeta.get_info">
<source-position filename="../subprojects/gstreamer/libs/gst/net/gstnetaddressmeta.h"/>
<return-value transfer-ownership="none">
<type name="Gst.MetaInfo" c:type="const GstMetaInfo*"/>
</return-value>
</function>
<function name="net_control_message_meta_api_get_type" c:identifier="gst_net_control_message_meta_api_get_type">
<source-position filename="../subprojects/gstreamer/libs/gst/net/gstnetcontrolmessagemeta.h"/>
<return-value transfer-ownership="none">
<type name="GType" c:type="GType"/>
</return-value>
</function>
<function name="net_control_message_meta_get_info" c:identifier="gst_net_control_message_meta_get_info" moved-to="NetControlMessageMeta.get_info">
<source-position filename="../subprojects/gstreamer/libs/gst/net/gstnetcontrolmessagemeta.h"/>
<return-value transfer-ownership="none">
<type name="Gst.MetaInfo" c:type="const GstMetaInfo*"/>
</return-value>
</function>
<function name="net_time_packet_receive" c:identifier="gst_net_time_packet_receive" moved-to="NetTimePacket.receive" throws="1">
<doc xml:space="preserve" filename="../subprojects/gstreamer/libs/gst/net/gstnettimepacket.c">Receives a #GstNetTimePacket over a socket. Handles interrupted system
calls, but otherwise returns NULL on error.</doc>
<source-position filename="../subprojects/gstreamer/libs/gst/net/gstnettimepacket.h"/>
<return-value transfer-ownership="full">
<doc xml:space="preserve" filename="../subprojects/gstreamer/libs/gst/net/gstnettimepacket.c">a new #GstNetTimePacket, or NULL on error. Free
with gst_net_time_packet_free() when done.</doc>
<type name="NetTimePacket" c:type="GstNetTimePacket*"/>
</return-value>
<parameters>
<parameter name="socket" transfer-ownership="none">
<doc xml:space="preserve" filename="../subprojects/gstreamer/libs/gst/net/gstnettimepacket.c">socket to receive the time packet on</doc>
<type name="Gio.Socket" c:type="GSocket*"/>
</parameter>
<parameter name="src_address" direction="out" caller-allocates="0" transfer-ownership="full" optional="1" allow-none="1">
<doc xml:space="preserve" filename="../subprojects/gstreamer/libs/gst/net/gstnettimepacket.c">address of variable to return sender address</doc>
<type name="Gio.SocketAddress" c:type="GSocketAddress**"/>
</parameter>
</parameters>
</function>
<function name="net_utils_set_socket_tos" c:identifier="gst_net_utils_set_socket_tos" version="1.18">
<doc xml:space="preserve" filename="../subprojects/gstreamer/libs/gst/net/gstnetutils.c">Configures IP_TOS value of socket, i.e. sets QoS DSCP.</doc>
<source-position filename="../subprojects/gstreamer/libs/gst/net/gstnetutils.h"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve" filename="../subprojects/gstreamer/libs/gst/net/gstnetutils.c">TRUE if successful, FALSE in case an error occurred.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<parameter name="socket" transfer-ownership="none">
<doc xml:space="preserve" filename="../subprojects/gstreamer/libs/gst/net/gstnetutils.c">Socket to configure</doc>
<type name="Gio.Socket" c:type="GSocket*"/>
</parameter>
<parameter name="qos_dscp" transfer-ownership="none">
<doc xml:space="preserve" filename="../subprojects/gstreamer/libs/gst/net/gstnetutils.c">QoS DSCP value</doc>
<type name="gint" c:type="gint"/>
</parameter>
</parameters>
</function>
<function name="ptp_deinit" c:identifier="gst_ptp_deinit" version="1.6">
<doc xml:space="preserve" filename="../subprojects/gstreamer/libs/gst/net/gstptpclock.c">Deinitialize the GStreamer PTP subsystem and stop the PTP clock. If there
are any remaining GstPtpClock instances, they won't be further synchronized
to the PTP network clock.</doc>
<source-position filename="../subprojects/gstreamer/libs/gst/net/gstptpclock.h"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</function>
<function name="ptp_init" c:identifier="gst_ptp_init" version="1.6">
<doc xml:space="preserve" filename="../subprojects/gstreamer/libs/gst/net/gstptpclock.c">Initialize the GStreamer PTP subsystem and create a PTP ordinary clock in
slave-only mode for all domains on the given @interfaces with the
given @clock_id.
If @clock_id is %GST_PTP_CLOCK_ID_NONE, a clock id is automatically
generated from the MAC address of the first network interface.
This function is automatically called by gst_ptp_clock_new() with default
parameters if it wasn't called before.</doc>
<source-position filename="../subprojects/gstreamer/libs/gst/net/gstptpclock.h"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve" filename="../subprojects/gstreamer/libs/gst/net/gstptpclock.c">%TRUE if the GStreamer PTP clock subsystem could be initialized.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<parameter name="clock_id" transfer-ownership="none">
<doc xml:space="preserve" filename="../subprojects/gstreamer/libs/gst/net/gstptpclock.c">PTP clock id of this process' clock or %GST_PTP_CLOCK_ID_NONE</doc>
<type name="guint64" c:type="guint64"/>
</parameter>
<parameter name="interfaces" transfer-ownership="none" nullable="1" allow-none="1">
<doc xml:space="preserve" filename="../subprojects/gstreamer/libs/gst/net/gstptpclock.c">network interfaces to run the clock on</doc>
<array c:type="gchar**">
<type name="utf8" c:type="gchar*"/>
</array>
</parameter>
</parameters>
</function>
<function name="ptp_is_initialized" c:identifier="gst_ptp_is_initialized" version="1.6">
<doc xml:space="preserve" filename="../subprojects/gstreamer/libs/gst/net/gstptpclock.c">Check if the GStreamer PTP clock subsystem is initialized.</doc>
<source-position filename="../subprojects/gstreamer/libs/gst/net/gstptpclock.h"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve" filename="../subprojects/gstreamer/libs/gst/net/gstptpclock.c">%TRUE if the GStreamer PTP clock subsystem is initialized.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
</function>
<function name="ptp_is_supported" c:identifier="gst_ptp_is_supported" version="1.6">
<doc xml:space="preserve" filename="../subprojects/gstreamer/libs/gst/net/gstptpclock.c">Check if PTP clocks are generally supported on this system, and if previous
initializations did not fail.</doc>
<source-position filename="../subprojects/gstreamer/libs/gst/net/gstptpclock.h"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve" filename="../subprojects/gstreamer/libs/gst/net/gstptpclock.c">%TRUE if PTP clocks are generally supported on this system, and
previous initializations did not fail.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
</function>
<function name="ptp_statistics_callback_add" c:identifier="gst_ptp_statistics_callback_add" version="1.6">
<doc xml:space="preserve" filename="../subprojects/gstreamer/libs/gst/net/gstptpclock.c">Installs a new statistics callback for gathering PTP statistics. See
GstPtpStatisticsCallback for a list of statistics that are provided.</doc>
<source-position filename="../subprojects/gstreamer/libs/gst/net/gstptpclock.h"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve" filename="../subprojects/gstreamer/libs/gst/net/gstptpclock.c">Id for the callback that can be passed to
gst_ptp_statistics_callback_remove()</doc>
<type name="gulong" c:type="gulong"/>
</return-value>
<parameters>
<parameter name="callback" transfer-ownership="none" scope="notified" closure="1" destroy="2">
<doc xml:space="preserve" filename="../subprojects/gstreamer/libs/gst/net/gstptpclock.c">GstPtpStatisticsCallback to call</doc>
<type name="PtpStatisticsCallback" c:type="GstPtpStatisticsCallback"/>
</parameter>
<parameter name="user_data" transfer-ownership="none" nullable="1" allow-none="1">
<doc xml:space="preserve" filename="../subprojects/gstreamer/libs/gst/net/gstptpclock.c">Data to pass to the callback</doc>
<type name="gpointer" c:type="gpointer"/>
</parameter>
<parameter name="destroy_data" transfer-ownership="none" scope="async">
<doc xml:space="preserve" filename="../subprojects/gstreamer/libs/gst/net/gstptpclock.c">GDestroyNotify to destroy the data</doc>
<type name="GLib.DestroyNotify" c:type="GDestroyNotify"/>
</parameter>
</parameters>
</function>
<function name="ptp_statistics_callback_remove" c:identifier="gst_ptp_statistics_callback_remove" version="1.6">
<doc xml:space="preserve" filename="../subprojects/gstreamer/libs/gst/net/gstptpclock.c">Removes a PTP statistics callback that was previously added with
gst_ptp_statistics_callback_add().</doc>
<source-position filename="../subprojects/gstreamer/libs/gst/net/gstptpclock.h"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<parameter name="id" transfer-ownership="none">
<doc xml:space="preserve" filename="../subprojects/gstreamer/libs/gst/net/gstptpclock.c">Callback id to remove</doc>
<type name="gulong" c:type="gulong"/>
</parameter>
</parameters>
</function>
</namespace>
</repository>

4328
girs/GstPbutils-1.0.gir Normal file

File diff suppressed because it is too large Load diff

2901
girs/GstPlay-1.0.gir Normal file

File diff suppressed because it is too large Load diff

2422
girs/GstPlayer-1.0.gir Normal file

File diff suppressed because it is too large Load diff

6561
girs/GstRtp-1.0.gir Normal file

File diff suppressed because it is too large Load diff

4842
girs/GstRtsp-1.0.gir Normal file

File diff suppressed because it is too large Load diff

12379
girs/GstRtspServer-1.0.gir Normal file

File diff suppressed because it is too large Load diff

4327
girs/GstSdp-1.0.gir Normal file

File diff suppressed because it is too large Load diff

1764
girs/GstTag-1.0.gir Normal file

File diff suppressed because it is too large Load diff

763
girs/GstTranscoder-1.0.gir Normal file
View file

@ -0,0 +1,763 @@
<!-- This file was automatically generated from C sources - DO NOT EDIT!
To affect the contents of this file, edit the original C definitions,
and/or use gtk-doc annotations. -->
<repository xmlns="http://www.gtk.org/introspection/core/1.0" xmlns:c="http://www.gtk.org/introspection/c/1.0" xmlns:glib="http://www.gtk.org/introspection/glib/1.0" version="1.2">
<include name="GObject" version="2.0"/>
<include name="Gst" version="1.0"/>
<include name="GstPbutils" version="1.0"/>
<package name="gstreamer-transcoder-1.0"/>
<namespace name="GstTranscoder" version="1.0" shared-library="libgsttranscoder-1.0.so.0" c:identifier-prefixes="Gst" c:symbol-prefixes="gst_">
<class name="Transcoder" c:symbol-prefix="transcoder" c:type="GstTranscoder" parent="Gst.Object" glib:type-name="GstTranscoder" glib:get-type="gst_transcoder_get_type" glib:type-struct="TranscoderClass">
<source-position filename="../subprojects/gst-plugins-bad/gst-libs/gst/transcoder/gsttranscoder.h"/>
<constructor name="new" c:identifier="gst_transcoder_new">
<source-position filename="../subprojects/gst-plugins-bad/gst-libs/gst/transcoder/gsttranscoder.h"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/transcoder/gsttranscoder.c">a new #GstTranscoder instance</doc>
<type name="Transcoder" c:type="GstTranscoder*"/>
</return-value>
<parameters>
<parameter name="source_uri" transfer-ownership="none">
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/transcoder/gsttranscoder.c">The URI of the media stream to transcode</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
<parameter name="dest_uri" transfer-ownership="none">
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/transcoder/gsttranscoder.c">The URI of the destination of the transcoded stream</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
<parameter name="encoding_profile" transfer-ownership="none">
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/transcoder/gsttranscoder.c">The serialized #GstEncodingProfile defining the output
format. Have a look at the #GstEncodingProfile documentation to find more
about the serialization format.</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
</parameters>
</constructor>
<constructor name="new_full" c:identifier="gst_transcoder_new_full">
<source-position filename="../subprojects/gst-plugins-bad/gst-libs/gst/transcoder/gsttranscoder.h"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/transcoder/gsttranscoder.c">a new #GstTranscoder instance</doc>
<type name="Transcoder" c:type="GstTranscoder*"/>
</return-value>
<parameters>
<parameter name="source_uri" transfer-ownership="none">
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/transcoder/gsttranscoder.c">The URI of the media stream to transcode</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
<parameter name="dest_uri" transfer-ownership="none">
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/transcoder/gsttranscoder.c">The URI of the destination of the transcoded stream</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
<parameter name="profile" transfer-ownership="none">
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/transcoder/gsttranscoder.c">The #GstEncodingProfile defining the output format
have a look at the #GstEncodingProfile documentation to find more
about the serialization format.</doc>
<type name="GstPbutils.EncodingProfile" c:type="GstEncodingProfile*"/>
</parameter>
</parameters>
</constructor>
<function name="is_transcoder_message" c:identifier="gst_transcoder_is_transcoder_message" version="1.20">
<source-position filename="../subprojects/gst-plugins-bad/gst-libs/gst/transcoder/gsttranscoder.h"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/transcoder/gsttranscoder.c">A #gboolean indicating whether the passes message represents a #GstTranscoder message or not.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<parameter name="msg" transfer-ownership="none">
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/transcoder/gsttranscoder.c">A #GstMessage</doc>
<type name="Gst.Message" c:type="GstMessage*"/>
</parameter>
</parameters>
</function>
<method name="get_avoid_reencoding" c:identifier="gst_transcoder_get_avoid_reencoding">
<source-position filename="../subprojects/gst-plugins-bad/gst-libs/gst/transcoder/gsttranscoder.h"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/transcoder/gsttranscoder.c">%TRUE if the transcoder tries to avoid reencoding streams where
reencoding is not strictly needed, %FALSE otherwise.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/transcoder/gsttranscoder.c">The #GstTranscoder to check whether reencoding is avoided or not.</doc>
<type name="Transcoder" c:type="GstTranscoder*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_dest_uri" c:identifier="gst_transcoder_get_dest_uri">
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/transcoder/gsttranscoder.c">Gets the URI of the destination of the transcoded stream.</doc>
<source-position filename="../subprojects/gst-plugins-bad/gst-libs/gst/transcoder/gsttranscoder.h"/>
<return-value transfer-ownership="full">
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/transcoder/gsttranscoder.c">a string containing the URI of the
destination of the transcoded stream. g_free() after usage.</doc>
<type name="utf8" c:type="gchar*"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/transcoder/gsttranscoder.c">#GstTranscoder instance</doc>
<type name="Transcoder" c:type="GstTranscoder*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_duration" c:identifier="gst_transcoder_get_duration">
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/transcoder/gsttranscoder.c">Retrieves the duration of the media stream that self represents.</doc>
<source-position filename="../subprojects/gst-plugins-bad/gst-libs/gst/transcoder/gsttranscoder.h"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/transcoder/gsttranscoder.c">the duration of the transcoding media stream, in
nanoseconds.</doc>
<type name="Gst.ClockTime" c:type="GstClockTime"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/transcoder/gsttranscoder.c">#GstTranscoder instance</doc>
<type name="Transcoder" c:type="GstTranscoder*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_message_bus" c:identifier="gst_transcoder_get_message_bus" version="1.20">
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/transcoder/gsttranscoder.c">GstTranscoder API exposes a #GstBus instance which purpose is to provide data
structures representing transcoder-internal events in form of #GstMessage-s of
type GST_MESSAGE_APPLICATION.
Each message carries a "transcoder-message" field of type #GstTranscoderMessage.
Further fields of the message data are specific to each possible value of
that enumeration.
Applications can consume the messages asynchronously within their own
event-loop / UI-thread etc. Note that in case the application does not
consume the messages, the bus will accumulate these internally and eventually
fill memory. To avoid that, the bus has to be set "flushing".</doc>
<source-position filename="../subprojects/gst-plugins-bad/gst-libs/gst/transcoder/gsttranscoder.h"/>
<return-value transfer-ownership="full">
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/transcoder/gsttranscoder.c">The transcoder message bus instance</doc>
<type name="Gst.Bus" c:type="GstBus*"/>
</return-value>
<parameters>
<instance-parameter name="transcoder" transfer-ownership="none">
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/transcoder/gsttranscoder.c">#GstTranscoder instance</doc>
<type name="Transcoder" c:type="GstTranscoder*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_pipeline" c:identifier="gst_transcoder_get_pipeline">
<source-position filename="../subprojects/gst-plugins-bad/gst-libs/gst/transcoder/gsttranscoder.h"/>
<return-value transfer-ownership="full">
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/transcoder/gsttranscoder.c">The internal uritranscodebin instance</doc>
<type name="Gst.Element" c:type="GstElement*"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/transcoder/gsttranscoder.c">#GstTranscoder instance</doc>
<type name="Transcoder" c:type="GstTranscoder*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_position" c:identifier="gst_transcoder_get_position">
<source-position filename="../subprojects/gst-plugins-bad/gst-libs/gst/transcoder/gsttranscoder.h"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/transcoder/gsttranscoder.c">the absolute position time, in nanoseconds, of the
transcoding stream.</doc>
<type name="Gst.ClockTime" c:type="GstClockTime"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/transcoder/gsttranscoder.c">#GstTranscoder instance</doc>
<type name="Transcoder" c:type="GstTranscoder*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_position_update_interval" c:identifier="gst_transcoder_get_position_update_interval">
<source-position filename="../subprojects/gst-plugins-bad/gst-libs/gst/transcoder/gsttranscoder.h"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/transcoder/gsttranscoder.c">current position update interval in milliseconds</doc>
<type name="guint" c:type="guint"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/transcoder/gsttranscoder.c">#GstTranscoder instance</doc>
<type name="Transcoder" c:type="GstTranscoder*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_signal_adapter" c:identifier="gst_transcoder_get_signal_adapter" version="1.20">
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/transcoder/gsttranscoder.c">Gets the #GstTranscoderSignalAdapter attached to @self if it is attached to
the right #GMainContext. If no #GstTranscoderSignalAdapter has been created
yet, it will be created and returned, other calls will return that same
adapter until it is destroyed, at which point, a new one can be attached the
same way.</doc>
<source-position filename="../subprojects/gst-plugins-bad/gst-libs/gst/transcoder/gsttranscoder.h"/>
<return-value transfer-ownership="full" nullable="1">
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/transcoder/gsttranscoder.c">The #GstTranscoderSignalAdapter to
connect signal handlers to.</doc>
<type name="TranscoderSignalAdapter" c:type="GstTranscoderSignalAdapter*"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/transcoder/gsttranscoder.c">#GstTranscoder instance to emit signals for.</doc>
<type name="Transcoder" c:type="GstTranscoder*"/>
</instance-parameter>
<parameter name="context" transfer-ownership="none" nullable="1" allow-none="1">
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/transcoder/gsttranscoder.c">A #GMainContext on which the main-loop will process
transcoder bus messages on. Can be NULL (thread-default
context will be used then).</doc>
<type name="GLib.MainContext" c:type="GMainContext*"/>
</parameter>
</parameters>
</method>
<method name="get_source_uri" c:identifier="gst_transcoder_get_source_uri">
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/transcoder/gsttranscoder.c">Gets the URI of the currently-transcoding stream.</doc>
<source-position filename="../subprojects/gst-plugins-bad/gst-libs/gst/transcoder/gsttranscoder.h"/>
<return-value transfer-ownership="full">
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/transcoder/gsttranscoder.c">a string containing the URI of the
source stream. g_free() after usage.</doc>
<type name="utf8" c:type="gchar*"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/transcoder/gsttranscoder.c">#GstTranscoder instance</doc>
<type name="Transcoder" c:type="GstTranscoder*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_sync_signal_adapter" c:identifier="gst_transcoder_get_sync_signal_adapter" version="1.20">
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/transcoder/gsttranscoder.c">Gets the #GstTranscoderSignalAdapter attached to @self to emit signals from
its thread of emission.</doc>
<source-position filename="../subprojects/gst-plugins-bad/gst-libs/gst/transcoder/gsttranscoder.h"/>
<return-value transfer-ownership="full">
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/transcoder/gsttranscoder.c">The #GstTranscoderSignalAdapter to connect signal
handlers to.</doc>
<type name="TranscoderSignalAdapter" c:type="GstTranscoderSignalAdapter*"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/transcoder/gsttranscoder.c">#GstTranscoder instance to emit signals synchronously
for.</doc>
<type name="Transcoder" c:type="GstTranscoder*"/>
</instance-parameter>
</parameters>
</method>
<method name="run" c:identifier="gst_transcoder_run" throws="1">
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/transcoder/gsttranscoder.c">Run the transcoder task synchonously. You can connect
to the 'position' signal to get information about the
progress of the transcoding.</doc>
<source-position filename="../subprojects/gst-plugins-bad/gst-libs/gst/transcoder/gsttranscoder.h"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/transcoder/gsttranscoder.c">The GstTranscoder to run</doc>
<type name="Transcoder" c:type="GstTranscoder*"/>
</instance-parameter>
</parameters>
</method>
<method name="run_async" c:identifier="gst_transcoder_run_async">
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/transcoder/gsttranscoder.c">Run the transcoder task asynchronously. You should connect
to the 'done' signal to be notified about when the
transcoding is done, and to the 'error' signal to be
notified about any error.</doc>
<source-position filename="../subprojects/gst-plugins-bad/gst-libs/gst/transcoder/gsttranscoder.h"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/transcoder/gsttranscoder.c">The GstTranscoder to run</doc>
<type name="Transcoder" c:type="GstTranscoder*"/>
</instance-parameter>
</parameters>
</method>
<method name="set_avoid_reencoding" c:identifier="gst_transcoder_set_avoid_reencoding">
<source-position filename="../subprojects/gst-plugins-bad/gst-libs/gst/transcoder/gsttranscoder.h"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/transcoder/gsttranscoder.c">The #GstTranscoder to set whether reencoding should be avoided or not.</doc>
<type name="Transcoder" c:type="GstTranscoder*"/>
</instance-parameter>
<parameter name="avoid_reencoding" transfer-ownership="none">
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/transcoder/gsttranscoder.c">%TRUE if the transcoder should try to avoid reencoding
streams where * reencoding is not strictly needed, %FALSE otherwise.</doc>
<type name="gboolean" c:type="gboolean"/>
</parameter>
</parameters>
</method>
<method name="set_cpu_usage" c:identifier="gst_transcoder_set_cpu_usage">
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/transcoder/gsttranscoder.c">Sets @cpu_usage as target percentage CPU usage of the process running the
transcoding task. It will modulate the transcoding speed to reach that target
usage.</doc>
<source-position filename="../subprojects/gst-plugins-bad/gst-libs/gst/transcoder/gsttranscoder.h"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/transcoder/gsttranscoder.c">The GstTranscoder to limit CPU usage on.</doc>
<type name="Transcoder" c:type="GstTranscoder*"/>
</instance-parameter>
<parameter name="cpu_usage" transfer-ownership="none">
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/transcoder/gsttranscoder.c">The percentage of the CPU the process running the transcoder
should try to use. It takes into account the number of cores available.</doc>
<type name="gint" c:type="gint"/>
</parameter>
</parameters>
</method>
<method name="set_position_update_interval" c:identifier="gst_transcoder_set_position_update_interval">
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/transcoder/gsttranscoder.c">Set interval in milliseconds between two position-updated signals.
Pass 0 to stop updating the position.</doc>
<source-position filename="../subprojects/gst-plugins-bad/gst-libs/gst/transcoder/gsttranscoder.h"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/transcoder/gsttranscoder.c">#GstTranscoder instance</doc>
<type name="Transcoder" c:type="GstTranscoder*"/>
</instance-parameter>
<parameter name="interval" transfer-ownership="none">
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/transcoder/gsttranscoder.c">interval in ms</doc>
<type name="guint" c:type="guint"/>
</parameter>
</parameters>
</method>
<property name="avoid-reencoding" writable="1" transfer-ownership="none">
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/transcoder/gsttranscoder.c">See #encodebin:avoid-reencoding</doc>
<type name="gboolean" c:type="gboolean"/>
</property>
<property name="dest-uri" writable="1" construct-only="1" transfer-ownership="none">
<type name="utf8" c:type="gchar*"/>
</property>
<property name="duration" transfer-ownership="none">
<type name="guint64" c:type="guint64"/>
</property>
<property name="pipeline" transfer-ownership="none">
<type name="Gst.Element"/>
</property>
<property name="position" transfer-ownership="none">
<type name="guint64" c:type="guint64"/>
</property>
<property name="position-update-interval" writable="1" transfer-ownership="none">
<type name="guint" c:type="guint"/>
</property>
<property name="profile" writable="1" construct-only="1" transfer-ownership="none">
<type name="GstPbutils.EncodingProfile"/>
</property>
<property name="src-uri" writable="1" construct-only="1" transfer-ownership="none">
<type name="utf8" c:type="gchar*"/>
</property>
</class>
<record name="TranscoderClass" c:type="GstTranscoderClass" glib:is-gtype-struct-for="Transcoder">
<source-position filename="../subprojects/gst-plugins-bad/gst-libs/gst/transcoder/gsttranscoder.h"/>
<field name="parent_class">
<type name="Gst.ObjectClass" c:type="GstObjectClass"/>
</field>
</record>
<enumeration name="TranscoderError" glib:type-name="GstTranscoderError" glib:get-type="gst_transcoder_error_get_type" c:type="GstTranscoderError" glib:error-domain="gst-transcoder-error-quark">
<member name="failed" value="0" c:identifier="GST_TRANSCODER_ERROR_FAILED" glib:nick="failed">
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/transcoder/gsttranscoder.h">generic error.</doc>
</member>
<function name="get_name" c:identifier="gst_transcoder_error_get_name">
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/transcoder/gsttranscoder.c">Gets a string representing the given error.</doc>
<source-position filename="../subprojects/gst-plugins-bad/gst-libs/gst/transcoder/gsttranscoder.h"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/transcoder/gsttranscoder.c">a string with the given error.</doc>
<type name="utf8" c:type="const gchar*"/>
</return-value>
<parameters>
<parameter name="error" transfer-ownership="none">
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/transcoder/gsttranscoder.c">a #GstTranscoderError</doc>
<type name="TranscoderError" c:type="GstTranscoderError"/>
</parameter>
</parameters>
</function>
<function name="quark" c:identifier="gst_transcoder_error_quark">
<return-value transfer-ownership="none">
<type name="GLib.Quark" c:type="GQuark"/>
</return-value>
</function>
</enumeration>
<enumeration name="TranscoderMessage" version="1.20" glib:type-name="GstTranscoderMessage" glib:get-type="gst_transcoder_message_get_type" c:type="GstTranscoderMessage">
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/transcoder/gsttranscoder.h">Types of messages that will be posted on the transcoder API bus.
See also #gst_transcoder_get_message_bus()</doc>
<member name="position_updated" value="0" c:identifier="GST_TRANSCODER_MESSAGE_POSITION_UPDATED" glib:nick="position-updated">
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/transcoder/gsttranscoder.h">Sink position changed</doc>
</member>
<member name="duration_changed" value="1" c:identifier="GST_TRANSCODER_MESSAGE_DURATION_CHANGED" glib:nick="duration-changed">
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/transcoder/gsttranscoder.h">Duration of stream changed</doc>
</member>
<member name="state_changed" value="2" c:identifier="GST_TRANSCODER_MESSAGE_STATE_CHANGED" glib:nick="state-changed">
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/transcoder/gsttranscoder.h">Pipeline state changed</doc>
</member>
<member name="done" value="3" c:identifier="GST_TRANSCODER_MESSAGE_DONE" glib:nick="done">
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/transcoder/gsttranscoder.h">Transcoding is done</doc>
</member>
<member name="error" value="4" c:identifier="GST_TRANSCODER_MESSAGE_ERROR" glib:nick="error">
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/transcoder/gsttranscoder.h">Message contains an error</doc>
</member>
<member name="warning" value="5" c:identifier="GST_TRANSCODER_MESSAGE_WARNING" glib:nick="warning">
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/transcoder/gsttranscoder.h">Message contains an error</doc>
</member>
<function name="get_name" c:identifier="gst_transcoder_message_get_name" version="1.20">
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/transcoder/gsttranscoder.c">Returns (transfer none): The message name</doc>
<source-position filename="../subprojects/gst-plugins-bad/gst-libs/gst/transcoder/gsttranscoder.h"/>
<return-value transfer-ownership="none">
<type name="utf8" c:type="const gchar*"/>
</return-value>
<parameters>
<parameter name="message" transfer-ownership="none">
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/transcoder/gsttranscoder.c">a #GstTranscoderMessage</doc>
<type name="TranscoderMessage" c:type="GstTranscoderMessage"/>
</parameter>
</parameters>
</function>
<function name="parse_duration" c:identifier="gst_transcoder_message_parse_duration" version="1.20">
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/transcoder/gsttranscoder.c">Parse the given duration @msg and extract the corresponding #GstClockTime</doc>
<source-position filename="../subprojects/gst-plugins-bad/gst-libs/gst/transcoder/gsttranscoder.h"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<parameter name="msg" transfer-ownership="none">
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/transcoder/gsttranscoder.c">A #GstMessage</doc>
<type name="Gst.Message" c:type="GstMessage*"/>
</parameter>
<parameter name="duration" direction="out" caller-allocates="0" transfer-ownership="full">
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/transcoder/gsttranscoder.c">the resulting duration</doc>
<type name="Gst.ClockTime" c:type="GstClockTime*"/>
</parameter>
</parameters>
</function>
<function name="parse_error" c:identifier="gst_transcoder_message_parse_error" version="1.20">
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/transcoder/gsttranscoder.c">Parse the given error @msg and extract the corresponding #GError</doc>
<source-position filename="../subprojects/gst-plugins-bad/gst-libs/gst/transcoder/gsttranscoder.h"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<parameter name="msg" transfer-ownership="none">
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/transcoder/gsttranscoder.c">A #GstMessage</doc>
<type name="Gst.Message" c:type="GstMessage*"/>
</parameter>
<parameter name="error" direction="out" caller-allocates="1" transfer-ownership="full" optional="1" allow-none="1">
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/transcoder/gsttranscoder.c">the resulting error</doc>
<type name="GLib.Error" c:type="GError*"/>
</parameter>
<parameter name="details" direction="out" caller-allocates="0" transfer-ownership="full">
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/transcoder/gsttranscoder.c">(transfer full): A GstStructure containing extra details about the error</doc>
<type name="Gst.Structure" c:type="GstStructure**"/>
</parameter>
</parameters>
</function>
<function name="parse_position" c:identifier="gst_transcoder_message_parse_position" version="1.20">
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/transcoder/gsttranscoder.c">Parse the given position @msg and extract the corresponding #GstClockTime</doc>
<source-position filename="../subprojects/gst-plugins-bad/gst-libs/gst/transcoder/gsttranscoder.h"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<parameter name="msg" transfer-ownership="none">
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/transcoder/gsttranscoder.c">A #GstMessage</doc>
<type name="Gst.Message" c:type="GstMessage*"/>
</parameter>
<parameter name="position" direction="out" caller-allocates="0" transfer-ownership="full">
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/transcoder/gsttranscoder.c">the resulting position</doc>
<type name="Gst.ClockTime" c:type="GstClockTime*"/>
</parameter>
</parameters>
</function>
<function name="parse_state" c:identifier="gst_transcoder_message_parse_state" version="1.20">
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/transcoder/gsttranscoder.c">Parse the given state @msg and extract the corresponding #GstTranscoderState</doc>
<source-position filename="../subprojects/gst-plugins-bad/gst-libs/gst/transcoder/gsttranscoder.h"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<parameter name="msg" transfer-ownership="none">
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/transcoder/gsttranscoder.c">A #GstMessage</doc>
<type name="Gst.Message" c:type="GstMessage*"/>
</parameter>
<parameter name="state" direction="out" caller-allocates="0" transfer-ownership="full">
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/transcoder/gsttranscoder.c">the resulting state</doc>
<type name="TranscoderState" c:type="GstTranscoderState*"/>
</parameter>
</parameters>
</function>
<function name="parse_warning" c:identifier="gst_transcoder_message_parse_warning" version="1.20">
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/transcoder/gsttranscoder.c">Parse the given error @msg and extract the corresponding #GError warning</doc>
<source-position filename="../subprojects/gst-plugins-bad/gst-libs/gst/transcoder/gsttranscoder.h"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<parameter name="msg" transfer-ownership="none">
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/transcoder/gsttranscoder.c">A #GstMessage</doc>
<type name="Gst.Message" c:type="GstMessage*"/>
</parameter>
<parameter name="error" direction="out" caller-allocates="1" transfer-ownership="full" optional="1" allow-none="1">
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/transcoder/gsttranscoder.c">the resulting warning</doc>
<type name="GLib.Error" c:type="GError*"/>
</parameter>
<parameter name="details" direction="out" caller-allocates="0" transfer-ownership="full">
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/transcoder/gsttranscoder.c">(transfer full): A GstStructure containing extra details about the warning</doc>
<type name="Gst.Structure" c:type="GstStructure**"/>
</parameter>
</parameters>
</function>
</enumeration>
<class name="TranscoderSignalAdapter" c:symbol-prefix="transcoder_signal_adapter" c:type="GstTranscoderSignalAdapter" version="1.20" parent="GObject.Object" glib:type-name="GstTranscoderSignalAdapter" glib:get-type="gst_transcoder_signal_adapter_get_type" glib:type-struct="TranscoderSignalAdapterClass">
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/transcoder/gsttranscoder-signal-adapter.h">Transforms #GstTranscoder bus messages to signals from the adapter object.</doc>
<source-position filename="../subprojects/gst-plugins-bad/gst-libs/gst/transcoder/gsttranscoder-signal-adapter.h"/>
<method name="get_transcoder" c:identifier="gst_transcoder_signal_adapter_get_transcoder" version="1.20">
<source-position filename="../subprojects/gst-plugins-bad/gst-libs/gst/transcoder/gsttranscoder-signal-adapter.h"/>
<return-value transfer-ownership="full" nullable="1">
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/transcoder/gsttranscoder-signal-adapter.c">The #GstTranscoder @self is tracking</doc>
<type name="Transcoder" c:type="GstTranscoder*"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/transcoder/gsttranscoder-signal-adapter.c">The #GstTranscoderSignalAdapter</doc>
<type name="TranscoderSignalAdapter" c:type="GstTranscoderSignalAdapter*"/>
</instance-parameter>
</parameters>
</method>
<property name="transcoder" version="1.20" transfer-ownership="none">
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/transcoder/gsttranscoder-signal-adapter.c">The #GstTranscoder tracked by the adapter.</doc>
<type name="Transcoder"/>
</property>
<glib:signal name="done" when="last" no-recurse="1" no-hooks="1">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</glib:signal>
<glib:signal name="duration-changed" when="last" no-recurse="1" no-hooks="1">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<parameter name="object" transfer-ownership="none">
<type name="guint64" c:type="guint64"/>
</parameter>
</parameters>
</glib:signal>
<glib:signal name="error" when="last" no-recurse="1" no-hooks="1">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<parameter name="object" transfer-ownership="none">
<type name="GLib.Error"/>
</parameter>
<parameter name="p0" transfer-ownership="none">
<type name="Gst.Structure"/>
</parameter>
</parameters>
</glib:signal>
<glib:signal name="position-updated" when="last" no-recurse="1" no-hooks="1">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<parameter name="object" transfer-ownership="none">
<type name="guint64" c:type="guint64"/>
</parameter>
</parameters>
</glib:signal>
<glib:signal name="state-changed" when="last" no-recurse="1" no-hooks="1">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<parameter name="object" transfer-ownership="none">
<type name="TranscoderState"/>
</parameter>
</parameters>
</glib:signal>
<glib:signal name="warning" when="last" no-recurse="1" no-hooks="1">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<parameter name="object" transfer-ownership="none">
<type name="GLib.Error"/>
</parameter>
<parameter name="p0" transfer-ownership="none">
<type name="Gst.Structure"/>
</parameter>
</parameters>
</glib:signal>
</class>
<record name="TranscoderSignalAdapterClass" c:type="GstTranscoderSignalAdapterClass" glib:is-gtype-struct-for="TranscoderSignalAdapter" version="1.20">
<source-position filename="../subprojects/gst-plugins-bad/gst-libs/gst/transcoder/gsttranscoder-signal-adapter.h"/>
<field name="parent_class">
<type name="GObject.ObjectClass" c:type="GObjectClass"/>
</field>
</record>
<enumeration name="TranscoderState" version="1.20" glib:type-name="GstTranscoderState" glib:get-type="gst_transcoder_state_get_type" c:type="GstTranscoderState">
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/transcoder/gsttranscoder.h">High level representation of the transcoder pipeline state.</doc>
<member name="stopped" value="0" c:identifier="GST_TRANSCODER_STATE_STOPPED" glib:nick="stopped">
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/transcoder/gsttranscoder.h">the transcoder is stopped.</doc>
</member>
<member name="paused" value="1" c:identifier="GST_TRANSCODER_STATE_PAUSED" glib:nick="paused">
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/transcoder/gsttranscoder.h">the transcoder is paused.</doc>
</member>
<member name="playing" value="2" c:identifier="GST_TRANSCODER_STATE_PLAYING" glib:nick="playing">
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/transcoder/gsttranscoder.h">the transcoder is currently transcoding a
stream.</doc>
</member>
<function name="get_name" c:identifier="gst_transcoder_state_get_name" version="1.20">
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/transcoder/gsttranscoder.c">Gets a string representing the given state.</doc>
<source-position filename="../subprojects/gst-plugins-bad/gst-libs/gst/transcoder/gsttranscoder.h"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/transcoder/gsttranscoder.c">a string with the name of the state.</doc>
<type name="utf8" c:type="const gchar*"/>
</return-value>
<parameters>
<parameter name="state" transfer-ownership="none">
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/transcoder/gsttranscoder.c">a #GstTranscoderState</doc>
<type name="TranscoderState" c:type="GstTranscoderState"/>
</parameter>
</parameters>
</function>
</enumeration>
<function name="transcoder_error_get_name" c:identifier="gst_transcoder_error_get_name" moved-to="TranscoderError.get_name">
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/transcoder/gsttranscoder.c">Gets a string representing the given error.</doc>
<source-position filename="../subprojects/gst-plugins-bad/gst-libs/gst/transcoder/gsttranscoder.h"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/transcoder/gsttranscoder.c">a string with the given error.</doc>
<type name="utf8" c:type="const gchar*"/>
</return-value>
<parameters>
<parameter name="error" transfer-ownership="none">
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/transcoder/gsttranscoder.c">a #GstTranscoderError</doc>
<type name="TranscoderError" c:type="GstTranscoderError"/>
</parameter>
</parameters>
</function>
<function name="transcoder_error_quark" c:identifier="gst_transcoder_error_quark" moved-to="TranscoderError.quark">
<return-value transfer-ownership="none">
<type name="GLib.Quark" c:type="GQuark"/>
</return-value>
</function>
<function name="transcoder_message_get_name" c:identifier="gst_transcoder_message_get_name" moved-to="TranscoderMessage.get_name" version="1.20">
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/transcoder/gsttranscoder.c">Returns (transfer none): The message name</doc>
<source-position filename="../subprojects/gst-plugins-bad/gst-libs/gst/transcoder/gsttranscoder.h"/>
<return-value transfer-ownership="none">
<type name="utf8" c:type="const gchar*"/>
</return-value>
<parameters>
<parameter name="message" transfer-ownership="none">
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/transcoder/gsttranscoder.c">a #GstTranscoderMessage</doc>
<type name="TranscoderMessage" c:type="GstTranscoderMessage"/>
</parameter>
</parameters>
</function>
<function name="transcoder_message_parse_duration" c:identifier="gst_transcoder_message_parse_duration" moved-to="TranscoderMessage.parse_duration" version="1.20">
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/transcoder/gsttranscoder.c">Parse the given duration @msg and extract the corresponding #GstClockTime</doc>
<source-position filename="../subprojects/gst-plugins-bad/gst-libs/gst/transcoder/gsttranscoder.h"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<parameter name="msg" transfer-ownership="none">
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/transcoder/gsttranscoder.c">A #GstMessage</doc>
<type name="Gst.Message" c:type="GstMessage*"/>
</parameter>
<parameter name="duration" direction="out" caller-allocates="0" transfer-ownership="full">
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/transcoder/gsttranscoder.c">the resulting duration</doc>
<type name="Gst.ClockTime" c:type="GstClockTime*"/>
</parameter>
</parameters>
</function>
<function name="transcoder_message_parse_error" c:identifier="gst_transcoder_message_parse_error" moved-to="TranscoderMessage.parse_error" version="1.20">
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/transcoder/gsttranscoder.c">Parse the given error @msg and extract the corresponding #GError</doc>
<source-position filename="../subprojects/gst-plugins-bad/gst-libs/gst/transcoder/gsttranscoder.h"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<parameter name="msg" transfer-ownership="none">
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/transcoder/gsttranscoder.c">A #GstMessage</doc>
<type name="Gst.Message" c:type="GstMessage*"/>
</parameter>
<parameter name="error" direction="out" caller-allocates="1" transfer-ownership="full" optional="1" allow-none="1">
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/transcoder/gsttranscoder.c">the resulting error</doc>
<type name="GLib.Error" c:type="GError*"/>
</parameter>
<parameter name="details" direction="out" caller-allocates="0" transfer-ownership="full">
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/transcoder/gsttranscoder.c">(transfer full): A GstStructure containing extra details about the error</doc>
<type name="Gst.Structure" c:type="GstStructure**"/>
</parameter>
</parameters>
</function>
<function name="transcoder_message_parse_position" c:identifier="gst_transcoder_message_parse_position" moved-to="TranscoderMessage.parse_position" version="1.20">
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/transcoder/gsttranscoder.c">Parse the given position @msg and extract the corresponding #GstClockTime</doc>
<source-position filename="../subprojects/gst-plugins-bad/gst-libs/gst/transcoder/gsttranscoder.h"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<parameter name="msg" transfer-ownership="none">
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/transcoder/gsttranscoder.c">A #GstMessage</doc>
<type name="Gst.Message" c:type="GstMessage*"/>
</parameter>
<parameter name="position" direction="out" caller-allocates="0" transfer-ownership="full">
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/transcoder/gsttranscoder.c">the resulting position</doc>
<type name="Gst.ClockTime" c:type="GstClockTime*"/>
</parameter>
</parameters>
</function>
<function name="transcoder_message_parse_state" c:identifier="gst_transcoder_message_parse_state" moved-to="TranscoderMessage.parse_state" version="1.20">
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/transcoder/gsttranscoder.c">Parse the given state @msg and extract the corresponding #GstTranscoderState</doc>
<source-position filename="../subprojects/gst-plugins-bad/gst-libs/gst/transcoder/gsttranscoder.h"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<parameter name="msg" transfer-ownership="none">
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/transcoder/gsttranscoder.c">A #GstMessage</doc>
<type name="Gst.Message" c:type="GstMessage*"/>
</parameter>
<parameter name="state" direction="out" caller-allocates="0" transfer-ownership="full">
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/transcoder/gsttranscoder.c">the resulting state</doc>
<type name="TranscoderState" c:type="GstTranscoderState*"/>
</parameter>
</parameters>
</function>
<function name="transcoder_message_parse_warning" c:identifier="gst_transcoder_message_parse_warning" moved-to="TranscoderMessage.parse_warning" version="1.20">
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/transcoder/gsttranscoder.c">Parse the given error @msg and extract the corresponding #GError warning</doc>
<source-position filename="../subprojects/gst-plugins-bad/gst-libs/gst/transcoder/gsttranscoder.h"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<parameter name="msg" transfer-ownership="none">
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/transcoder/gsttranscoder.c">A #GstMessage</doc>
<type name="Gst.Message" c:type="GstMessage*"/>
</parameter>
<parameter name="error" direction="out" caller-allocates="1" transfer-ownership="full" optional="1" allow-none="1">
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/transcoder/gsttranscoder.c">the resulting warning</doc>
<type name="GLib.Error" c:type="GError*"/>
</parameter>
<parameter name="details" direction="out" caller-allocates="0" transfer-ownership="full">
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/transcoder/gsttranscoder.c">(transfer full): A GstStructure containing extra details about the warning</doc>
<type name="Gst.Structure" c:type="GstStructure**"/>
</parameter>
</parameters>
</function>
<function name="transcoder_state_get_name" c:identifier="gst_transcoder_state_get_name" moved-to="TranscoderState.get_name" version="1.20">
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/transcoder/gsttranscoder.c">Gets a string representing the given state.</doc>
<source-position filename="../subprojects/gst-plugins-bad/gst-libs/gst/transcoder/gsttranscoder.h"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/transcoder/gsttranscoder.c">a string with the name of the state.</doc>
<type name="utf8" c:type="const gchar*"/>
</return-value>
<parameters>
<parameter name="state" transfer-ownership="none">
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/transcoder/gsttranscoder.c">a #GstTranscoderState</doc>
<type name="TranscoderState" c:type="GstTranscoderState"/>
</parameter>
</parameters>
</function>
</namespace>
</repository>

4625
girs/GstValidate-1.0.gir Normal file

File diff suppressed because it is too large Load diff

19238
girs/GstVideo-1.0.gir Normal file

File diff suppressed because it is too large Load diff

6521
girs/GstVulkan-1.0.gir Normal file

File diff suppressed because it is too large Load diff

2681
girs/GstWebRTC-1.0.gir Normal file

File diff suppressed because it is too large Load diff

View file

@ -225,6 +225,23 @@ gst_plugins_doc_dep = custom_target('plugins-doc-cache',
capture: true,
)
gir_files = []
gir_targets = []
foreach pkgname_library : all_libraries
lib_def = pkgname_library[1]
foreach gir_target: lib_def.get('gir_targets', [])
gir_files += [gir_target[0].full_path()]
gir_targets += gir_target
endforeach
endforeach
custom_target('update_girs',
command: [find_program('scripts/update-girs.py'), meson.build_root()] + gir_files,
output: 'update_girs',
capture: true,
depends: gir_targets
)
if meson.is_cross_build() or build_machine.system() == 'windows'
if get_option('doc').enabled()
error('Documentation enabled but building the doc while cross building or building on windows is not supported yet.')

42
scripts/update-girs.py Executable file
View file

@ -0,0 +1,42 @@
#!/usr/bin/python3
import os
import sys
from lxml import etree
from pathlib import Path as P
import argparse
PARSER = argparse.ArgumentParser()
PARSER.add_argument('builddir')
PARSER.add_argument('girs', nargs="+")
def make_rel(elem, gir_relpath):
filepath = P(elem.attrib["filename"])
filedir = filepath.parent
girdir = gir_relpath.parent
while filedir.name != girdir.name:
filedir = filedir.parent
while filedir.name == girdir.name:
filedir = filedir.parent
girdir = girdir.parent
elem.attrib["filename"] = str('..' / girdir / filepath)
if __name__ == "__main__":
opts = PARSER.parse_args()
girdir = P(__file__).parent.parent / 'girs'
for girfile in opts.girs:
gir_relpath = P(os.path.relpath(girfile, opts.builddir))
et = etree.parse(girfile)
# Remove line numbers from the girs as those would change all the time.
for n in et.iter("{http://www.gtk.org/introspection/core/1.0}source-position"):
del n.attrib["line"]
make_rel(n, gir_relpath)
for n in et.iter("{http://www.gtk.org/introspection/core/1.0}doc"):
del n.attrib["line"]
make_rel(n, gir_relpath)
et.write(str(girdir / os.path.basename(girfile)), pretty_print=True)

View file

@ -117,6 +117,7 @@ if build_gir
if not static_build
validate_gir = gnome.generate_gir(gstvalidate, kwargs: gir)
library_def += {'gir_targets': library_def.get('gir_targets', []) + [validate_gir]}
validate_gen_sources += [validate_gir]
endif
endif

View file

@ -218,6 +218,7 @@ if build_gir
if not static_build
gir += {'sources': ges_sources + ges_headers + files('ges-image-source.h')}
ges_gir = gnome.generate_gir(libges, kwargs: gir)
library_def += {'gir_targets': library_def.get('gir_targets', []) + [ges_gir]}
ges_gen_sources += [ges_gir]
endif
endif

View file

@ -41,6 +41,7 @@ if build_gir
library_def += {'gir': [gir]}
if not static_build
audio_gir = gnome.generate_gir(gstbadaudio, kwargs: gir)
library_def += {'gir_targets': library_def.get('gir_targets', []) + [audio_gir]}
gen_sources += audio_gir
endif
endif

View file

@ -42,6 +42,7 @@ if build_gir and not static_build
library_def += {'gir': [gir]}
if not static_build
basecamerabin_gir = gnome.generate_gir(gstbasecamerabin, kwargs: gir)
library_def += {'gir_targets': library_def.get('gir_targets', []) + [basecamerabin_gir]}
gen_sources += basecamerabin_gir
endif
endif

View file

@ -72,6 +72,7 @@ if build_gir
library_def += {'gir': [gir]}
if not static_build
codecs_gir = gnome.generate_gir(gstcodecs, kwargs: gir)
library_def += {'gir_targets': library_def.get('gir_targets', []) + [codecs_gir]}
gen_sources += codecs_gir
endif
endif
@ -81,4 +82,4 @@ gstcodecs_dep = declare_dependency(link_with : gstcodecs,
include_directories : [libsinc],
sources: gen_sources,
dependencies : [gstvideo_dep, gstcodecparsers_dep])
meson.override_dependency(pkg_name, gstcodecs_dep)
meson.override_dependency(pkg_name, gstcodecs_dep)

View file

@ -118,9 +118,11 @@ if build_gir
}
if not static_build
cudagst_gir = gnome.generate_gir(gstcuda, kwargs: cuda_gir)
library_def += {'gir_targets': library_def.get('gir_targets', []) + [cudagst_gir]}
gir += {'includes': gir['includes'] + [cudagst_gir[0]]}
gst_cuda_gir = gnome.generate_gir(gstcuda, kwargs: gir)
library_def += {'gir_targets': library_def.get('gir_targets', []) + [gst_cuda_gir]}
gen_sources += gst_cuda_gir
endif

View file

@ -212,6 +212,7 @@ if build_gir
}
if not static_build
d3d11_gir = gnome.generate_gir(gstd3d11, kwargs: gir)
library_def += {'gir_targets': library_def.get('gir_targets', []) + [d3d11_gir]}
gen_sources += d3d11_gir
endif

View file

@ -40,6 +40,7 @@ if build_gir
library_def += {'gir': [gir]}
if not static_build
insertbin_gir = gnome.generate_gir(gstinsertbin, kwargs: gir)
library_def += {'gir_targets': library_def.get('gir_targets', []) + [insertbin_gir]}
gen_sources += insertbin_gir
endif
endif

View file

@ -76,6 +76,7 @@ if build_gir
library_def += {'gir': [gir]}
if not static_build
mpegts_gir = gnome.generate_gir(gstmpegts, kwargs: gir)
library_def += {'gir_targets': library_def.get('gir_targets', []) + [mpegts_gir]}
gen_sources += mpegts_gir
endif
endif

View file

@ -62,6 +62,7 @@ if build_gir
library_def += {'gir': [gir]}
if not static_build
play_gir = gnome.generate_gir(gstplay, kwargs: gir)
library_def += {'gir_targets': library_def.get('gir_targets', []) + [play_gir]}
gen_sources += play_gir
endif
endif

View file

@ -65,6 +65,7 @@ if build_gir
library_def = {'lib': library_def['lib'], 'gir': [gir]}
if not static_build
player_gir = gnome.generate_gir(gstplayer, kwargs: gir)
library_def += {'gir_targets': library_def.get('gir_targets', []) + [player_gir]}
gen_sources += player_gir
endif
endif

View file

@ -53,6 +53,7 @@ if build_gir
library_def += { 'gir': [gir]}
if not static_build
transcoder_gir = gnome.generate_gir(gst_transcoder, kwargs: gir)
library_def += {'gir_targets': library_def.get('gir_targets', []) + [transcoder_gir]}
transcoder_gen_sources += transcoder_gir
endif
endif

View file

@ -376,6 +376,7 @@ if build_gir
library_def += {'gir': [gir]}
if not static_build
vulkan_gir = gnome.generate_gir(gstvulkan, kwargs: gir)
library_def += {'gir_targets': library_def.get('gir_targets', []) + [vulkan_gir]}
gen_sources += vulkan_gir
endif
endif
@ -414,6 +415,7 @@ if enabled_vulkan_winsys.contains('xcb')
if not static_build
gir += {'includes' : ['Gst-1.0', 'GstBase-1.0', 'GstVideo-1.0', vulkan_gir[0]] + extra_gir_includes}
vulkan_xcb_gir = gnome.generate_gir(gstvulkan, kwargs: gir)
library_def += {'gir_targets': library_def.get('gir_targets', []) + [vulkan_xcb_gir]}
endif
gir += {'includes' :['Gst-1.0', 'GstBase-1.0', 'GstVideo-1.0', 'GstVulkan-1.0'] + extra_gir_includes}
@ -449,6 +451,7 @@ if enabled_vulkan_winsys.contains('wayland')
if not static_build
gir += {'includes' : ['Gst-1.0', 'GstBase-1.0', 'GstVideo-1.0', vulkan_gir[0]] + extra_gir_includes}
vulkan_wayland_gir += gnome.generate_gir(gstvulkan, kwargs: gir)
library_def += {'gir_targets': library_def.get('gir_targets', []) + [vulkan_wayland_gir]}
endif
gir += {'includes' :['Gst-1.0', 'GstBase-1.0', 'GstVideo-1.0', 'GstVulkan-1.0'] + extra_gir_includes}
library_def += {'gir': library_def['gir'] + [gir]}

View file

@ -88,6 +88,7 @@ if build_gir
library_def = {'lib': library_def['lib'], 'gir': [gir]}
if not static_build
webrtc_gir = gnome.generate_gir(gstwebrtc, kwargs: gir)
library_def += {'gir_targets': library_def.get('gir_targets', []) + [webrtc_gir]}
webrtc_gen_sources += webrtc_gir
endif
endif
@ -102,4 +103,4 @@ gstwebrtc_dep = declare_dependency(link_with: gstwebrtc,
meson.override_dependency(pkg_name, gstwebrtc_dep)
subdir('nice')
subdir('nice')

View file

@ -48,6 +48,7 @@ if build_gir
library_def += {'gir': [gir]}
if not static_build
allocators_gir = gnome.generate_gir(gstallocators, kwargs: gir)
library_def += {'gir_targets': library_def.get('gir_targets', []) + [allocators_gir]}
allocators_gen_sources += allocators_gir
endif
endif

View file

@ -57,6 +57,7 @@ if build_gir
library_def += {'gir': [gir]}
if not static_build
app_gir = gnome.generate_gir(gstapp, kwargs: gir)
library_def += {'gir_targets': library_def.get('gir_targets', []) + [app_gir]}
app_gen_sources += app_gir
endif
endif

View file

@ -178,6 +178,7 @@ if build_gir
library_def = {'lib': library_def['lib'], 'gir': [gir]}
if not static_build
audio_gir = gnome.generate_gir(gstaudio, kwargs: gir)
library_def += {'gir_targets': library_def.get('gir_targets', []) + [audio_gir]}
audio_gen_sources += [audio_gir]
endif
endif

View file

@ -1111,6 +1111,8 @@ if build_gstgl
library_def += {'gir': [gir]}
if not static_build
gl_gir = gnome.generate_gir(gstgl, kwargs: gir)
library_def += {'gir_targets': library_def.get('gir_targets', []) + [gl_gir]}
library_def += {'gir': [gir]}
gen_sources += [gl_gir]
endif
endif
@ -1156,6 +1158,7 @@ if build_gstgl
if not static_build
gir += {'includes': gir['includes'] + [gl_gir[0]]}
gl_x11_gir = gnome.generate_gir(gstgl, kwargs: gir)
library_def += {'gir_targets': library_def.get('gir_targets', []) + [gl_x11_gir]}
endif
endif
gstglx11_dep = declare_dependency(dependencies : [gstgl_dep, x11_dep, xcb_dep],
@ -1193,6 +1196,7 @@ if build_gstgl
if not static_build
gir += {'includes': gir['includes'] + [gl_gir[0]]}
gl_wayland_gir = gnome.generate_gir(gstgl, kwargs: gir)
library_def += {'gir_targets': library_def.get('gir_targets', []) + [gl_wayland_gir]}
endif
endif
gstglwayland_dep = declare_dependency(dependencies : [gstgl_dep],
@ -1228,6 +1232,7 @@ if build_gstgl
if not static_build
gir += {'includes': gir['includes'] + [gl_gir[0]]}
gl_egl_gir = gnome.generate_gir(gstgl, kwargs: gir)
library_def += {'gir_targets': library_def.get('gir_targets', []) + [gl_egl_gir]}
endif
endif
gstglegl_dep = declare_dependency(dependencies : [gstgl_dep],

View file

@ -88,6 +88,7 @@ if build_gir
library_def = {'lib': library_def['lib'], 'gir': [gir]}
if not static_build
pbutils_gir = gnome.generate_gir(pbutils, kwargs: gir)
library_def += {'gir_targets': library_def.get('gir_targets', []) + [pbutils_gir]}
pbutils_gen_sources += [pbutils_gir]
endif
endif
@ -98,4 +99,4 @@ pbutils_dep = declare_dependency(link_with : pbutils,
dependencies : gstpbutils_deps,
sources : pbutils_gen_sources)
meson.override_dependency(pkg_name, pbutils_dep)
meson.override_dependency(pkg_name, pbutils_dep)

View file

@ -74,6 +74,7 @@ if build_gir
library_def = {'lib': library_def['lib'], 'gir': [gir]}
if not static_build
rtp_gir = gnome.generate_gir(gst_rtp, kwargs: gir)
library_def += {'gir_targets': library_def.get('gir_targets', []) + [rtp_gir]}
rtp_gen_sources += [rtp_gir]
endif
endif

View file

@ -79,6 +79,7 @@ if build_gir
library_def = {'lib': library_def['lib'], 'gir': [gir]}
if not static_build
rtsp_gir = gnome.generate_gir(gst_rtsp, kwargs: gir)
library_def += {'gir_targets': library_def.get('gir_targets', []) + [rtsp_gir]}
rtsp_gen_sources += [rtsp_gir]
endif
endif

View file

@ -49,6 +49,7 @@ if build_gir
library_def = {'lib': library_def['lib'], 'gir': [gir]}
if not static_build
sdp_gir = gnome.generate_gir(gstsdp, kwargs: gir)
library_def += {'gir_targets': library_def.get('gir_targets', []) + [sdp_gir]}
sdp_gen_sources += [sdp_gir]
endif
endif

View file

@ -112,6 +112,7 @@ if build_gir
library_def = {'lib': library_def['lib'], 'gir': [gir]}
if not static_build
tag_gir = gnome.generate_gir(gsttag, kwargs: gir)
library_def += {'gir_targets': library_def.get('gir_targets', []) + [tag_gir]}
tag_gen_sources += [tag_gir]
endif
endif

View file

@ -174,6 +174,7 @@ if build_gir
library_def += {'gir': [gir]}
if not static_build
video_gir = gnome.generate_gir(gstvideo, kwargs: gir)
library_def += {'gir_targets': library_def.get('gir_targets', []) + [video_gir]}
video_gen_sources += [video_gir]
endif
endif

View file

@ -95,6 +95,7 @@ if build_gir
# library_def = {'gir': [gir]}
if not static_build
rtsp_server_gir = gnome.generate_gir(gst_rtsp_server, kwargs: gir)
library_def += {'gir_targets': library_def.get('gir_targets', []) + [rtsp_server_gir]}
rtsp_server_gen_sources += [rtsp_server_gir]
endif
endif

View file

@ -314,6 +314,7 @@ if build_gir
# creating another gir which links against gst-full.
if not static_build
gst_gir = gnome.generate_gir(libgst, kwargs: gir)
library_def += {'gir_targets': library_def.get('gir_targets', []) + [gst_gir]}
gst_gen_sources += gst_gir
endif
endif

View file

@ -79,6 +79,7 @@ if build_gir
library_def += {'gir': [gir]}
if not static_build
gst_base_gir = gnome.generate_gir(gst_base, kwargs: gir)
library_def += {'gir_targets': library_def.get('gir_targets', []) + [gst_base_gir]}
gst_base_gen_sources += [gst_base_gir]
endif
endif

View file

@ -81,6 +81,7 @@ if build_gir
library_def += {'gir': [gir]}
if not static_build
gst_check_gir = gnome.generate_gir(gst_check, kwargs: gir)
library_def += {'gir_targets': library_def.get('gir_targets', []) + [gst_check_gir]}
gst_check_gen_sources += gst_check_gir
endif
endif

View file

@ -76,6 +76,7 @@ if build_gir
library_def += {'gir': [gir]}
if not static_build
gst_controller_gir = gnome.generate_gir(gst_controller, kwargs: gir)
library_def += {'gir_targets': library_def.get('gir_targets', []) + [gst_controller_gir]}
gst_controller_gen_sources += [gst_controller_gir]
endif
endif

View file

@ -63,6 +63,7 @@ if build_gir
library_def += {'gir': [gir]}
if not static_build
gst_net_gir = gnome.generate_gir(gst_net, kwargs: gir)
library_def += {'gir_targets': library_def.get('gir_targets', []) + [gst_net_gir]}
gst_net_gen_sources += [gst_net_gir]
endif
endif