Class VideoFrameHandle
public abstract class VideoFrameHandle : SafeHandle, IDisposable
- Inheritance
-
VideoFrameHandle
- Implements
- Derived
- Inherited Members
Constructors
VideoFrameHandle(bool)
protected VideoFrameHandle(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(VideoFrameHandle?)
public bool Equals(VideoFrameHandle? other)
Parameters
other
VideoFrameHandle
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
GetBuffer()
public IntPtr GetBuffer()
Returns
GetData()
public IntPtr[] GetData()
Returns
- IntPtr[]
GetFlags()
public VideoFrameFlags GetFlags()
Returns
GetHashCode()
Serves as the default hash function.
public override int GetHashCode()
Returns
- int
A hash code for the current object.
GetId()
public int GetId()
Returns
GetInfo()
public VideoInfoData GetInfo()
Returns
GetMap()
public MapInfoData[] GetMap()
Returns
GetMeta()
public IntPtr GetMeta()
Returns
SetBuffer(IntPtr)
public void SetBuffer(IntPtr value)
Parameters
value
IntPtr
SetData(IntPtr[])
public void SetData(IntPtr[] value)
Parameters
value
IntPtr[]
SetFlags(VideoFrameFlags)
public void SetFlags(VideoFrameFlags value)
Parameters
value
VideoFrameFlags
SetId(int)
public void SetId(int value)
Parameters
value
int
SetInfo(VideoInfoData)
public void SetInfo(VideoInfoData value)
Parameters
value
VideoInfoData
SetMap(MapInfoData[])
public void SetMap(MapInfoData[] value)
Parameters
value
MapInfoData[]
SetMeta(IntPtr)
public void SetMeta(IntPtr value)
Parameters
value
IntPtr