Class Meta
public class Meta
- Inheritance
-
Meta
- Inherited Members
Methods
ApiTypeGetTags(Type)
Calls native function gst_meta_api_type_get_tags. Version: 1.2
[Version("1.2")]
public static extern Utf8StringArrayNullTerminatedUnownedHandle ApiTypeGetTags(Type api)
Parameters
api
TypeTransfer ownership: None Nullable: False
Returns
- Utf8StringArrayNullTerminatedUnownedHandle
Transfer ownership: None Nullable: False
ApiTypeHasTag(Type, Quark)
Calls native function gst_meta_api_type_has_tag.
public static extern bool ApiTypeHasTag(Type api, Quark tag)
Parameters
api
TypeTransfer ownership: None Nullable: False
tag
QuarkTransfer ownership: None Nullable: False
Returns
- bool
Transfer ownership: None Nullable: False
ApiTypeRegister(NonNullableUtf8StringHandle, Utf8StringArrayNullTerminatedHandle)
Calls native function gst_meta_api_type_register.
public static extern nuint ApiTypeRegister(NonNullableUtf8StringHandle api, Utf8StringArrayNullTerminatedHandle tags)
Parameters
api
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
tags
Utf8StringArrayNullTerminatedHandleTransfer ownership: None Nullable: False
Returns
- nuint
Transfer ownership: None Nullable: False
CompareSeqnum(MetaHandle, MetaHandle)
Calls native method gst_meta_compare_seqnum. Version: 1.16
[Version("1.16")]
public static extern int CompareSeqnum(MetaHandle meta1, MetaHandle meta2)
Parameters
meta1
MetaHandleTransfer ownership: None Nullable: False
meta2
MetaHandleTransfer ownership: None Nullable: False
Returns
- int
Transfer ownership: None Nullable: False
GetInfo(NonNullableUtf8StringHandle)
Calls native function gst_meta_get_info.
public static extern MetaInfoUnownedHandle GetInfo(NonNullableUtf8StringHandle impl)
Parameters
impl
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
Returns
- MetaInfoUnownedHandle
Transfer ownership: None Nullable: True
GetSeqnum(MetaHandle)
Calls native method gst_meta_get_seqnum. Version: 1.16
[Version("1.16")]
public static extern ulong GetSeqnum(MetaHandle meta)
Parameters
meta
MetaHandleTransfer ownership: None Nullable: False
Returns
- ulong
Transfer ownership: None Nullable: False
Register(Type, NonNullableUtf8StringHandle, nuint, MetaInitFunction, MetaFreeFunction, MetaTransformFunction)
Calls native function gst_meta_register.
public static extern MetaInfoUnownedHandle Register(Type api, NonNullableUtf8StringHandle impl, nuint size, MetaInitFunction initFunc, MetaFreeFunction freeFunc, MetaTransformFunction transformFunc)
Parameters
api
TypeTransfer ownership: None Nullable: False
impl
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
size
nuintTransfer ownership: None Nullable: False
initFunc
MetaInitFunctionTransfer ownership: None Nullable: False
freeFunc
MetaFreeFunctionTransfer ownership: None Nullable: False
transformFunc
MetaTransformFunctionTransfer ownership: None Nullable: False
Returns
- MetaInfoUnownedHandle
Transfer ownership: None Nullable: False
RegisterCustom(NonNullableUtf8StringHandle, Utf8StringArrayNullTerminatedHandle, CustomMetaTransformFunction, IntPtr, DestroyNotify)
Calls native function gst_meta_register_custom. Version: 1.20
[Version("1.20")]
public static extern MetaInfoUnownedHandle RegisterCustom(NonNullableUtf8StringHandle name, Utf8StringArrayNullTerminatedHandle tags, CustomMetaTransformFunction transformFunc, IntPtr userData, DestroyNotify destroyData)
Parameters
name
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
tags
Utf8StringArrayNullTerminatedHandleTransfer ownership: None Nullable: False
transformFunc
CustomMetaTransformFunctionTransfer ownership: None Nullable: True
userData
IntPtrTransfer ownership: None Nullable: True
destroyData
DestroyNotifyTransfer ownership: None Nullable: False
Returns
- MetaInfoUnownedHandle
Transfer ownership: None Nullable: False