Table of Contents

Class VideoCodecFrameHandle

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

Constructors

VideoCodecFrameHandle(bool)

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

Indicates whether the current object is equal to another object of the same type.

public bool Equals(VideoCodecFrameHandle? other)

Parameters

other VideoCodecFrameHandle

An object to compare with this object.

Returns

bool

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

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.

GetDeadline()

public ulong GetDeadline()

Returns

ulong

GetDistanceFromSync()

public int GetDistanceFromSync()

Returns

int

GetDts()

public ulong GetDts()

Returns

ulong

GetDuration()

public ulong GetDuration()

Returns

ulong

GetHashCode()

Serves as the default hash function.

public override int GetHashCode()

Returns

int

A hash code for the current object.

GetInputBuffer()

public IntPtr GetInputBuffer()

Returns

IntPtr

GetOutputBuffer()

public IntPtr GetOutputBuffer()

Returns

IntPtr

GetPts()

public ulong GetPts()

Returns

ulong

GetSystemFrameNumber()

public uint GetSystemFrameNumber()

Returns

uint

OwnedCopy()

public VideoCodecFrameOwnedHandle OwnedCopy()

Returns

VideoCodecFrameOwnedHandle

SetDeadline(ulong)

public void SetDeadline(ulong value)

Parameters

value ulong

SetDistanceFromSync(int)

public void SetDistanceFromSync(int value)

Parameters

value int

SetDts(ulong)

public void SetDts(ulong value)

Parameters

value ulong

SetDuration(ulong)

public void SetDuration(ulong value)

Parameters

value ulong

SetInputBuffer(IntPtr)

public void SetInputBuffer(IntPtr value)

Parameters

value IntPtr

SetOutputBuffer(IntPtr)

public void SetOutputBuffer(IntPtr value)

Parameters

value IntPtr

SetPts(ulong)

public void SetPts(ulong value)

Parameters

value ulong

SetSystemFrameNumber(uint)

public void SetSystemFrameNumber(uint value)

Parameters

value uint

UnownedCopy()

public VideoCodecFrameUnownedHandle UnownedCopy()

Returns

VideoCodecFrameUnownedHandle