Table of Contents

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

VideoFrameFlags

Handle

public VideoFrameOwnedHandle Handle { get; }

Property Value

VideoFrameOwnedHandle

Id

public int Id { get; set; }

Property Value

int

Methods

Copy(VideoFrame)

public bool Copy(VideoFrame src)

Parameters

src VideoFrame

Returns

bool

CopyPlane(VideoFrame, uint)

public bool CopyPlane(VideoFrame src, uint plane)

Parameters

src VideoFrame
plane uint

Returns

bool

Equals(VideoFrame?)

public bool Equals(VideoFrame? other)

Parameters

other VideoFrame

Returns

bool

Equals(object?)

Determines whether the specified object is equal to the current object.

public override bool Equals(object? obj)

Parameters

obj object

The object to compare with the current object.

Returns

bool

true if the specified object is equal to the current object; otherwise, false.

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 VideoFrame
info VideoInfo
buffer Buffer
flags MapFlags

Returns

bool

MapId(out VideoFrame, VideoInfo, Buffer, int, MapFlags)

public static bool MapId(out VideoFrame frame, VideoInfo info, Buffer buffer, int id, MapFlags flags)

Parameters

frame VideoFrame
info VideoInfo
buffer Buffer
id int
flags MapFlags

Returns

bool

Unmap()

public void Unmap()