Table of Contents

Class VideoFrame

Namespace
GstVideo.Internal
Assembly
GstVideo-1.0.dll
public class VideoFrame
Inheritance
VideoFrame
Inherited Members

Methods

Copy(VideoFrameHandle, VideoFrameHandle)

Calls native method gst_video_frame_copy.

public static extern bool Copy(VideoFrameHandle dest, VideoFrameHandle src)

Parameters

dest VideoFrameHandle

Transfer ownership: None Nullable: False

src VideoFrameHandle

Transfer ownership: None Nullable: False

Returns

bool

Transfer ownership: None Nullable: False

CopyPlane(VideoFrameHandle, VideoFrameHandle, uint)

Calls native method gst_video_frame_copy_plane.

public static extern bool CopyPlane(VideoFrameHandle dest, VideoFrameHandle src, uint plane)

Parameters

dest VideoFrameHandle

Transfer ownership: None Nullable: False

src VideoFrameHandle

Transfer ownership: None Nullable: False

plane uint

Transfer ownership: None Nullable: False

Returns

bool

Transfer ownership: None Nullable: False

Map(VideoFrameOwnedHandle, VideoInfoHandle, BufferHandle, MapFlags)

Calls native function gst_video_frame_map.

public static extern bool Map(VideoFrameOwnedHandle frame, VideoInfoHandle info, BufferHandle buffer, MapFlags flags)

Parameters

frame VideoFrameOwnedHandle

Transfer ownership: None Nullable: False

info VideoInfoHandle

Transfer ownership: None Nullable: False

buffer BufferHandle

Transfer ownership: None Nullable: False

flags MapFlags

Transfer ownership: None Nullable: False

Returns

bool

Transfer ownership: None Nullable: False

MapId(VideoFrameOwnedHandle, VideoInfoHandle, BufferHandle, int, MapFlags)

Calls native function gst_video_frame_map_id.

public static extern bool MapId(VideoFrameOwnedHandle frame, VideoInfoHandle info, BufferHandle buffer, int id, MapFlags flags)

Parameters

frame VideoFrameOwnedHandle

Transfer ownership: None Nullable: False

info VideoInfoHandle

Transfer ownership: None Nullable: False

buffer BufferHandle

Transfer ownership: None Nullable: False

id int

Transfer ownership: None Nullable: False

flags MapFlags

Transfer ownership: None Nullable: False

Returns

bool

Transfer ownership: None Nullable: False

Unmap(VideoFrameHandle)

Calls native method gst_video_frame_unmap.

public static extern void Unmap(VideoFrameHandle frame)

Parameters

frame VideoFrameHandle

Transfer ownership: None Nullable: False