FFmpeg
|
#include "config_components.h"
#include "libavutil/opt.h"
#include "libavutil/imgutils.h"
#include "avfilter.h"
#include "drawutils.h"
#include "formats.h"
#include "internal.h"
#include "video.h"
Go to the source code of this file.
Data Structures | |
struct | ColorkeyContext |
Macros | |
#define | COLORKEY_SLICE(name, type) |
#define | COLORHOLD_SLICE(name, type, htype) |
#define | OFFSET(x) offsetof(ColorkeyContext, x) |
#define | FLAGS AV_OPT_FLAG_FILTERING_PARAM|AV_OPT_FLAG_VIDEO_PARAM|AV_OPT_FLAG_RUNTIME_PARAM |
Functions | |
static int | do_colorkey_pixel (const uint8_t *colorkey_rgba, int r, int g, int b, float similarity, float iblend, int max, double scale) |
static int | filter_frame (AVFilterLink *link, AVFrame *frame) |
static av_cold int | config_output (AVFilterLink *outlink) |
Variables | |
static enum AVPixelFormat | pixel_fmts [] |
static const AVFilterPad | colorkey_inputs [] |
static const AVFilterPad | colorkey_outputs [] |
Definition at line 66 of file vf_colorkey.c.
Definition at line 102 of file vf_colorkey.c.
#define OFFSET | ( | x | ) | offsetof(ColorkeyContext, x) |
Definition at line 213 of file vf_colorkey.c.
Definition at line 214 of file vf_colorkey.c.
|
static |
Definition at line 48 of file vf_colorkey.c.
|
static |
Definition at line 150 of file vf_colorkey.c.
|
static |
Definition at line 163 of file vf_colorkey.c.
|
static |
Definition at line 186 of file vf_colorkey.c.
|
static |
Definition at line 196 of file vf_colorkey.c.
|
static |
Definition at line 205 of file vf_colorkey.c.