FFmpeg
Data Fields
AVVkFrame Struct Reference

#include <hwcontext_vulkan.h>

Data Fields

VkImage img [AV_NUM_DATA_POINTERS]
 Vulkan images to which the memory is bound to. More...
 
VkImageTiling tiling
 The same tiling must be used for all images in the frame. More...
 
VkDeviceMemory mem [AV_NUM_DATA_POINTERS]
 Memory backing the images. More...
 
size_t size [AV_NUM_DATA_POINTERS]
 
VkMemoryPropertyFlagBits flags
 OR'd flags for all memory allocated. More...
 
VkAccessFlagBits access [AV_NUM_DATA_POINTERS]
 Updated after every barrier. More...
 
VkImageLayout layout [AV_NUM_DATA_POINTERS]
 
VkSemaphore sem [AV_NUM_DATA_POINTERS]
 Synchronization semaphores. More...
 
struct AVVkFrameInternalinternal
 Internal data. More...
 

Detailed Description

Definition at line 168 of file hwcontext_vulkan.h.

Field Documentation

◆ img

VkImage AVVkFrame::img[AV_NUM_DATA_POINTERS]

Vulkan images to which the memory is bound to.

Definition at line 172 of file hwcontext_vulkan.h.

Referenced by process_frames().

◆ tiling

VkImageTiling AVVkFrame::tiling

The same tiling must be used for all images in the frame.

Definition at line 177 of file hwcontext_vulkan.h.

◆ mem

VkDeviceMemory AVVkFrame::mem[AV_NUM_DATA_POINTERS]

Memory backing the images.

Could be less than the amount of images if importing from a DRM or VAAPI frame.

Definition at line 183 of file hwcontext_vulkan.h.

◆ size

size_t AVVkFrame::size[AV_NUM_DATA_POINTERS]

Definition at line 184 of file hwcontext_vulkan.h.

◆ flags

VkMemoryPropertyFlagBits AVVkFrame::flags

OR'd flags for all memory allocated.

Definition at line 189 of file hwcontext_vulkan.h.

◆ access

VkAccessFlagBits AVVkFrame::access[AV_NUM_DATA_POINTERS]

Updated after every barrier.

Definition at line 194 of file hwcontext_vulkan.h.

Referenced by process_frames().

◆ layout

VkImageLayout AVVkFrame::layout[AV_NUM_DATA_POINTERS]

Definition at line 195 of file hwcontext_vulkan.h.

Referenced by process_frames().

◆ sem

VkSemaphore AVVkFrame::sem[AV_NUM_DATA_POINTERS]

Synchronization semaphores.

Must not be freed manually. Must be waited on and signalled at every queue submission. Could be less than the amount of images: either one per VkDeviceMemory or one for the entire frame. All others will be set to VK_NULL_HANDLE.

Definition at line 203 of file hwcontext_vulkan.h.

◆ internal

struct AVVkFrameInternal* AVVkFrame::internal

Internal data.

Definition at line 208 of file hwcontext_vulkan.h.


The documentation for this struct was generated from the following file: