FFmpeg
|
#include "libavutil/random_seed.h"
#include "libavutil/opt.h"
#include "vulkan_filter.h"
#include "vulkan_spirv.h"
#include "internal.h"
#include "framesync.h"
#include "blend.h"
#include "video.h"
Go to the source code of this file.
Data Structures | |
struct | FilterParamsVulkan |
struct | BlendVulkanContext |
Macros | |
#define | IN_TOP 0 |
#define | IN_BOTTOM 1 |
#define | DEFINE_BLEND_MODE(MODE, EXPR) |
#define | A top |
#define | B bottom |
#define | FN(EXPR) A + ((EXPR) - A) * opacity |
#define | CASE(MODE) |
#define | OFFSET(x) offsetof(BlendVulkanContext, x) |
#define | FLAGS (AV_OPT_FLAG_FILTERING_PARAM | AV_OPT_FLAG_VIDEO_PARAM) |
Functions | |
static void | init_blend_func (FilterParamsVulkan *param) |
static int | config_params (AVFilterContext *avctx) |
static int | process_command (AVFilterContext *ctx, const char *cmd, const char *args, char *res, int res_len, int flags) |
static av_cold int | init_filter (AVFilterContext *avctx) |
static int | blend_frame (FFFrameSync *fs) |
static av_cold int | init (AVFilterContext *avctx) |
static av_cold void | uninit (AVFilterContext *avctx) |
static int | config_props_output (AVFilterLink *outlink) |
static int | activate (AVFilterContext *avctx) |
AVFILTER_DEFINE_CLASS (blend_vulkan) | |
Variables | |
static const AVOption | blend_vulkan_options [] |
static const AVFilterPad | blend_vulkan_inputs [] |
static const AVFilterPad | blend_vulkan_outputs [] |
const AVFilter | ff_vf_blend_vulkan |
#define IN_TOP 0 |
Definition at line 33 of file vf_blend_vulkan.c.
#define IN_BOTTOM 1 |
Definition at line 34 of file vf_blend_vulkan.c.
#define DEFINE_BLEND_MODE | ( | MODE, | |
EXPR | |||
) |
Definition at line 59 of file vf_blend_vulkan.c.
#define A top |
Definition at line 68 of file vf_blend_vulkan.c.
#define B bottom |
Definition at line 69 of file vf_blend_vulkan.c.
Definition at line 71 of file vf_blend_vulkan.c.
#define CASE | ( | MODE | ) |
#define OFFSET | ( | x | ) | offsetof(BlendVulkanContext, x) |
Definition at line 338 of file vf_blend_vulkan.c.
#define FLAGS (AV_OPT_FLAG_FILTERING_PARAM | AV_OPT_FLAG_VIDEO_PARAM) |
Definition at line 339 of file vf_blend_vulkan.c.
|
inlinestatic |
Definition at line 76 of file vf_blend_vulkan.c.
Referenced by config_params().
|
static |
Definition at line 92 of file vf_blend_vulkan.c.
Referenced by config_props_output(), and process_command().
|
static |
Definition at line 115 of file vf_blend_vulkan.c.
|
static |
Definition at line 125 of file vf_blend_vulkan.c.
Referenced by blend_frame().
|
static |
Definition at line 228 of file vf_blend_vulkan.c.
Referenced by init().
|
static |
Definition at line 270 of file vf_blend_vulkan.c.
|
static |
Definition at line 279 of file vf_blend_vulkan.c.
|
static |
Definition at line 299 of file vf_blend_vulkan.c.
|
static |
Definition at line 332 of file vf_blend_vulkan.c.
AVFILTER_DEFINE_CLASS | ( | blend_vulkan | ) |
|
static |
Definition at line 341 of file vf_blend_vulkan.c.
|
static |
Definition at line 361 of file vf_blend_vulkan.c.
|
static |
Definition at line 375 of file vf_blend_vulkan.c.
const AVFilter ff_vf_blend_vulkan |
Definition at line 383 of file vf_blend_vulkan.c.