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
handleVideoFrameOwnedHandle
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
srcVideoFrame
Returns
CopyPlane(VideoFrame, uint)
public bool CopyPlane(VideoFrame src, uint plane)
Parameters
srcVideoFrameplaneuint
Returns
Equals(VideoFrame?)
public bool Equals(VideoFrame? other)
Parameters
otherVideoFrame
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
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
frameVideoFrameinfoVideoInfobufferBufferflagsMapFlags
Returns
MapId(out VideoFrame, VideoInfo, Buffer, int, MapFlags)
public static bool MapId(out VideoFrame frame, VideoInfo info, Buffer buffer, int id, MapFlags flags)
Parameters
frameVideoFrameinfoVideoInfobufferBufferidintflagsMapFlags
Returns
Unmap()
public void Unmap()