Class Caps
- Namespace
- Gst
- Assembly
- Gst-1.0.dll
public sealed class Caps : BoxedRecord, IEquatable<Caps>
- Inheritance
-
Caps
- Implements
- Inherited Members
Constructors
Caps()
public Caps()
Caps(CapsOwnedHandle)
public Caps(CapsOwnedHandle handle)
Parameters
handle
CapsOwnedHandle
Properties
Handle
public CapsOwnedHandle Handle { get; }
Property Value
Methods
Append(Caps)
public void Append(Caps caps2)
Parameters
caps2
Caps
AppendStructure(Structure)
public void AppendStructure(Structure structure)
Parameters
structure
Structure
AppendStructureFull(Structure, CapsFeatures?)
[Version("1.2")]
public void AppendStructureFull(Structure structure, CapsFeatures? features)
Parameters
structure
Structurefeatures
CapsFeatures
CanIntersect(Caps)
public bool CanIntersect(Caps caps2)
Parameters
caps2
Caps
Returns
Copy()
public Caps Copy()
Returns
CopyNth(uint)
[Version("1.16")]
public Caps CopyNth(uint nth)
Parameters
nth
uint
Returns
Equals(Caps?)
Indicates whether the current object is equal to another object of the same type.
public bool Equals(Caps? other)
Parameters
other
CapsAn object to compare with this object.
Returns
Equals(object?)
Determines whether the specified object is equal to the current object.
public override bool Equals(object? obj)
Parameters
obj
objectThe object to compare with the current object.
Returns
FilterAndMapInPlace(CapsFilterMapFunc)
[Version("1.6")]
public void FilterAndMapInPlace(CapsFilterMapFunc func)
Parameters
func
CapsFilterMapFunc
Fixate()
public Caps Fixate()
Returns
Foreach(CapsForeachFunc)
[Version("1.6")]
public bool Foreach(CapsForeachFunc func)
Parameters
func
CapsForeachFunc
Returns
FromString(string)
public static Caps? FromString(string @string)
Parameters
string
string
Returns
GetFeatures(uint)
[Version("1.2")]
public CapsFeatures? GetFeatures(uint index)
Parameters
index
uint
Returns
GetGType()
public static Type GetGType()
Returns
GetHashCode()
Serves as the default hash function.
public override int GetHashCode()
Returns
- int
A hash code for the current object.
GetSize()
public uint GetSize()
Returns
GetStructure(uint)
public Structure GetStructure(uint index)
Parameters
index
uint
Returns
Intersect(Caps)
public Caps Intersect(Caps caps2)
Parameters
caps2
Caps
Returns
IntersectFull(Caps, CapsIntersectMode)
public Caps IntersectFull(Caps caps2, CapsIntersectMode mode)
Parameters
caps2
Capsmode
CapsIntersectMode
Returns
IsAlwaysCompatible(Caps)
public bool IsAlwaysCompatible(Caps caps2)
Parameters
caps2
Caps
Returns
IsAny()
public bool IsAny()
Returns
IsEmpty()
public bool IsEmpty()
Returns
IsEqual(Caps)
public bool IsEqual(Caps caps2)
Parameters
caps2
Caps
Returns
IsEqualFixed(Caps)
public bool IsEqualFixed(Caps caps2)
Parameters
caps2
Caps
Returns
IsFixed()
public bool IsFixed()
Returns
IsStrictlyEqual(Caps)
public bool IsStrictlyEqual(Caps caps2)
Parameters
caps2
Caps
Returns
IsSubset(Caps)
public bool IsSubset(Caps superset)
Parameters
superset
Caps
Returns
IsSubsetStructure(Structure)
public bool IsSubsetStructure(Structure structure)
Parameters
structure
Structure
Returns
IsSubsetStructureFull(Structure, CapsFeatures?)
[Version("1.2")]
public bool IsSubsetStructureFull(Structure structure, CapsFeatures? features)
Parameters
structure
Structurefeatures
CapsFeatures
Returns
MapInPlace(CapsMapFunc)
[Version("1.6")]
public bool MapInPlace(CapsMapFunc func)
Parameters
func
CapsMapFunc
Returns
Merge(Caps)
public Caps Merge(Caps caps2)
Parameters
caps2
Caps
Returns
MergeStructure(Structure)
public Caps MergeStructure(Structure structure)
Parameters
structure
Structure
Returns
MergeStructureFull(Structure, CapsFeatures?)
[Version("1.2")]
public Caps MergeStructureFull(Structure structure, CapsFeatures? features)
Parameters
structure
Structurefeatures
CapsFeatures
Returns
NewAny()
public static Caps NewAny()
Returns
NewEmpty()
public static Caps NewEmpty()
Returns
NewEmptySimple(string)
public static Caps NewEmptySimple(string mediaType)
Parameters
mediaType
string
Returns
NewFullValist(Structure, IntPtr)
public static Caps NewFullValist(Structure structure, IntPtr varArgs)
Parameters
Returns
Normalize()
public Caps Normalize()
Returns
RemoveStructure(uint)
public void RemoveStructure(uint idx)
Parameters
idx
uint
Serialize(SerializeFlags)
[Version("1.20")]
public string Serialize(SerializeFlags flags)
Parameters
flags
SerializeFlags
Returns
SetFeatures(uint, CapsFeatures?)
[Version("1.2")]
public void SetFeatures(uint index, CapsFeatures? features)
Parameters
index
uintfeatures
CapsFeatures
SetFeaturesSimple(CapsFeatures?)
[Version("1.16")]
public void SetFeaturesSimple(CapsFeatures? features)
Parameters
features
CapsFeatures
SetSimpleValist(string, IntPtr)
public void SetSimpleValist(string field, IntPtr varargs)
Parameters
SetValue(string, Value)
public void SetValue(string field, Value value)
Parameters
Simplify()
public Caps Simplify()
Returns
StealStructure(uint)
public Structure? StealStructure(uint index)
Parameters
index
uint
Returns
Subtract(Caps)
public Caps Subtract(Caps subtrahend)
Parameters
subtrahend
Caps
Returns
ToString()
public string ToString()
Returns
Truncate()
public Caps Truncate()