|
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 semaphores. More... | |
| struct AVVkFrameInternal * | internal |
| Internal data. More... | |
Definition at line 149 of file hwcontext_vulkan.h.
| VkImage AVVkFrame::img[AV_NUM_DATA_POINTERS] |
Vulkan images to which the memory is bound to.
Definition at line 153 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 158 of file hwcontext_vulkan.h.
| 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 164 of file hwcontext_vulkan.h.
| size_t AVVkFrame::size[AV_NUM_DATA_POINTERS] |
Definition at line 165 of file hwcontext_vulkan.h.
| VkMemoryPropertyFlagBits AVVkFrame::flags |
OR'd flags for all memory allocated.
Definition at line 170 of file hwcontext_vulkan.h.
| VkAccessFlagBits AVVkFrame::access[AV_NUM_DATA_POINTERS] |
Updated after every barrier.
Definition at line 175 of file hwcontext_vulkan.h.
Referenced by process_frames().
| VkImageLayout AVVkFrame::layout[AV_NUM_DATA_POINTERS] |
Definition at line 176 of file hwcontext_vulkan.h.
Referenced by process_frames().
| 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 184 of file hwcontext_vulkan.h.
| struct AVVkFrameInternal* AVVkFrame::internal |
Internal data.
Definition at line 189 of file hwcontext_vulkan.h.
1.8.17