Go to the source code of this file.
◆ OFFSET
◆ FLAGS
◆ MASKEDCLAMP
Value: int w,
int undershoot,
int overshoot) \
{ \
const
type *bsrc = (
const type *)bbsrc; \
const
type *darksrc = (
const type *)ddarksrc; \
const
type *brightsrc = (
const type *)bbrightsrc; \
type *dst = (
type *)ddst;
\ for (
int x = 0; x <
w; x++) { \
dst[x] =
FFMAX(bsrc[x], darksrc[x] - undershoot); \
dst[x] =
FFMIN(dst[x], brightsrc[x] + overshoot); \
} \
}
Definition at line 170 of file vf_maskedclamp.c.
◆ AVFILTER_DEFINE_CLASS()
AVFILTER_DEFINE_CLASS |
( |
maskedclamp |
| ) |
|
◆ query_formats()
◆ maskedclamp_slice()
◆ process_frame()
◆ config_input()
◆ config_output()
◆ activate()
◆ uninit()
◆ maskedclamp_options
Initial value:= {
}
static const struct @315 planes[]
Definition at line 54 of file vf_maskedclamp.c.
◆ maskedclamp_inputs
Initial value:= {
{
.name = "base",
},
{
.name = "dark",
},
{
.name = "bright",
},
}
static int config_input(AVFilterLink *inlink)
Definition at line 293 of file vf_maskedclamp.c.
◆ maskedclamp_outputs
Initial value:= {
{
.name = "default",
},
}
static int config_output(AVFilterLink *outlink)
Definition at line 310 of file vf_maskedclamp.c.
◆ ff_vf_maskedclamp
Initial value:= {
.name = "maskedclamp",
.priv_class = &maskedclamp_class,
}
static const AVFilterPad maskedclamp_outputs[]
static const AVFilterPad maskedclamp_inputs[]
#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 av_cold void uninit(AVFilterContext *ctx)
static const AVFilterPad inputs[]
static const AVFilterPad outputs[]
static int query_formats(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...
#define flags(name, subs,...)
static int activate(AVFilterContext *ctx)
Definition at line 319 of file vf_maskedclamp.c.