Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLynne <dev@lynne.ee>2021-11-07 17:58:31 +0300
committerLynne <dev@lynne.ee>2021-11-12 07:23:40 +0300
commitfef85c376adabc15715ed8d9c53cc8e889c9c7dc (patch)
tree5585ec6c1cd10b02fb93aab0d84e266204123827 /libavfilter/vulkan.h
parentd05a18cdc7ea245843a1c785e1e3d7fdf980a130 (diff)
lavfi/vulkan: use libavutil's vulkan loader
This finally fully eliminates the need to statically link to libvulkan!
Diffstat (limited to 'libavfilter/vulkan.h')
-rw-r--r--libavfilter/vulkan.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/libavfilter/vulkan.h b/libavfilter/vulkan.h
index fa77995075..da5936dd43 100644
--- a/libavfilter/vulkan.h
+++ b/libavfilter/vulkan.h
@@ -19,11 +19,14 @@
#ifndef AVFILTER_VULKAN_H
#define AVFILTER_VULKAN_H
+#define VK_NO_PROTOTYPES
+
#include "avfilter.h"
#include "libavutil/pixdesc.h"
#include "libavutil/bprint.h"
#include "libavutil/hwcontext.h"
#include "libavutil/hwcontext_vulkan.h"
+#include "libavutil/vulkan_functions.h"
/* GLSL management macros */
#define INDENT(N) INDENT_##N
@@ -153,6 +156,8 @@ typedef struct FFVkExecContext {
typedef struct VulkanFilterContext {
const AVClass *class;
+ FFVulkanFunctions vkfn;
+ FFVulkanExtensions extensions;
AVBufferRef *device_ref;
AVBufferRef *frames_ref; /* For in-place filtering */