1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-08-15 14:13:16 +02:00

avutil/vulkan: Don't autoinclude vulkan_loader.h

Only include it where necessary.

Reviewed-by: Lynne <dev@lynne.ee>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
Andreas Rheinhardt
2024-03-03 13:04:29 +01:00
parent a172d80703
commit e429b0fdb7
4 changed files with 2 additions and 2 deletions

View File

@@ -21,6 +21,7 @@
#include "vulkan_decode.h"
#include "config_components.h"
#include "libavutil/avassert.h"
#include "libavutil/vulkan_loader.h"
#if CONFIG_H264_VULKAN_HWACCEL
extern const VkExtensionProperties ff_vk_dec_h264_ext;

View File

@@ -19,6 +19,7 @@
*/
#include "vulkan_filter.h"
#include "libavutil/vulkan_loader.h"
int ff_vk_filter_init_context(AVFilterContext *avctx, FFVulkanContext *s,
AVBufferRef *frames_ref,

View File

@@ -21,7 +21,6 @@
#include "avassert.h"
#include "vulkan.h"
#include "vulkan_loader.h"
const VkComponentMapping ff_comp_identity_map = {
.r = VK_COMPONENT_SWIZZLE_IDENTITY,

View File

@@ -29,7 +29,6 @@
#include "hwcontext.h"
#include "vulkan_functions.h"
#include "hwcontext_vulkan.h"
#include "vulkan_loader.h"
/* GLSL management macros */
#define INDENT(N) INDENT_##N