FFmpeg
ops.h
Go to the documentation of this file.
1 /**
2  * Copyright (C) 2026 Lynne
3  *
4  * This file is part of FFmpeg.
5  *
6  * FFmpeg is free software; you can redistribute it and/or
7  * modify it under the terms of the GNU Lesser General Public
8  * License as published by the Free Software Foundation; either
9  * version 2.1 of the License, or (at your option) any later version.
10  *
11  * FFmpeg is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14  * Lesser General Public License for more details.
15  *
16  * You should have received a copy of the GNU Lesser General Public
17  * License along with FFmpeg; if not, write to the Free Software
18  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
19  */
20 
21 #ifndef SWSCALE_VULKAN_OPS_H
22 #define SWSCALE_VULKAN_OPS_H
23 
24 #include "libavutil/vulkan.h"
25 #include "../swscale.h"
26 
27 #if CONFIG_LIBSHADERC || CONFIG_LIBGLSLANG
28 #include "libavutil/vulkan_spirv.h"
29 #endif
30 
31 typedef struct FFVulkanOpsCtx {
35 #if CONFIG_LIBSHADERC || CONFIG_LIBGLSLANG
36  FFVkSPIRVCompiler *spvc;
37 #endif
39 
42 
43 #endif /* SWSCALE_VULKAN_OPS_H */
FFVulkanOpsCtx
Copyright (C) 2026 Lynne.
Definition: ops.h:31
FFVulkanOpsCtx::vkctx
FFVulkanContext vkctx
Definition: ops.h:32
FFVulkanContext
Definition: vulkan.h:312
ff_sws_vk_uninit
void ff_sws_vk_uninit(SwsContext *sws)
Copyright (C) 2026 Lynne.
Definition: ops.c:26
vulkan.h
FFVkSPIRVCompiler
Definition: vulkan_spirv.h:26
sws
static SwsContext * sws[3]
Definition: swscale.c:73
vulkan_spirv.h
FFVulkanOpsCtx::qf
AVVulkanDeviceQueueFamily * qf
Definition: ops.h:33
ff_sws_vk_init
int ff_sws_vk_init(SwsContext *sws, AVBufferRef *dev_ref)
Definition: ops.c:42
FFVkExecPool
Definition: vulkan.h:290
AVBufferRef
A reference to a data buffer.
Definition: buffer.h:82
AVVulkanDeviceQueueFamily
Definition: hwcontext_vulkan.h:33
SwsContext
Main external API structure.
Definition: swscale.h:191
FFVulkanOpsCtx::e
FFVkExecPool e
Definition: ops.h:34