FFmpeg
|
Go to the source code of this file.
Functions | |
int | ff_vk_filter_init (AVFilterContext *avctx) |
General lavfi IO functions. More... | |
int | ff_vk_filter_config_input (AVFilterLink *inlink) |
int | ff_vk_filter_config_output (AVFilterLink *outlink) |
int | ff_vk_filter_init_context (AVFilterContext *avctx, FFVulkanContext *s, AVBufferRef *frames_ref, int width, int height, enum AVPixelFormat sw_format) |
Can be called manually, if not using ff_vk_filter_config_output. More... | |
int | ff_vk_filter_process_simple (FFVulkanContext *vkctx, FFVkExecPool *e, FFVulkanShader *shd, AVFrame *out_f, AVFrame *in_f, VkSampler sampler, void *push_src, size_t push_size) |
Submit a compute shader with a zero/one input and single out for execution. More... | |
int | ff_vk_filter_process_2pass (FFVulkanContext *vkctx, FFVkExecPool *e, FFVulkanShader *shd_list[2], AVFrame *out, AVFrame *tmp, AVFrame *in, VkSampler sampler, void *push_src, size_t push_size) |
Submit a compute shader with a single in and single out with 2 stages. More... | |
int | ff_vk_filter_process_Nin (FFVulkanContext *vkctx, FFVkExecPool *e, FFVulkanShader *shd, AVFrame *out, AVFrame *in[], int nb_in, VkSampler sampler, void *push_src, size_t push_size) |
Up to 16 inputs, one output. More... | |
int ff_vk_filter_init | ( | AVFilterContext * | avctx | ) |
General lavfi IO functions.
Definition at line 233 of file vulkan_filter.c.
Referenced by init(), and overlay_vulkan_init().
int ff_vk_filter_config_input | ( | AVFilterLink * | inlink | ) |
Definition at line 176 of file vulkan_filter.c.
Referenced by libplacebo_config_input().
int ff_vk_filter_config_output | ( | AVFilterLink * | outlink | ) |
Definition at line 209 of file vulkan_filter.c.
Referenced by config_props_output(), libplacebo_config_output(), overlay_vulkan_config_output(), and scale_vulkan_config_output().
int ff_vk_filter_init_context | ( | AVFilterContext * | avctx, |
FFVulkanContext * | s, | ||
AVBufferRef * | frames_ref, | ||
int | width, | ||
int | height, | ||
enum AVPixelFormat | sw_format | ||
) |
Can be called manually, if not using ff_vk_filter_config_output.
Definition at line 25 of file vulkan_filter.c.
Referenced by bwdif_vulkan_config_output(), ff_vk_filter_config_output(), and testsrc_vulkan_config_props().
int ff_vk_filter_process_simple | ( | FFVulkanContext * | vkctx, |
FFVkExecPool * | e, | ||
FFVulkanShader * | shd, | ||
AVFrame * | out_f, | ||
AVFrame * | in_f, | ||
VkSampler | sampler, | ||
void * | push_src, | ||
size_t | push_size | ||
) |
Submit a compute shader with a zero/one input and single out for execution.
Definition at line 242 of file vulkan_filter.c.
Referenced by avgblur_vulkan_filter_frame(), chromaber_vulkan_filter_frame(), filter_frame(), scale_vulkan_filter_frame(), and testsrc_vulkan_activate().
int ff_vk_filter_process_2pass | ( | FFVulkanContext * | vkctx, |
FFVkExecPool * | e, | ||
FFVulkanShader * | shd_list[2], | ||
AVFrame * | out, | ||
AVFrame * | tmp, | ||
AVFrame * | in, | ||
VkSampler | sampler, | ||
void * | push_src, | ||
size_t | push_size | ||
) |
Submit a compute shader with a single in and single out with 2 stages.
Definition at line 312 of file vulkan_filter.c.
Referenced by gblur_vulkan_filter_frame().
int ff_vk_filter_process_Nin | ( | FFVulkanContext * | vkctx, |
FFVkExecPool * | e, | ||
FFVulkanShader * | shd, | ||
AVFrame * | out, | ||
AVFrame * | in[], | ||
int | nb_in, | ||
VkSampler | sampler, | ||
void * | push_src, | ||
size_t | push_size | ||
) |
Up to 16 inputs, one output.
Definition at line 401 of file vulkan_filter.c.
Referenced by blend_frame(), bwdif_vulkan_filter_frame(), overlay_vulkan_blend(), and xfade_frame().