FFmpeg
|
Go to the source code of this file.
Data Structures | |
struct | AVVulkanDeviceContext |
Main Vulkan context, allocated as AVHWDeviceContext.hwctx. More... | |
struct | AVVulkanFramesContext |
Allocated as AVHWFramesContext.hwctx, used to set pool-specific options. More... | |
struct | AVVkFrame |
Enumerations | |
enum | AVVkFrameFlags { AV_VK_FRAME_FLAG_NONE = (1ULL << 0), AV_VK_FRAME_FLAG_CONTIGUOUS_MEMORY = (1ULL << 1) } |
Defines the behaviour of frame allocation. More... | |
Functions | |
AVVkFrame * | av_vk_frame_alloc (void) |
Allocates a single AVVkFrame and initializes everything as 0. More... | |
const VkFormat * | av_vkfmt_from_pixfmt (enum AVPixelFormat p) |
Returns the format of each image up to the number of planes for a given sw_format. More... | |
API-specific header for AV_HWDEVICE_TYPE_VULKAN.
For user-allocated pools, AVHWFramesContext.pool must return AVBufferRefs with the data pointer set to an AVVkFrame.
Definition in file hwcontext_vulkan.h.
enum AVVkFrameFlags |
Defines the behaviour of frame allocation.
Enumerator | |
---|---|
AV_VK_FRAME_FLAG_NONE | |
AV_VK_FRAME_FLAG_CONTIGUOUS_MEMORY |
Definition at line 143 of file hwcontext_vulkan.h.
AVVkFrame* av_vk_frame_alloc | ( | void | ) |
Allocates a single AVVkFrame and initializes everything as 0.
Definition at line 4117 of file hwcontext_vulkan.c.
Referenced by create_frame().
const VkFormat* av_vkfmt_from_pixfmt | ( | enum AVPixelFormat | p | ) |
Returns the format of each image up to the number of planes for a given sw_format.
Returns NULL on unsupported formats.
Definition at line 238 of file hwcontext_vulkan.c.
Referenced by create_frame(), pixfmt_is_supported(), process_frames(), try_export_flags(), and vulkan_frames_init().