Go to the documentation of this file.
21 #ifndef AVFILTER_VULKAN_FILTER_H
22 #define AVFILTER_VULKAN_FILTER_H
47 VkSampler sampler,
void *push_src,
size_t push_size);
55 VkSampler sampler,
void *push_src,
size_t push_size);
63 VkSampler sampler,
void *push_src,
size_t push_size);
int ff_vk_filter_config_input(AVFilterLink *inlink)
AVPixelFormat
Pixel format.
int ff_vk_filter_config_output(AVFilterLink *outlink)
The exact code depends on how similar the blocks are and how related they are to the and needs to apply these operations to the correct inlink or outlink if there are several Macros are available to factor that when no extra processing is inlink
This structure describes decoded (raw) audio or video data.
A link between two filters.
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.
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.
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.
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.
A reference to a data buffer.
int ff_vk_filter_init(AVFilterContext *avctx)
General lavfi IO functions.