Class VideoMetaHandle
public abstract class VideoMetaHandle : SafeHandle, IDisposable
- Inheritance
-
VideoMetaHandle
- Implements
- Derived
- Inherited Members
Constructors
VideoMetaHandle(bool)
protected VideoMetaHandle(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(VideoMetaHandle?)
public bool Equals(VideoMetaHandle? other)
Parameters
other
VideoMetaHandle
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
GetAlignment()
public VideoAlignmentData GetAlignment()
Returns
GetBuffer()
public IntPtr GetBuffer()
Returns
GetFlags()
public VideoFrameFlags GetFlags()
Returns
GetFormat()
public VideoFormat GetFormat()
Returns
GetHashCode()
Serves as the default hash function.
public override int GetHashCode()
Returns
- int
A hash code for the current object.
GetHeight()
public uint GetHeight()
Returns
GetId()
public int GetId()
Returns
GetMap()
public VideoMetaData.MapCallback GetMap()
Returns
GetMeta()
public MetaData GetMeta()
Returns
GetNPlanes()
public uint GetNPlanes()
Returns
GetOffset()
public nuint[] GetOffset()
Returns
- UIntPtr[]
GetStride()
public int[] GetStride()
Returns
- int[]
GetUnmap()
public VideoMetaData.UnmapCallback GetUnmap()
Returns
GetWidth()
public uint GetWidth()
Returns
SetAlignment(VideoAlignmentData)
public void SetAlignment(VideoAlignmentData value)
Parameters
value
VideoAlignmentData
SetBuffer(IntPtr)
public void SetBuffer(IntPtr value)
Parameters
value
IntPtr
SetFlags(VideoFrameFlags)
public void SetFlags(VideoFrameFlags value)
Parameters
value
VideoFrameFlags
SetFormat(VideoFormat)
public void SetFormat(VideoFormat value)
Parameters
value
VideoFormat
SetHeight(uint)
public void SetHeight(uint value)
Parameters
value
uint
SetId(int)
public void SetId(int value)
Parameters
value
int
SetMeta(MetaData)
public void SetMeta(MetaData value)
Parameters
value
MetaData
SetNPlanes(uint)
public void SetNPlanes(uint value)
Parameters
value
uint
SetOffset(nuint[])
public void SetOffset(nuint[] value)
Parameters
value
UIntPtr[]
SetStride(int[])
public void SetStride(int[] value)
Parameters
value
int[]
SetWidth(uint)
public void SetWidth(uint value)
Parameters
value
uint