Table of Contents

Class VideoFrameHandle

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

Constructors

VideoFrameHandle(bool)

protected VideoFrameHandle(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(VideoFrameHandle?)

public bool Equals(VideoFrameHandle? other)

Parameters

other VideoFrameHandle

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.

GetBuffer()

public IntPtr GetBuffer()

Returns

IntPtr

GetData()

public IntPtr[] GetData()

Returns

IntPtr[]

GetFlags()

public VideoFrameFlags GetFlags()

Returns

VideoFrameFlags

GetHashCode()

Serves as the default hash function.

public override int GetHashCode()

Returns

int

A hash code for the current object.

GetId()

public int GetId()

Returns

int

GetInfo()

public VideoInfoData GetInfo()

Returns

VideoInfoData

GetMap()

public MapInfoData[] GetMap()

Returns

MapInfoData[]

GetMeta()

public IntPtr GetMeta()

Returns

IntPtr

SetBuffer(IntPtr)

public void SetBuffer(IntPtr value)

Parameters

value IntPtr

SetData(IntPtr[])

public void SetData(IntPtr[] value)

Parameters

value IntPtr[]

SetFlags(VideoFrameFlags)

public void SetFlags(VideoFrameFlags value)

Parameters

value VideoFrameFlags

SetId(int)

public void SetId(int value)

Parameters

value int

SetInfo(VideoInfoData)

public void SetInfo(VideoInfoData value)

Parameters

value VideoInfoData

SetMap(MapInfoData[])

public void SetMap(MapInfoData[] value)

Parameters

value MapInfoData[]

SetMeta(IntPtr)

public void SetMeta(IntPtr value)

Parameters

value IntPtr