Class VideoColorimetryHandle
public abstract class VideoColorimetryHandle : SafeHandle, IDisposable
- Inheritance
-
VideoColorimetryHandle
- Implements
- Derived
- Inherited Members
Constructors
VideoColorimetryHandle(bool)
protected VideoColorimetryHandle(bool ownsHandle)
Parameters
ownsHandlebool
Properties
IsInvalid
When overridden in a derived class, gets a value indicating whether the handle value is invalid.
public override sealed bool IsInvalid { get; }
Property Value
Methods
Equals(VideoColorimetryHandle?)
public bool Equals(VideoColorimetryHandle? other)
Parameters
otherVideoColorimetryHandle
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
GetHashCode()
Serves as the default hash function.
public override int GetHashCode()
Returns
- int
A hash code for the current object.
GetMatrix()
public VideoColorMatrix GetMatrix()
Returns
GetPrimaries()
public VideoColorPrimaries GetPrimaries()
Returns
GetRange()
public VideoColorRange GetRange()
Returns
GetTransfer()
public VideoTransferFunction GetTransfer()
Returns
SetMatrix(VideoColorMatrix)
public void SetMatrix(VideoColorMatrix value)
Parameters
valueVideoColorMatrix
SetPrimaries(VideoColorPrimaries)
public void SetPrimaries(VideoColorPrimaries value)
Parameters
valueVideoColorPrimaries
SetRange(VideoColorRange)
public void SetRange(VideoColorRange value)
Parameters
valueVideoColorRange
SetTransfer(VideoTransferFunction)
public void SetTransfer(VideoTransferFunction value)
Parameters
valueVideoTransferFunction