Go to the source code of this file.
|
| AVFILTER_DEFINE_CLASS (maskedmerge) |
|
static int | query_formats (AVFilterContext *ctx) |
|
static int | process_frame (FFFrameSync *fs) |
|
static void | maskedmerge8 (const uint8_t *bsrc, const uint8_t *osrc, const uint8_t *msrc, uint8_t *dst, ptrdiff_t blinesize, ptrdiff_t olinesize, ptrdiff_t mlinesize, ptrdiff_t dlinesize, int w, int h, int half, int shift) |
|
static void | maskedmerge16 (const uint8_t *bbsrc, const uint8_t *oosrc, const uint8_t *mmsrc, uint8_t *ddst, ptrdiff_t blinesize, ptrdiff_t olinesize, ptrdiff_t mlinesize, ptrdiff_t dlinesize, int w, int h, int half, int shift) |
|
static int | config_input (AVFilterLink *inlink) |
|
static int | config_output (AVFilterLink *outlink) |
|
static int | activate (AVFilterContext *ctx) |
|
static av_cold void | uninit (AVFilterContext *ctx) |
|
AVFILTER_DEFINE_CLASS |
( |
maskedmerge |
| ) |
|
static void maskedmerge8 |
( |
const uint8_t * |
bsrc, |
|
|
const uint8_t * |
osrc, |
|
|
const uint8_t * |
msrc, |
|
|
uint8_t * |
dst, |
|
|
ptrdiff_t |
blinesize, |
|
|
ptrdiff_t |
olinesize, |
|
|
ptrdiff_t |
mlinesize, |
|
|
ptrdiff_t |
dlinesize, |
|
|
int |
w, |
|
|
int |
h, |
|
|
int |
half, |
|
|
int |
shift |
|
) |
| |
|
static |
static void maskedmerge16 |
( |
const uint8_t * |
bbsrc, |
|
|
const uint8_t * |
oosrc, |
|
|
const uint8_t * |
mmsrc, |
|
|
uint8_t * |
ddst, |
|
|
ptrdiff_t |
blinesize, |
|
|
ptrdiff_t |
olinesize, |
|
|
ptrdiff_t |
mlinesize, |
|
|
ptrdiff_t |
dlinesize, |
|
|
int |
w, |
|
|
int |
h, |
|
|
int |
half, |
|
|
int |
shift |
|
) |
| |
|
static |
Initial value:= {
{
.name = "base",
},
{
.name = "overlay",
},
{
.name = "mask",
},
}
static int config_input(AVFilterLink *inlink)
Definition at line 270 of file vf_maskedmerge.c.
Initial value:= {
{
.name = "default",
},
}
static int config_output(AVFilterLink *outlink)
Definition at line 287 of file vf_maskedmerge.c.
Initial value:= {
.name = "maskedmerge",
.description =
NULL_IF_CONFIG_SMALL(
"Merge first stream with second stream using third stream as mask."),
.priv_class = &maskedmerge_class,
}
static const AVFilterPad maskedmerge_outputs[]
static int query_formats(AVFilterContext *ctx)
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
static const AVFilterPad outputs[]
static const AVFilterPad inputs[]
static const AVFilterPad maskedmerge_inputs[]
static int activate(AVFilterContext *ctx)
#define AVFILTER_FLAG_SUPPORT_TIMELINE_INTERNAL
Same as AVFILTER_FLAG_SUPPORT_TIMELINE_GENERIC, except that the filter will have its filter_frame() c...
static av_cold void uninit(AVFilterContext *ctx)
Definition at line 296 of file vf_maskedmerge.c.