Class VideoFrame
- Namespace
- GstVideo
- Assembly
- GstVideo-1.0.dll
public sealed class VideoFrame
- Inheritance
-
VideoFrame
- Inherited Members
Constructors
VideoFrame()
public VideoFrame()
VideoFrame(VideoFrameOwnedHandle)
public VideoFrame(VideoFrameOwnedHandle handle)
Parameters
handle
VideoFrameOwnedHandle
Properties
Flags
public VideoFrameFlags Flags { get; set; }
Property Value
Handle
public VideoFrameOwnedHandle Handle { get; }
Property Value
Id
public int Id { get; set; }
Property Value
Methods
Copy(VideoFrame)
public bool Copy(VideoFrame src)
Parameters
src
VideoFrame
Returns
CopyPlane(VideoFrame, uint)
public bool CopyPlane(VideoFrame src, uint plane)
Parameters
src
VideoFrameplane
uint
Returns
Equals(VideoFrame?)
public bool Equals(VideoFrame? other)
Parameters
other
VideoFrame
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.
Map(out VideoFrame, VideoInfo, Buffer, MapFlags)
public static bool Map(out VideoFrame frame, VideoInfo info, Buffer buffer, MapFlags flags)
Parameters
frame
VideoFrameinfo
VideoInfobuffer
Bufferflags
MapFlags
Returns
MapId(out VideoFrame, VideoInfo, Buffer, int, MapFlags)
public static bool MapId(out VideoFrame frame, VideoInfo info, Buffer buffer, int id, MapFlags flags)
Parameters
frame
VideoFrameinfo
VideoInfobuffer
Bufferid
intflags
MapFlags
Returns
Unmap()
public void Unmap()