#include "config_components.h"
#include "libavutil/opt.h"
#include "libavutil/pixdesc.h"
#include "avfilter.h"
#include "drawutils.h"
#include "filters.h"
Go to the source code of this file.
◆ COLORKEY_SLICE
◆ COLORHOLD_SLICE
◆ OFFSET
◆ FLAGS
◆ do_colorkey_pixel()
| 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 |
◆ filter_frame()
◆ config_output()
◆ pixel_fmts
Initial value:= {
}
#define AV_PIX_FMT_RGBA64
@ AV_PIX_FMT_ARGB
packed ARGB 8:8:8:8, 32bpp, ARGBARGB...
@ AV_PIX_FMT_BGRA
packed BGRA 8:8:8:8, 32bpp, BGRABGRA...
@ AV_PIX_FMT_ABGR
packed ABGR 8:8:8:8, 32bpp, ABGRABGR...
@ AV_PIX_FMT_RGBA
packed RGBA 8:8:8:8, 32bpp, RGBARGBA...
#define AV_PIX_FMT_BGRA64
Definition at line 184 of file vf_colorkey.c.
◆ colorkey_inputs
Initial value:= {
{
.name = "default",
},
}
static int filter_frame(DBEDecodeContext *s, AVFrame *frame)
#define AVFILTERPAD_FLAG_NEEDS_WRITABLE
The filter expects writable frames from its input link, duplicating data buffers if needed.
Definition at line 194 of file vf_colorkey.c.
◆ colorkey_outputs
Initial value:= {
{
.name = "default",
},
}
static int config_output(AVBitStreamFilterLink *outlink)
Definition at line 203 of file vf_colorkey.c.