Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
F
ffmpeg
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Stefan Westerfeld
ffmpeg
Commits
f9dd8fcf
Unverified
Commit
f9dd8fcf
authored
Apr 25, 2022
by
Lynne
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
)hwcontext: add a stub implementation for Vulkan functions
parent
c8d839df
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
41 additions
and
0 deletions
+41
-0
Makefile
libavutil/Makefile
+2
-0
hwcontext_stub.c
libavutil/hwcontext_stub.c
+39
-0
No files found.
libavutil/Makefile
View file @
f9dd8fcf
...
...
@@ -196,6 +196,8 @@ OBJS-$(CONFIG_VIDEOTOOLBOX) += hwcontext_videotoolbox.o
OBJS-$(CONFIG_VDPAU)
+=
hwcontext_vdpau.o
OBJS-$(CONFIG_VULKAN)
+=
hwcontext_vulkan.o
OBJS-$(!CONFIG_VULKAN)
+=
hwcontext_stub.o
OBJS
+=
$
(
COMPAT_OBJS:%
=
../compat/%
)
# Windows resource file
...
...
libavutil/hwcontext_stub.c
0 → 100644
View file @
f9dd8fcf
/*
* This file is part of FFmpeg.
*
* FFmpeg is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* FFmpeg is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with FFmpeg; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
#include "config.h"
#if !CONFIG_VULKAN
#include <stddef.h>
#include "pixfmt.h"
typedef
enum
VkFormat
VkFormat
;
typedef
struct
AVVkFrame
AVVkFrame
;
const
VkFormat
*
av_vkfmt_from_pixfmt
(
enum
AVPixelFormat
p
);
AVVkFrame
*
av_vk_frame_alloc
(
void
);
const
VkFormat
*
av_vkfmt_from_pixfmt
(
enum
AVPixelFormat
p
)
{
return
NULL
;
}
AVVkFrame
*
av_vk_frame_alloc
(
void
)
{
return
NULL
;
}
#endif
/* CONFIG_VULKAN */
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment