Table of Contents

Class VideoMeta

Namespace
GstVideo
Assembly
GstVideo-1.0.dll
public sealed class VideoMeta
Inheritance
VideoMeta
Inherited Members

Constructors

VideoMeta()

public VideoMeta()

VideoMeta(VideoMetaOwnedHandle)

public VideoMeta(VideoMetaOwnedHandle handle)

Parameters

handle VideoMetaOwnedHandle

Properties

Flags

public VideoFrameFlags Flags { get; set; }

Property Value

VideoFrameFlags

Format

public VideoFormat Format { get; set; }

Property Value

VideoFormat

Handle

public VideoMetaOwnedHandle Handle { get; }

Property Value

VideoMetaOwnedHandle

Height

public uint Height { get; set; }

Property Value

uint

Id

public int Id { get; set; }

Property Value

int

NPlanes

public uint NPlanes { get; set; }

Property Value

uint

Width

public uint Width { get; set; }

Property Value

uint

Methods

Equals(VideoMeta?)

public bool Equals(VideoMeta? other)

Parameters

other VideoMeta

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.

GetInfo()

public static MetaInfo GetInfo()

Returns

MetaInfo

GetMap(uint, MapInfo, out IntPtr, out int, MapFlags)

public bool GetMap(uint plane, MapInfo info, out IntPtr data, out int stride, MapFlags flags)

Parameters

plane uint
info MapInfo
data IntPtr
stride int
flags MapFlags

Returns

bool

GetUnmap(uint, MapInfo)

public bool GetUnmap(uint plane, MapInfo info)

Parameters

plane uint
info MapInfo

Returns

bool

SetAlignment(VideoAlignment)

[Version("1.18")]
public bool SetAlignment(VideoAlignment alignment)

Parameters

alignment VideoAlignment

Returns

bool