FFmpeg
|
#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 timeline semaphores, one for each sw_format plane. More... | |
uint64_t | sem_value [AV_NUM_DATA_POINTERS] |
Up to date semaphore value at which each image becomes accessible. More... | |
struct AVVkFrameInternal * | internal |
Internal data. More... | |
ptrdiff_t | offset [AV_NUM_DATA_POINTERS] |
Describes the binding offset of each plane to the VkDeviceMemory. More... | |
Definition at line 213 of file hwcontext_vulkan.h.
VkImage AVVkFrame::img[AV_NUM_DATA_POINTERS] |
Vulkan images to which the memory is bound to.
Definition at line 217 of file hwcontext_vulkan.h.
Referenced by process_frames().
VkImageTiling AVVkFrame::tiling |
The same tiling must be used for all images in the frame.
Definition at line 222 of file hwcontext_vulkan.h.
VkDeviceMemory AVVkFrame::mem[AV_NUM_DATA_POINTERS] |
Memory backing the images.
Could be less than the amount of planes, in which case the offset value will indicate the binding offset of each plane in the memory.
Definition at line 229 of file hwcontext_vulkan.h.
size_t AVVkFrame::size[AV_NUM_DATA_POINTERS] |
Definition at line 230 of file hwcontext_vulkan.h.
VkMemoryPropertyFlagBits AVVkFrame::flags |
OR'd flags for all memory allocated.
Definition at line 235 of file hwcontext_vulkan.h.
VkAccessFlagBits AVVkFrame::access[AV_NUM_DATA_POINTERS] |
Updated after every barrier.
Definition at line 240 of file hwcontext_vulkan.h.
Referenced by process_frames().
VkImageLayout AVVkFrame::layout[AV_NUM_DATA_POINTERS] |
Definition at line 241 of file hwcontext_vulkan.h.
Referenced by process_frames().
VkSemaphore AVVkFrame::sem[AV_NUM_DATA_POINTERS] |
Synchronization timeline semaphores, one for each sw_format plane.
Must not be freed manually. Must be waited on at every submission using the value in sem_value, and must be signalled at every submission, using an incremented value.
Definition at line 249 of file hwcontext_vulkan.h.
uint64_t AVVkFrame::sem_value[AV_NUM_DATA_POINTERS] |
Up to date semaphore value at which each image becomes accessible.
Clients must wait on this value when submitting a command queue, and increment it when signalling.
Definition at line 256 of file hwcontext_vulkan.h.
struct AVVkFrameInternal* AVVkFrame::internal |
Internal data.
Definition at line 261 of file hwcontext_vulkan.h.
ptrdiff_t AVVkFrame::offset[AV_NUM_DATA_POINTERS] |
Describes the binding offset of each plane to the VkDeviceMemory.
Definition at line 266 of file hwcontext_vulkan.h.