Class VideoCodecStateHandle
public abstract class VideoCodecStateHandle : SafeHandle, IDisposable, IEquatable<VideoCodecStateHandle>
- Inheritance
-
VideoCodecStateHandle
- Implements
- Derived
- Inherited Members
Constructors
VideoCodecStateHandle(bool)
protected VideoCodecStateHandle(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(VideoCodecStateHandle?)
Indicates whether the current object is equal to another object of the same type.
public bool Equals(VideoCodecStateHandle? other)
Parameters
otherVideoCodecStateHandleAn 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
objobjectThe object to compare with the current object.
Returns
GetAllocationCaps()
public nint GetAllocationCaps()
Returns
GetCaps()
public nint GetCaps()
Returns
GetCodecData()
public nint GetCodecData()
Returns
GetContentLightLevel()
public nint GetContentLightLevel()
Returns
GetHashCode()
Serves as the default hash function.
public override int GetHashCode()
Returns
- int
A hash code for the current object.
GetInfo()
public VideoInfoData GetInfo()
Returns
GetMasteringDisplayInfo()
public nint GetMasteringDisplayInfo()
Returns
OwnedCopy()
public VideoCodecStateOwnedHandle OwnedCopy()
Returns
SetAllocationCaps(nint)
public void SetAllocationCaps(nint value)
Parameters
valuenint
SetCaps(nint)
public void SetCaps(nint value)
Parameters
valuenint
SetCodecData(nint)
public void SetCodecData(nint value)
Parameters
valuenint
SetContentLightLevel(nint)
public void SetContentLightLevel(nint value)
Parameters
valuenint
SetInfo(VideoInfoData)
public void SetInfo(VideoInfoData value)
Parameters
valueVideoInfoData
SetMasteringDisplayInfo(nint)
public void SetMasteringDisplayInfo(nint value)
Parameters
valuenint
UnownedCopy()
public VideoCodecStateUnownedHandle UnownedCopy()