FFmpeg
|
#include "libavutil/random_seed.h"
#include "libavutil/opt.h"
#include "vulkan_filter.h"
#include "internal.h"
Go to the source code of this file.
Data Structures | |
struct | GBlurVulkanContext |
Macros | |
#define | CGS 32 |
#define | GBLUR_MAX_KERNEL_SIZE 127 |
#define | OFFSET(x) offsetof(GBlurVulkanContext, x) |
#define | FLAGS (AV_OPT_FLAG_FILTERING_PARAM | AV_OPT_FLAG_VIDEO_PARAM) |
Functions | |
static float | gaussian (float sigma, float x) |
static float | gaussian_simpson_integration (float sigma, float a, float b) |
static void | init_gaussian_kernel (float *kernel, float sigma, float kernel_size) |
static void | init_kernel_size (GBlurVulkanContext *s, int *out_size) |
static av_cold void | init_gaussian_params (GBlurVulkanContext *s) |
static int | init_gblur_pipeline (GBlurVulkanContext *s, FFVulkanPipeline *pl, FFVkSPIRVShader *shd, FFVkBuffer *params_buf, VkDescriptorBufferInfo *params_desc, int ksize, float sigma) |
static av_cold int | init_filter (AVFilterContext *ctx, AVFrame *in) |
static av_cold void | gblur_vulkan_uninit (AVFilterContext *avctx) |
static int | process_frames (AVFilterContext *avctx, AVFrame *outframe, AVFrame *inframe) |
static int | gblur_vulkan_filter_frame (AVFilterLink *link, AVFrame *in) |
AVFILTER_DEFINE_CLASS (gblur_vulkan) | |
Variables | |
static const char | gblur_func [] |
static const AVOption | gblur_vulkan_options [] |
static const AVFilterPad | gblur_vulkan_inputs [] |
static const AVFilterPad | gblur_vulkan_outputs [] |
const AVFilter | ff_vf_gblur_vulkan |
#define CGS 32 |
Definition at line 25 of file vf_gblur_vulkan.c.
#define GBLUR_MAX_KERNEL_SIZE 127 |
Definition at line 26 of file vf_gblur_vulkan.c.
#define OFFSET | ( | x | ) | offsetof(GBlurVulkanContext, x) |
Definition at line 465 of file vf_gblur_vulkan.c.
#define FLAGS (AV_OPT_FLAG_FILTERING_PARAM | AV_OPT_FLAG_VIDEO_PARAM) |
Definition at line 466 of file vf_gblur_vulkan.c.
Definition at line 66 of file vf_gblur_vulkan.c.
Referenced by gaussian_simpson_integration().
Definition at line 72 of file vf_gblur_vulkan.c.
Referenced by init_gaussian_kernel().
Definition at line 78 of file vf_gblur_vulkan.c.
Referenced by init_gblur_pipeline().
|
inlinestatic |
Definition at line 98 of file vf_gblur_vulkan.c.
Referenced by init_gaussian_params().
|
static |
Definition at line 110 of file vf_gblur_vulkan.c.
Referenced by init_filter().
|
static |
Definition at line 125 of file vf_gblur_vulkan.c.
Referenced by init_filter().
|
static |
Definition at line 195 of file vf_gblur_vulkan.c.
Referenced by gblur_vulkan_filter_frame().
|
static |
Definition at line 287 of file vf_gblur_vulkan.c.
|
static |
Definition at line 300 of file vf_gblur_vulkan.c.
Referenced by gblur_vulkan_filter_frame().
|
static |
Definition at line 426 of file vf_gblur_vulkan.c.
AVFILTER_DEFINE_CLASS | ( | gblur_vulkan | ) |
|
static |
Definition at line 52 of file vf_gblur_vulkan.c.
Referenced by init_gblur_pipeline().
|
static |
Definition at line 467 of file vf_gblur_vulkan.c.
|
static |
Definition at line 478 of file vf_gblur_vulkan.c.
|
static |
Definition at line 487 of file vf_gblur_vulkan.c.
const AVFilter ff_vf_gblur_vulkan |
Definition at line 495 of file vf_gblur_vulkan.c.