Class VideoCodecStateHandle
public abstract class VideoCodecStateHandle : SafeHandle, IDisposable, IEquatable<VideoCodecStateHandle>
- Inheritance
-
VideoCodecStateHandle
- Implements
- Derived
- Inherited Members
Constructors
VideoCodecStateHandle(bool)
protected VideoCodecStateHandle(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(VideoCodecStateHandle?)
Indicates whether the current object is equal to another object of the same type.
public bool Equals(VideoCodecStateHandle? other)
Parameters
other
VideoCodecStateHandleAn 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
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
value
nint
SetCaps(nint)
public void SetCaps(nint value)
Parameters
value
nint
SetCodecData(nint)
public void SetCodecData(nint value)
Parameters
value
nint
SetContentLightLevel(nint)
public void SetContentLightLevel(nint value)
Parameters
value
nint
SetInfo(VideoInfoData)
public void SetInfo(VideoInfoData value)
Parameters
value
VideoInfoData
SetMasteringDisplayInfo(nint)
public void SetMasteringDisplayInfo(nint value)
Parameters
value
nint
UnownedCopy()
public VideoCodecStateUnownedHandle UnownedCopy()