#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.
AVFILTER_DEFINE_CLASS |
( |
colorkey |
| ) |
|
Initial value:= {
{
.name = "default",
},
}
static int filter_frame(AVFilterLink *link, AVFrame *frame)
Definition at line 130 of file vf_colorkey.c.
Initial value:= {
{
.name = "default",
},
}
static av_cold int config_output(AVFilterLink *outlink)
Definition at line 139 of file vf_colorkey.c.
Initial value:= {
.name = "colorkey",
.description =
NULL_IF_CONFIG_SMALL(
"Turns a certain color into transparency. Operates on RGB colors."),
.priv_class = &colorkey_class,
}
static const AVFilterPad colorkey_outputs[]
#define AVFILTER_FLAG_SUPPORT_TIMELINE_GENERIC
Some filters support a generic "enable" expression option that can be used to enable or disable a fil...
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
#define AVFILTER_FLAG_SLICE_THREADS
The filter supports multithreading by splitting frames into multiple parts and processing them concur...
static const AVFilterPad colorkey_inputs[]
static const AVFilterPad outputs[]
static const AVFilterPad inputs[]
static av_cold int query_formats(AVFilterContext *avctx)
Definition at line 160 of file vf_colorkey.c.