Class VideoColorimetryHandle
public abstract class VideoColorimetryHandle : SafeHandle, IDisposable
- Inheritance
-
VideoColorimetryHandle
- Implements
- Derived
- Inherited Members
Constructors
VideoColorimetryHandle(bool)
protected VideoColorimetryHandle(bool ownsHandle)
Parameters
ownsHandle
bool
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
other
VideoColorimetryHandle
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
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
value
VideoColorMatrix
SetPrimaries(VideoColorPrimaries)
public void SetPrimaries(VideoColorPrimaries value)
Parameters
value
VideoColorPrimaries
SetRange(VideoColorRange)
public void SetRange(VideoColorRange value)
Parameters
value
VideoColorRange
SetTransfer(VideoTransferFunction)
public void SetTransfer(VideoTransferFunction value)
Parameters
value
VideoTransferFunction