Go to the source code of this file.
◆ OFFSET
◆ FLAGS
◆ MASKEDCLAMP
Value:
int w,
int undershoot,
int overshoot) \
{ \
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
◆ maskedclamp_inputs
Initial value:= {
{
.name = "base",
},
{
.name = "dark",
},
{
.name = "bright",
},
}
Definition at line 293 of file vf_maskedclamp.c.
◆ maskedclamp_outputs
◆ ff_vf_maskedclamp
Initial value:= {
.name = "maskedclamp",
.priv_class = &maskedclamp_class,
}
Definition at line 319 of file vf_maskedclamp.c.
it s the only field you need to keep assuming you have a context There is some magic you don t need to care about around this just let it vf default minimum maximum flags name is the option name
static int config_input(AVFilterLink *inlink)
static const AVFilterPad maskedclamp_inputs[]
static int query_formats(AVFilterContext *ctx)
static int activate(AVFilterContext *ctx)
it s the only field you need to keep assuming you have a context There is some magic you don t need to care about around this just let it vf type
static const AVFilterPad maskedclamp_outputs[]
static const AVFilterPad outputs[]
these buffered frames must be flushed immediately if a new input produces new the filter must not call request_frame to get more It must just process the frame or queue it The task of requesting more frames is left to the filter s request_frame method or the application If a filter has several inputs
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification.
static int process_command(AVFilterContext *ctx, const char *cmd, const char *args, char *res, int res_len, int flags)
int ff_filter_process_command(AVFilterContext *ctx, const char *cmd, const char *arg, char *res, int res_len, int flags)
Generic processing of user supplied commands that are set in the same way as the filter options.
static int config_output(AVFilterLink *outlink)
static const struct @322 planes[]
#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)
#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,...)