Table of Contents

Class VideoMetaHandle

Namespace
GstVideo.Internal
Assembly
GstVideo-1.0.dll
public abstract class VideoMetaHandle : SafeHandle, IDisposable
Inheritance
VideoMetaHandle
Implements
Derived
Inherited Members

Constructors

VideoMetaHandle(bool)

protected VideoMetaHandle(bool ownsHandle)

Parameters

ownsHandle bool

Properties

IsInvalid

When overridden in a derived class, gets a value indicating whether the handle value is invalid.

public override sealed bool IsInvalid { get; }

Property Value

bool

true if the handle value is invalid; otherwise, false.

Methods

Equals(VideoMetaHandle?)

public bool Equals(VideoMetaHandle? other)

Parameters

other VideoMetaHandle

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.

GetAlignment()

public VideoAlignmentData GetAlignment()

Returns

VideoAlignmentData

GetBuffer()

public IntPtr GetBuffer()

Returns

IntPtr

GetFlags()

public VideoFrameFlags GetFlags()

Returns

VideoFrameFlags

GetFormat()

public VideoFormat GetFormat()

Returns

VideoFormat

GetHashCode()

Serves as the default hash function.

public override int GetHashCode()

Returns

int

A hash code for the current object.

GetHeight()

public uint GetHeight()

Returns

uint

GetId()

public int GetId()

Returns

int

GetMap()

public VideoMetaData.MapCallback GetMap()

Returns

VideoMetaData.MapCallback

GetMeta()

public MetaData GetMeta()

Returns

MetaData

GetNPlanes()

public uint GetNPlanes()

Returns

uint

GetOffset()

public nuint[] GetOffset()

Returns

UIntPtr[]

GetStride()

public int[] GetStride()

Returns

int[]

GetUnmap()

public VideoMetaData.UnmapCallback GetUnmap()

Returns

VideoMetaData.UnmapCallback

GetWidth()

public uint GetWidth()

Returns

uint

SetAlignment(VideoAlignmentData)

public void SetAlignment(VideoAlignmentData value)

Parameters

value VideoAlignmentData

SetBuffer(IntPtr)

public void SetBuffer(IntPtr value)

Parameters

value IntPtr

SetFlags(VideoFrameFlags)

public void SetFlags(VideoFrameFlags value)

Parameters

value VideoFrameFlags

SetFormat(VideoFormat)

public void SetFormat(VideoFormat value)

Parameters

value VideoFormat

SetHeight(uint)

public void SetHeight(uint value)

Parameters

value uint

SetId(int)

public void SetId(int value)

Parameters

value int

SetMeta(MetaData)

public void SetMeta(MetaData value)

Parameters

value MetaData

SetNPlanes(uint)

public void SetNPlanes(uint value)

Parameters

value uint

SetOffset(nuint[])

public void SetOffset(nuint[] value)

Parameters

value UIntPtr[]

SetStride(int[])

public void SetStride(int[] value)

Parameters

value int[]

SetWidth(uint)

public void SetWidth(uint value)

Parameters

value uint