Class VideoColorimetry
- Namespace
- GstVideo
- Assembly
- GstVideo-1.0.dll
public sealed class VideoColorimetry
- Inheritance
-
VideoColorimetry
- Inherited Members
Constructors
VideoColorimetry()
public VideoColorimetry()
VideoColorimetry(VideoColorimetryOwnedHandle)
public VideoColorimetry(VideoColorimetryOwnedHandle handle)
Parameters
handleVideoColorimetryOwnedHandle
Properties
Handle
public VideoColorimetryOwnedHandle Handle { get; }
Property Value
Matrix
public VideoColorMatrix Matrix { get; set; }
Property Value
Primaries
public VideoColorPrimaries Primaries { get; set; }
Property Value
Range
public VideoColorRange Range { get; set; }
Property Value
Transfer
public VideoTransferFunction Transfer { get; set; }
Property Value
Methods
Equals(VideoColorimetry?)
public bool Equals(VideoColorimetry? other)
Parameters
otherVideoColorimetry
Returns
Equals(object?)
Determines whether the specified object is equal to the current object.
public override bool Equals(object? obj)
Parameters
objobjectThe object to compare with the current object.
Returns
FromString(string)
public bool FromString(string color)
Parameters
colorstring
Returns
GetHashCode()
Serves as the default hash function.
public override int GetHashCode()
Returns
- int
A hash code for the current object.
IsEqual(VideoColorimetry)
[Version("1.6")]
public bool IsEqual(VideoColorimetry other)
Parameters
otherVideoColorimetry
Returns
IsEquivalent(uint, VideoColorimetry, uint)
[Version("1.22")]
public bool IsEquivalent(uint bitdepth, VideoColorimetry other, uint otherBitdepth)
Parameters
bitdepthuintotherVideoColorimetryotherBitdepthuint
Returns
Matches(string)
public bool Matches(string color)
Parameters
colorstring
Returns
ToString()
public string? ToString()