Show / Hide Table of Contents

Class FramesContext

Represents a hardware device context in FFmpeg, encapsulating the buffer reference for hardware acceleration.

Inheritance
object
FramesContext
Implements
IDisposable
IEquatable<FramesContext>
IAVPointer<_AVHWFramesContext>
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object, object)
object.ReferenceEquals(object, object)
Namespace: FFmpeg.HW
Assembly: FFmpeg.dll
Syntax
public class FramesContext : IDisposable, IEquatable<FramesContext?>, IAVPointer<_AVHWFramesContext>

Methods

View Source

Dispose()

Releases the resources used by this FramesContext instance and un-references the buffer.

Declaration
public void Dispose()
View Source

Equals(FramesContext?)

Determines whether the specified FramesContext is equal to the current one.

Declaration
public bool Equals(FramesContext? other)
Parameters
Type Name Description
FramesContext other

The FramesContext to compare with.

Returns
Type Description
bool

true if the specified FramesContext is equal to the current one; otherwise, false.

View Source

Equals(object?)

Determines whether the specified object is equal to the current FramesContext.

Declaration
public override bool Equals(object? obj)
Parameters
Type Name Description
object obj

The object to compare with the current FramesContext.

Returns
Type Description
bool

true if the specified object is equal to the current FramesContext; otherwise, false.

Overrides
object.Equals(object)
View Source

GetHashCode()

Returns a hash code for the current FramesContext.

Declaration
public override int GetHashCode()
Returns
Type Description
int

A hash code for the current FramesContext.

Overrides
object.GetHashCode()

Operators

View Source

operator ==(FramesContext?, FramesContext?)

Determines whether two FramesContext instances are equal.

Declaration
public static bool operator ==(FramesContext? left, FramesContext? right)
Parameters
Type Name Description
FramesContext left

The first FramesContext to compare.

FramesContext right

The second FramesContext to compare.

Returns
Type Description
bool

true if the specified instances are equal; otherwise, false.

View Source

operator !=(FramesContext?, FramesContext?)

Determines whether two FramesContext instances are not equal.

Declaration
public static bool operator !=(FramesContext? left, FramesContext? right)
Parameters
Type Name Description
FramesContext left

The first FramesContext to compare.

FramesContext right

The second FramesContext to compare.

Returns
Type Description
bool

true if the specified instances are not equal; otherwise, false.

Implements

IDisposable
IEquatable<T>
IAVPointer<T>
  • View Source
In this article
Back to top Generated by DocFX