|
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...
|
|
static int | pixfmt_is_supported (AVVulkanDeviceContext *hwctx, enum AVPixelFormat p, int linear) |
|
static const char * | vk_ret2str (VkResult res) |
|
static VkBool32 | vk_dbg_callback (VkDebugUtilsMessageSeverityFlagBitsEXT severity, VkDebugUtilsMessageTypeFlagsEXT messageType, const VkDebugUtilsMessengerCallbackDataEXT *data, void *priv) |
|
static int | check_extensions (AVHWDeviceContext *ctx, int dev, AVDictionary *opts, const char *const **dst, uint32_t *num, int debug) |
|
static int | create_instance (AVHWDeviceContext *ctx, AVDictionary *opts) |
|
static const char * | vk_dev_type (enum VkPhysicalDeviceType type) |
|
static int | find_device (AVHWDeviceContext *ctx, VulkanDeviceSelection *select) |
|
static int | search_queue_families (AVHWDeviceContext *ctx, VkDeviceCreateInfo *cd) |
|
static int | create_exec_ctx (AVHWFramesContext *hwfc, VulkanExecCtx *cmd, int queue_family_index, int num_queues) |
|
static void | free_exec_ctx (AVHWFramesContext *hwfc, VulkanExecCtx *cmd) |
|
static VkCommandBuffer | get_buf_exec_ctx (AVHWFramesContext *hwfc, VulkanExecCtx *cmd) |
|
static void | unref_exec_ctx_deps (AVHWFramesContext *hwfc, VulkanExecCtx *cmd) |
|
static int | wait_start_exec_ctx (AVHWFramesContext *hwfc, VulkanExecCtx *cmd) |
|
static int | add_buf_dep_exec_ctx (AVHWFramesContext *hwfc, VulkanExecCtx *cmd, AVBufferRef *const *deps, int nb_deps) |
|
static int | submit_exec_ctx (AVHWFramesContext *hwfc, VulkanExecCtx *cmd, VkSubmitInfo *s_info, int synchronous) |
|
static void | vulkan_device_free (AVHWDeviceContext *ctx) |
|
static int | vulkan_device_create_internal (AVHWDeviceContext *ctx, VulkanDeviceSelection *dev_select, AVDictionary *opts, int flags) |
|
static int | vulkan_device_init (AVHWDeviceContext *ctx) |
|
static int | vulkan_device_create (AVHWDeviceContext *ctx, const char *device, AVDictionary *opts, int flags) |
|
static int | vulkan_device_derive (AVHWDeviceContext *ctx, AVHWDeviceContext *src_ctx, AVDictionary *opts, int flags) |
|
static int | vulkan_frames_get_constraints (AVHWDeviceContext *ctx, const void *hwconfig, AVHWFramesConstraints *constraints) |
|
static int | alloc_mem (AVHWDeviceContext *ctx, VkMemoryRequirements *req, VkMemoryPropertyFlagBits req_flags, const void *alloc_extension, VkMemoryPropertyFlagBits *mem_flags, VkDeviceMemory *mem) |
|
static void | vulkan_free_internal (AVVkFrameInternal *internal) |
|
static void | vulkan_frame_free (void *opaque, uint8_t *data) |
|
static int | alloc_bind_mem (AVHWFramesContext *hwfc, AVVkFrame *f, void *alloc_pnext, size_t alloc_pnext_stride) |
|
static int | prepare_frame (AVHWFramesContext *hwfc, VulkanExecCtx *ectx, AVVkFrame *frame, enum PrepMode pmode) |
|
static void | get_plane_wh (int *w, int *h, enum AVPixelFormat format, int frame_w, int frame_h, int plane) |
|
static int | create_frame (AVHWFramesContext *hwfc, AVVkFrame **frame, VkImageTiling tiling, VkImageUsageFlagBits usage, void *create_pnext) |
|
static void | try_export_flags (AVHWFramesContext *hwfc, VkExternalMemoryHandleTypeFlags *comp_handle_types, VkExternalMemoryHandleTypeFlagBits *iexp, VkExternalMemoryHandleTypeFlagBits exp) |
|
static AVBufferRef * | vulkan_pool_alloc (void *opaque, buffer_size_t size) |
|
static void | vulkan_frames_uninit (AVHWFramesContext *hwfc) |
|
static int | vulkan_frames_init (AVHWFramesContext *hwfc) |
|
static int | vulkan_get_buffer (AVHWFramesContext *hwfc, AVFrame *frame) |
|
static int | vulkan_transfer_get_formats (AVHWFramesContext *hwfc, enum AVHWFrameTransferDirection dir, enum AVPixelFormat **formats) |
|
static void | vulkan_unmap_frame (AVHWFramesContext *hwfc, HWMapDescriptor *hwmap) |
|
static int | vulkan_map_frame_to_mem (AVHWFramesContext *hwfc, AVFrame *dst, const AVFrame *src, int flags) |
|
static int | vulkan_map_to (AVHWFramesContext *hwfc, AVFrame *dst, const AVFrame *src, int flags) |
|
static int | vulkan_map_from (AVHWFramesContext *hwfc, AVFrame *dst, const AVFrame *src, int flags) |
|
static void | free_buf (void *opaque, uint8_t *data) |
|
static size_t | get_req_buffer_size (VulkanDevicePriv *p, int *stride, int height) |
|
static int | create_buf (AVHWDeviceContext *ctx, AVBufferRef **buf, VkBufferUsageFlags usage, VkMemoryPropertyFlagBits flags, size_t size, uint32_t req_memory_bits, int host_mapped, void *create_pnext, void *alloc_pnext) |
|
static int | map_buffers (AVHWDeviceContext *ctx, AVBufferRef **bufs, uint8_t *mem[], int nb_buffers, int invalidate) |
|
static int | unmap_buffers (AVHWDeviceContext *ctx, AVBufferRef **bufs, int nb_buffers, int flush) |
|
static int | transfer_image_buf (AVHWFramesContext *hwfc, const AVFrame *f, AVBufferRef **bufs, size_t *buf_offsets, const int *buf_stride, int w, int h, enum AVPixelFormat pix_fmt, int to_buf) |
|
static int | vulkan_transfer_data (AVHWFramesContext *hwfc, const AVFrame *vkf, const AVFrame *swf, int from) |
|
static int | vulkan_transfer_data_to (AVHWFramesContext *hwfc, AVFrame *dst, const AVFrame *src) |
|
static int | vulkan_transfer_data_from (AVHWFramesContext *hwfc, AVFrame *dst, const AVFrame *src) |
|
static int | vulkan_frames_derive_to (AVHWFramesContext *dst_fc, AVHWFramesContext *src_fc, int flags) |
|
AVVkFrame * | av_vk_frame_alloc (void) |
| Allocates a single AVVkFrame and initializes everything as 0. More...
|
|