FFmpeg
|
#include "libavutil/random_seed.h"
#include "libavutil/opt.h"
#include "vulkan_filter.h"
#include "internal.h"
#include "framesync.h"
#include "blend.h"
Go to the source code of this file.
Data Structures | |
struct | FilterParamsVulkan |
struct | BlendVulkanContext |
Macros | |
#define | CGS 32 |
#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 | process_frames (AVFilterContext *avctx, AVFrame *out_frame, AVFrame *top_frame, AVFrame *bottom_frame) |
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 CGS 32 |
Definition at line 29 of file vf_blend_vulkan.c.
#define IN_TOP 0 |
Definition at line 31 of file vf_blend_vulkan.c.
#define IN_BOTTOM 1 |
Definition at line 32 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 446 of file vf_blend_vulkan.c.
#define FLAGS (AV_OPT_FLAG_FILTERING_PARAM | AV_OPT_FLAG_VIDEO_PARAM) |
Definition at line 447 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 224 of file vf_blend_vulkan.c.
Referenced by blend_frame().
|
static |
Definition at line 348 of file vf_blend_vulkan.c.
Referenced by init().
|
static |
Definition at line 387 of file vf_blend_vulkan.c.
|
static |
Definition at line 396 of file vf_blend_vulkan.c.
|
static |
Definition at line 407 of file vf_blend_vulkan.c.
|
static |
Definition at line 440 of file vf_blend_vulkan.c.
AVFILTER_DEFINE_CLASS | ( | blend_vulkan | ) |
|
static |
Definition at line 449 of file vf_blend_vulkan.c.
|
static |
Definition at line 469 of file vf_blend_vulkan.c.
|
static |
Definition at line 483 of file vf_blend_vulkan.c.
const AVFilter ff_vf_blend_vulkan |
Definition at line 491 of file vf_blend_vulkan.c.