FFmpeg
hwcontext_stub.c
Go to the documentation of this file.
1 /*
2  * This file is part of FFmpeg.
3  *
4  * FFmpeg is free software; you can redistribute it and/or
5  * modify it under the terms of the GNU Lesser General Public
6  * License as published by the Free Software Foundation; either
7  * version 2.1 of the License, or (at your option) any later version.
8  *
9  * FFmpeg is distributed in the hope that it will be useful,
10  * but WITHOUT ANY WARRANTY; without even the implied warranty of
11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12  * Lesser General Public License for more details.
13  *
14  * You should have received a copy of the GNU Lesser General Public
15  * License along with FFmpeg; if not, write to the Free Software
16  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
17  */
18 
19 #include "config.h"
20 
21 #if !CONFIG_VULKAN
22 #include <stddef.h>
23 #include "pixfmt.h"
24 
25 typedef enum VkFormat VkFormat;
26 typedef struct AVVkFrame AVVkFrame;
29 
31 {
32  return NULL;
33 }
34 
36 {
37  return NULL;
38 }
39 #endif /* CONFIG_VULKAN */
AVPixelFormat
AVPixelFormat
Pixel format.
Definition: pixfmt.h:71
NULL
#define NULL
Definition: coverity.c:32
AVVkFrame
Definition: hwcontext_vulkan.h:266
av_vkfmt_from_pixfmt
const VkFormat * av_vkfmt_from_pixfmt(enum AVPixelFormat p)
Returns the optimal per-plane Vulkan format for a given sw_format, one for each plane.
Definition: hwcontext_stub.c:30
VkFormat
enum VkFormat VkFormat
Definition: hwcontext_stub.c:25
pixfmt.h
av_vk_frame_alloc
AVVkFrame * av_vk_frame_alloc(void)
Allocates a single AVVkFrame and initializes everything as 0.
Definition: hwcontext_stub.c:35