Go to the source code of this file.
◆ OFFSET
◆ VF
◆ GETSUM
Value:
{ \
MaskFunContext *
s =
ctx->priv; \
uint64_t sum = 0; \
for (
p = 0;
p <
s->nb_planes;
p++) { \
const
int linesize =
out->linesize[
p] / div; \
const
int w =
s->width[
p]; \
const
int h =
s->height[
p]; \
\
if (!((1 <<
p) &
s->planes)) \
for (
int y = 0; y <
h; y++) { \
for (
int x = 0; x <
w; x++) \
sum += dst[x]; \
return 1; \
dst += linesize; \
} \
} \
\
return 0; \
}
Definition at line 114 of file vf_maskfun.c.
◆ MASKFUN
◆ AVFILTER_DEFINE_CLASS()
AVFILTER_DEFINE_CLASS |
( |
maskfun |
| ) |
|
◆ query_formats()
◆ filter_frame()
◆ config_input()
◆ maskfun_options
◆ maskfun_inputs
Initial value:= {
{
.name = "default",
.needs_writable = 1,
},
}
Definition at line 251 of file vf_maskfun.c.
◆ maskfun_outputs
Initial value:= {
{
.name = "default",
},
}
Definition at line 262 of file vf_maskfun.c.
◆ ff_vf_maskfun
Initial value:= {
.name = "maskfun",
.priv_class = &maskfun_class,
}
Definition at line 270 of file vf_maskfun.c.