Class Caps
public class Caps
- Inheritance
-
Caps
- Inherited Members
Methods
Append(CapsHandle, CapsUnownedHandle)
Calls native method gst_caps_append.
public static extern void Append(CapsHandle caps1, CapsUnownedHandle caps2)
Parameters
caps1
CapsHandleTransfer ownership: None Nullable: False
caps2
CapsUnownedHandleTransfer ownership: Full Nullable: False
AppendStructure(CapsHandle, StructureUnownedHandle)
Calls native method gst_caps_append_structure.
public static extern void AppendStructure(CapsHandle caps, StructureUnownedHandle structure)
Parameters
caps
CapsHandleTransfer ownership: None Nullable: False
structure
StructureUnownedHandleTransfer ownership: Full Nullable: False
AppendStructureFull(CapsHandle, StructureUnownedHandle, CapsFeaturesUnownedHandle)
Calls native method gst_caps_append_structure_full. Version: 1.2
[Version("1.2")]
public static extern void AppendStructureFull(CapsHandle caps, StructureUnownedHandle structure, CapsFeaturesUnownedHandle features)
Parameters
caps
CapsHandleTransfer ownership: None Nullable: False
structure
StructureUnownedHandleTransfer ownership: Full Nullable: False
features
CapsFeaturesUnownedHandleTransfer ownership: Full Nullable: True
CanIntersect(CapsHandle, CapsHandle)
Calls native method gst_caps_can_intersect.
public static extern bool CanIntersect(CapsHandle caps1, CapsHandle caps2)
Parameters
caps1
CapsHandleTransfer ownership: None Nullable: False
caps2
CapsHandleTransfer ownership: None Nullable: False
Returns
- bool
Transfer ownership: None Nullable: False
Copy(CapsHandle)
Calls native method gst_caps_copy.
public static extern CapsOwnedHandle Copy(CapsHandle caps)
Parameters
caps
CapsHandleTransfer ownership: None Nullable: False
Returns
- CapsOwnedHandle
Transfer ownership: Full Nullable: False
CopyNth(CapsHandle, uint)
Calls native method gst_caps_copy_nth. Version: 1.16
[Version("1.16")]
public static extern CapsOwnedHandle CopyNth(CapsHandle caps, uint nth)
Parameters
caps
CapsHandleTransfer ownership: None Nullable: False
nth
uintTransfer ownership: None Nullable: False
Returns
- CapsOwnedHandle
Transfer ownership: Full Nullable: False
FilterAndMapInPlace(CapsHandle, CapsFilterMapFunc, IntPtr)
Calls native method gst_caps_filter_and_map_in_place. Version: 1.6
[Version("1.6")]
public static extern void FilterAndMapInPlace(CapsHandle caps, CapsFilterMapFunc func, IntPtr userData)
Parameters
caps
CapsHandleTransfer ownership: None Nullable: False
func
CapsFilterMapFuncTransfer ownership: None Nullable: False
userData
IntPtrTransfer ownership: None Nullable: True
Fixate(CapsUnownedHandle)
Calls native method gst_caps_fixate.
public static extern CapsOwnedHandle Fixate(CapsUnownedHandle caps)
Parameters
caps
CapsUnownedHandleTransfer ownership: Full Nullable: False
Returns
- CapsOwnedHandle
Transfer ownership: Full Nullable: False
Foreach(CapsHandle, CapsForeachFunc, IntPtr)
Calls native method gst_caps_foreach. Version: 1.6
[Version("1.6")]
public static extern bool Foreach(CapsHandle caps, CapsForeachFunc func, IntPtr userData)
Parameters
caps
CapsHandleTransfer ownership: None Nullable: False
func
CapsForeachFuncTransfer ownership: None Nullable: False
userData
IntPtrTransfer ownership: None Nullable: True
Returns
- bool
Transfer ownership: None Nullable: False
FromString(NonNullableUtf8StringHandle)
Calls native function gst_caps_from_string.
public static extern CapsOwnedHandle FromString(NonNullableUtf8StringHandle @string)
Parameters
string
NonNullableUtf8StringHandle
Returns
- CapsOwnedHandle
Transfer ownership: Full Nullable: True
GetFeatures(CapsHandle, uint)
Calls native method gst_caps_get_features. Version: 1.2
[Version("1.2")]
public static extern CapsFeaturesUnownedHandle GetFeatures(CapsHandle caps, uint index)
Parameters
caps
CapsHandleTransfer ownership: None Nullable: False
index
uintTransfer ownership: None Nullable: False
Returns
- CapsFeaturesUnownedHandle
Transfer ownership: None Nullable: True
GetGType()
Calls native function gst_caps_get_type.
public static extern nuint GetGType()
Returns
- nuint
Transfer ownership: None Nullable: False
GetSize(CapsHandle)
Calls native method gst_caps_get_size.
public static extern uint GetSize(CapsHandle caps)
Parameters
caps
CapsHandleTransfer ownership: None Nullable: False
Returns
- uint
Transfer ownership: None Nullable: False
GetStructure(CapsHandle, uint)
Calls native method gst_caps_get_structure.
public static extern StructureUnownedHandle GetStructure(CapsHandle caps, uint index)
Parameters
caps
CapsHandleTransfer ownership: None Nullable: False
index
uintTransfer ownership: None Nullable: False
Returns
- StructureUnownedHandle
Transfer ownership: None Nullable: False
Intersect(CapsHandle, CapsHandle)
Calls native method gst_caps_intersect.
public static extern CapsOwnedHandle Intersect(CapsHandle caps1, CapsHandle caps2)
Parameters
caps1
CapsHandleTransfer ownership: None Nullable: False
caps2
CapsHandleTransfer ownership: None Nullable: False
Returns
- CapsOwnedHandle
Transfer ownership: Full Nullable: False
IntersectFull(CapsHandle, CapsHandle, CapsIntersectMode)
Calls native method gst_caps_intersect_full.
public static extern CapsOwnedHandle IntersectFull(CapsHandle caps1, CapsHandle caps2, CapsIntersectMode mode)
Parameters
caps1
CapsHandleTransfer ownership: None Nullable: False
caps2
CapsHandleTransfer ownership: None Nullable: False
mode
CapsIntersectModeTransfer ownership: None Nullable: False
Returns
- CapsOwnedHandle
Transfer ownership: Full Nullable: False
IsAlwaysCompatible(CapsHandle, CapsHandle)
Calls native method gst_caps_is_always_compatible.
public static extern bool IsAlwaysCompatible(CapsHandle caps1, CapsHandle caps2)
Parameters
caps1
CapsHandleTransfer ownership: None Nullable: False
caps2
CapsHandleTransfer ownership: None Nullable: False
Returns
- bool
Transfer ownership: None Nullable: False
IsAny(CapsHandle)
Calls native method gst_caps_is_any.
public static extern bool IsAny(CapsHandle caps)
Parameters
caps
CapsHandleTransfer ownership: None Nullable: False
Returns
- bool
Transfer ownership: None Nullable: False
IsEmpty(CapsHandle)
Calls native method gst_caps_is_empty.
public static extern bool IsEmpty(CapsHandle caps)
Parameters
caps
CapsHandleTransfer ownership: None Nullable: False
Returns
- bool
Transfer ownership: None Nullable: False
IsEqual(CapsHandle, CapsHandle)
Calls native method gst_caps_is_equal.
public static extern bool IsEqual(CapsHandle caps1, CapsHandle caps2)
Parameters
caps1
CapsHandleTransfer ownership: None Nullable: False
caps2
CapsHandleTransfer ownership: None Nullable: False
Returns
- bool
Transfer ownership: None Nullable: False
IsEqualFixed(CapsHandle, CapsHandle)
Calls native method gst_caps_is_equal_fixed.
public static extern bool IsEqualFixed(CapsHandle caps1, CapsHandle caps2)
Parameters
caps1
CapsHandleTransfer ownership: None Nullable: False
caps2
CapsHandleTransfer ownership: None Nullable: False
Returns
- bool
Transfer ownership: None Nullable: False
IsFixed(CapsHandle)
Calls native method gst_caps_is_fixed.
public static extern bool IsFixed(CapsHandle caps)
Parameters
caps
CapsHandleTransfer ownership: None Nullable: False
Returns
- bool
Transfer ownership: None Nullable: False
IsStrictlyEqual(CapsHandle, CapsHandle)
Calls native method gst_caps_is_strictly_equal.
public static extern bool IsStrictlyEqual(CapsHandle caps1, CapsHandle caps2)
Parameters
caps1
CapsHandleTransfer ownership: None Nullable: False
caps2
CapsHandleTransfer ownership: None Nullable: False
Returns
- bool
Transfer ownership: None Nullable: False
IsSubset(CapsHandle, CapsHandle)
Calls native method gst_caps_is_subset.
public static extern bool IsSubset(CapsHandle subset, CapsHandle superset)
Parameters
subset
CapsHandleTransfer ownership: None Nullable: False
superset
CapsHandleTransfer ownership: None Nullable: False
Returns
- bool
Transfer ownership: None Nullable: False
IsSubsetStructure(CapsHandle, StructureHandle)
Calls native method gst_caps_is_subset_structure.
public static extern bool IsSubsetStructure(CapsHandle caps, StructureHandle structure)
Parameters
caps
CapsHandleTransfer ownership: None Nullable: False
structure
StructureHandleTransfer ownership: None Nullable: False
Returns
- bool
Transfer ownership: None Nullable: False
IsSubsetStructureFull(CapsHandle, StructureHandle, CapsFeaturesHandle)
Calls native method gst_caps_is_subset_structure_full. Version: 1.2
[Version("1.2")]
public static extern bool IsSubsetStructureFull(CapsHandle caps, StructureHandle structure, CapsFeaturesHandle features)
Parameters
caps
CapsHandleTransfer ownership: None Nullable: False
structure
StructureHandleTransfer ownership: None Nullable: False
features
CapsFeaturesHandleTransfer ownership: None Nullable: True
Returns
- bool
Transfer ownership: None Nullable: False
MapInPlace(CapsHandle, CapsMapFunc, IntPtr)
Calls native method gst_caps_map_in_place. Version: 1.6
[Version("1.6")]
public static extern bool MapInPlace(CapsHandle caps, CapsMapFunc func, IntPtr userData)
Parameters
caps
CapsHandleTransfer ownership: None Nullable: False
func
CapsMapFuncTransfer ownership: None Nullable: False
userData
IntPtrTransfer ownership: None Nullable: True
Returns
- bool
Transfer ownership: None Nullable: False
Merge(CapsUnownedHandle, CapsUnownedHandle)
Calls native method gst_caps_merge.
public static extern CapsOwnedHandle Merge(CapsUnownedHandle caps1, CapsUnownedHandle caps2)
Parameters
caps1
CapsUnownedHandleTransfer ownership: Full Nullable: False
caps2
CapsUnownedHandleTransfer ownership: Full Nullable: False
Returns
- CapsOwnedHandle
Transfer ownership: Full Nullable: False
MergeStructure(CapsUnownedHandle, StructureUnownedHandle)
Calls native method gst_caps_merge_structure.
public static extern CapsOwnedHandle MergeStructure(CapsUnownedHandle caps, StructureUnownedHandle structure)
Parameters
caps
CapsUnownedHandleTransfer ownership: Full Nullable: False
structure
StructureUnownedHandleTransfer ownership: Full Nullable: False
Returns
- CapsOwnedHandle
Transfer ownership: Full Nullable: False
MergeStructureFull(CapsUnownedHandle, StructureUnownedHandle, CapsFeaturesUnownedHandle)
Calls native method gst_caps_merge_structure_full. Version: 1.2
[Version("1.2")]
public static extern CapsOwnedHandle MergeStructureFull(CapsUnownedHandle caps, StructureUnownedHandle structure, CapsFeaturesUnownedHandle features)
Parameters
caps
CapsUnownedHandleTransfer ownership: Full Nullable: False
structure
StructureUnownedHandleTransfer ownership: Full Nullable: False
features
CapsFeaturesUnownedHandleTransfer ownership: Full Nullable: True
Returns
- CapsOwnedHandle
Transfer ownership: Full Nullable: False
NewAny()
Calls native constructor gst_caps_new_any.
public static extern CapsOwnedHandle NewAny()
Returns
- CapsOwnedHandle
Transfer ownership: Full Nullable: False
NewEmpty()
Calls native constructor gst_caps_new_empty.
public static extern CapsOwnedHandle NewEmpty()
Returns
- CapsOwnedHandle
Transfer ownership: Full Nullable: False
NewEmptySimple(NonNullableUtf8StringHandle)
Calls native constructor gst_caps_new_empty_simple.
public static extern CapsOwnedHandle NewEmptySimple(NonNullableUtf8StringHandle mediaType)
Parameters
mediaType
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
Returns
- CapsOwnedHandle
Transfer ownership: Full Nullable: False
NewFullValist(StructureHandle, IntPtr)
Calls native constructor gst_caps_new_full_valist.
public static extern CapsOwnedHandle NewFullValist(StructureHandle structure, IntPtr varArgs)
Parameters
structure
StructureHandleTransfer ownership: None Nullable: False
varArgs
IntPtrTransfer ownership: None Nullable: False
Returns
- CapsOwnedHandle
Transfer ownership: Full Nullable: False
Normalize(CapsUnownedHandle)
Calls native method gst_caps_normalize.
public static extern CapsOwnedHandle Normalize(CapsUnownedHandle caps)
Parameters
caps
CapsUnownedHandleTransfer ownership: Full Nullable: False
Returns
- CapsOwnedHandle
Transfer ownership: Full Nullable: False
RemoveStructure(CapsHandle, uint)
Calls native method gst_caps_remove_structure.
public static extern void RemoveStructure(CapsHandle caps, uint idx)
Parameters
caps
CapsHandleTransfer ownership: None Nullable: False
idx
uintTransfer ownership: None Nullable: False
Serialize(CapsHandle, SerializeFlags)
Calls native method gst_caps_serialize. Version: 1.20
[Version("1.20")]
public static extern NonNullableUtf8StringOwnedHandle Serialize(CapsHandle caps, SerializeFlags flags)
Parameters
caps
CapsHandleTransfer ownership: None Nullable: False
flags
SerializeFlagsTransfer ownership: None Nullable: False
Returns
- NonNullableUtf8StringOwnedHandle
Transfer ownership: Full Nullable: False
SetFeatures(CapsHandle, uint, CapsFeaturesUnownedHandle)
Calls native method gst_caps_set_features. Version: 1.2
[Version("1.2")]
public static extern void SetFeatures(CapsHandle caps, uint index, CapsFeaturesUnownedHandle features)
Parameters
caps
CapsHandleTransfer ownership: None Nullable: False
index
uintTransfer ownership: None Nullable: False
features
CapsFeaturesUnownedHandleTransfer ownership: Full Nullable: True
SetFeaturesSimple(CapsHandle, CapsFeaturesUnownedHandle)
Calls native method gst_caps_set_features_simple. Version: 1.16
[Version("1.16")]
public static extern void SetFeaturesSimple(CapsHandle caps, CapsFeaturesUnownedHandle features)
Parameters
caps
CapsHandleTransfer ownership: None Nullable: False
features
CapsFeaturesUnownedHandleTransfer ownership: Full Nullable: True
SetSimpleValist(CapsHandle, NonNullableUtf8StringHandle, IntPtr)
Calls native method gst_caps_set_simple_valist.
public static extern void SetSimpleValist(CapsHandle caps, NonNullableUtf8StringHandle field, IntPtr varargs)
Parameters
caps
CapsHandleTransfer ownership: None Nullable: False
field
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
varargs
IntPtrTransfer ownership: None Nullable: False
SetValue(CapsHandle, NonNullableUtf8StringHandle, ValueHandle)
Calls native method gst_caps_set_value.
public static extern void SetValue(CapsHandle caps, NonNullableUtf8StringHandle field, ValueHandle value)
Parameters
caps
CapsHandleTransfer ownership: None Nullable: False
field
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
value
ValueHandleTransfer ownership: None Nullable: False
Simplify(CapsUnownedHandle)
Calls native method gst_caps_simplify.
public static extern CapsOwnedHandle Simplify(CapsUnownedHandle caps)
Parameters
caps
CapsUnownedHandleTransfer ownership: Full Nullable: False
Returns
- CapsOwnedHandle
Transfer ownership: Full Nullable: False
StealStructure(CapsHandle, uint)
Calls native method gst_caps_steal_structure.
public static extern StructureOwnedHandle StealStructure(CapsHandle caps, uint index)
Parameters
caps
CapsHandleTransfer ownership: None Nullable: False
index
uintTransfer ownership: None Nullable: False
Returns
- StructureOwnedHandle
Transfer ownership: Full Nullable: True
Subtract(CapsHandle, CapsHandle)
Calls native method gst_caps_subtract.
public static extern CapsOwnedHandle Subtract(CapsHandle minuend, CapsHandle subtrahend)
Parameters
minuend
CapsHandleTransfer ownership: None Nullable: False
subtrahend
CapsHandleTransfer ownership: None Nullable: False
Returns
- CapsOwnedHandle
Transfer ownership: Full Nullable: False
ToString(CapsHandle)
Calls native method gst_caps_to_string.
public static extern NonNullableUtf8StringOwnedHandle ToString(CapsHandle caps)
Parameters
caps
CapsHandleTransfer ownership: None Nullable: False
Returns
- NonNullableUtf8StringOwnedHandle
Transfer ownership: Full Nullable: False
Truncate(CapsUnownedHandle)
Calls native method gst_caps_truncate.
public static extern CapsOwnedHandle Truncate(CapsUnownedHandle caps)
Parameters
caps
CapsUnownedHandleTransfer ownership: Full Nullable: False
Returns
- CapsOwnedHandle
Transfer ownership: Full Nullable: False