FFmpeg
Typedefs | Functions
hwcontext_stub.c File Reference
#include "config.h"
#include <stddef.h>
#include "pixfmt.h"

Go to the source code of this file.

Typedefs

typedef enum VkFormat VkFormat
 

Functions

const VkFormatav_vkfmt_from_pixfmt (enum AVPixelFormat p)
 Returns the optimal per-plane Vulkan format for a given sw_format, one for each plane. More...
 
AVVkFrameav_vk_frame_alloc (void)
 Allocates a single AVVkFrame and initializes everything as 0. More...
 

Typedef Documentation

◆ VkFormat

typedef enum VkFormat VkFormat

Definition at line 25 of file hwcontext_stub.c.

Function Documentation

◆ 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.

Returns NULL on unsupported formats.

Definition at line 30 of file hwcontext_stub.c.

Referenced by ff_vk_create_imageviews(), ff_vk_filter_init_context(), and libplacebo_query_format().

◆ av_vk_frame_alloc()

AVVkFrame * av_vk_frame_alloc ( void  )

Allocates a single AVVkFrame and initializes everything as 0.

Note
Must be freed via av_free()

Definition at line 35 of file hwcontext_stub.c.