Class FramesContext
Represents a hardware device context in FFmpeg, encapsulating the buffer reference for hardware acceleration.
Inherited Members
Namespace: FFmpeg.HW
Assembly: FFmpeg.dll
Syntax
public class FramesContext : IDisposable, IEquatable<FramesContext?>, IAVPointer<_AVHWFramesContext>
Methods
View SourceDispose()
Releases the resources used by this FramesContext instance and un-references the buffer.
Declaration
public void Dispose()
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. |
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
View SourceGetHashCode()
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
Operators
View Sourceoperator ==(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. |
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. |