#include "libavutil/opt.h"
#include "libavutil/imgutils.h"
#include "avfilter.h"
#include "formats.h"
#include "internal.h"
#include "video.h"
Go to the source code of this file.
|
static int | do_lumakey_slice8 (AVFilterContext *ctx, void *arg, int jobnr, int nb_jobs) |
|
static int | do_lumakey_slice16 (AVFilterContext *ctx, void *arg, int jobnr, int nb_jobs) |
|
static int | config_input (AVFilterLink *inlink) |
|
static int | filter_frame (AVFilterLink *link, AVFrame *frame) |
|
static int | process_command (AVFilterContext *ctx, const char *cmd, const char *args, char *res, int res_len, int flags) |
|
| AVFILTER_DEFINE_CLASS (lumakey) |
|
◆ OFFSET
◆ FLAGS
◆ do_lumakey_slice8()
◆ do_lumakey_slice16()
◆ config_input()
◆ filter_frame()
◆ process_command()
static int process_command |
( |
AVFilterContext * |
ctx, |
|
|
const char * |
cmd, |
|
|
const char * |
args, |
|
|
char * |
res, |
|
|
int |
res_len, |
|
|
int |
flags |
|
) |
| |
|
static |
◆ AVFILTER_DEFINE_CLASS()
AVFILTER_DEFINE_CLASS |
( |
lumakey |
| ) |
|
◆ pixel_fmts
◆ lumakey_inputs
Initial value:= {
{
.name = "default",
},
}
Definition at line 166 of file vf_lumakey.c.
◆ lumakey_outputs
Initial value:= {
{
.name = "default",
},
}
Definition at line 176 of file vf_lumakey.c.
◆ lumakey_options
◆ ff_vf_lumakey
Initial value:= {
.name = "lumakey",
.priv_class = &lumakey_class,
}
Definition at line 195 of file vf_lumakey.c.
#define AV_PIX_FMT_YUVA422P16
#define FILTER_PIXFMTS_ARRAY(array)
#define AV_PIX_FMT_YUVA422P9
#define AV_PIX_FMT_YUVA420P16
#define AV_PIX_FMT_YUVA420P10
static int filter_frame(AVFilterLink *link, AVFrame *frame)
#define AV_PIX_FMT_YUVA422P10
#define AV_PIX_FMT_YUVA420P9
#define AV_PIX_FMT_YUVA444P16
@ AV_PIX_FMT_YUVA420P
planar YUV 4:2:0, 20bpp, (1 Cr & Cb sample per 2x2 Y & A samples)
static const AVFilterPad lumakey_inputs[]
#define AV_PIX_FMT_YUVA444P12
#define FILTER_INPUTS(array)
static const AVFilterPad lumakey_outputs[]
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification.
@ AV_PIX_FMT_YUVA444P
planar YUV 4:4:4 32bpp, (1 Cr & Cb sample per 1x1 Y & A samples)
#define AV_PIX_FMT_YUVA444P10
#define AVFILTER_FLAG_SUPPORT_TIMELINE_GENERIC
Some filters support a generic "enable" expression option that can be used to enable or disable a fil...
static enum AVPixelFormat pixel_fmts[]
#define AV_PIX_FMT_YUVA444P9
static int config_input(AVFilterLink *inlink)
#define AV_PIX_FMT_YUVA422P12
#define AVFILTER_FLAG_SLICE_THREADS
The filter supports multithreading by splitting frames into multiple parts and processing them concur...
#define FILTER_OUTPUTS(array)
static int process_command(AVFilterContext *ctx, const char *cmd, const char *args, char *res, int res_len, int flags)
@ AV_PIX_FMT_YUVA422P
planar YUV 4:2:2 24bpp, (1 Cr & Cb sample per 2x1 Y & A samples)
#define AVFILTERPAD_FLAG_NEEDS_WRITABLE
The filter expects writable frames from its input link, duplicating data buffers if needed.