Show / Hide Table of Contents

Struct VulkanDeviceContext

Represents a Vulkan device context associated with an FFmpeg hardware device.

Implements
IAVPointer<_AVVulkanDeviceContext>
Inherited Members
ValueType.Equals(object)
ValueType.GetHashCode()
ValueType.ToString()
object.GetType()
object.Equals(object, object)
object.ReferenceEquals(object, object)
Namespace: FFmpeg.HW.Vulkan
Assembly: FFmpeg.dll
Syntax
public readonly struct VulkanDeviceContext : IAVPointer<_AVVulkanDeviceContext>

Methods

View Source

FromAVFrame(AVFrame)

Creates a VulkanDeviceContext from the hardware device associated with the specified frame.

Declaration
public static VulkanDeviceContext FromAVFrame(AVFrame frame)
Parameters
Type Name Description
AVFrame frame

The frame whose hardware device context will be used.

Returns
Type Description
VulkanDeviceContext

A VulkanDeviceContext representing the Vulkan device associated with the frame.

Exceptions
Type Condition
InvalidOperationException

Thrown if the frame does not have an associated hardware device context, or if the associated device is not a Vulkan device.

Implements

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