Go to the source code of this file.
|
static int | query_formats (AVFilterContext *ctx) |
|
static void | threshold8 (const uint8_t *src, const uint8_t *ref, uint8_t *dst, int threshold, int w) |
|
static void | threshold16 (const uint8_t *ssrc, const uint8_t *rref, uint8_t *ddst, int threshold, int w) |
|
static int | config_input (AVFilterLink *inlink) |
|
static int | threshold_slice (AVFilterContext *ctx, void *arg, int jobnr, int nb_jobs) |
|
static int | process_frame (FFFrameSync *fs) |
|
static int | config_output (AVFilterLink *outlink) |
|
static int | activate (AVFilterContext *ctx) |
|
static av_cold void | uninit (AVFilterContext *ctx) |
|
| AVFILTER_DEFINE_CLASS (maskedthreshold) |
|
◆ OFFSET
◆ FLAGS
◆ query_formats()
◆ threshold8()
◆ threshold16()
◆ config_input()
◆ threshold_slice()
◆ process_frame()
◆ config_output()
◆ activate()
◆ uninit()
◆ AVFILTER_DEFINE_CLASS()
AVFILTER_DEFINE_CLASS |
( |
maskedthreshold |
| ) |
|
◆ maskedthreshold_options
const AVOption maskedthreshold_options[] |
|
static |
◆ maskedthreshold_inputs
Initial value:= {
{
.name = "source",
},
{
.name = "reference",
},
}
Definition at line 263 of file vf_maskedthreshold.c.
◆ maskedthreshold_outputs
◆ ff_vf_maskedthreshold
Initial value:= {
.name = "maskedthreshold",
.description =
NULL_IF_CONFIG_SMALL(
"Pick pixels comparing absolute difference of two streams with threshold."),
.priv_class = &maskedthreshold_class,
}
Definition at line 287 of file vf_maskedthreshold.c.
static const AVFilterPad maskedthreshold_inputs[]
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 AVFilterPad maskedthreshold_outputs[]
static int config_input(AVFilterLink *inlink)
static const struct @322 planes[]
#define AVFILTER_FLAG_SLICE_THREADS
The filter supports multithreading by splitting frames into multiple parts and processing them concur...
#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 query_formats(AVFilterContext *ctx)
static int activate(AVFilterContext *ctx)
static av_cold void uninit(AVFilterContext *ctx)