FFmpeg
4.3.9
|
#include "libavutil/imgutils.h"
#include "libavutil/pixdesc.h"
#include "libavutil/opt.h"
#include "avfilter.h"
#include "formats.h"
#include "internal.h"
#include "video.h"
#include "framesync.h"
Go to the source code of this file.
Data Structures | |
struct | MaskedThresholdContext |
struct | ThreadData |
Used for passing data between threads. More... | |
Macros | |
#define | OFFSET(x) offsetof(MaskedThresholdContext, x) |
#define | FLAGS AV_OPT_FLAG_FILTERING_PARAM|AV_OPT_FLAG_VIDEO_PARAM |
Functions | |
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) | |
Variables | |
static const AVOption | maskedthreshold_options [] |
static const AVFilterPad | maskedthreshold_inputs [] |
static const AVFilterPad | maskedthreshold_outputs [] |
AVFilter | ff_vf_maskedthreshold |
#define OFFSET | ( | x | ) | offsetof(MaskedThresholdContext, x) |
Definition at line 45 of file vf_maskedthreshold.c.
#define FLAGS AV_OPT_FLAG_FILTERING_PARAM|AV_OPT_FLAG_VIDEO_PARAM |
Definition at line 46 of file vf_maskedthreshold.c.
|
static |
Definition at line 58 of file vf_maskedthreshold.c.
|
static |
Definition at line 85 of file vf_maskedthreshold.c.
Referenced by config_input().
|
static |
Definition at line 91 of file vf_maskedthreshold.c.
Referenced by config_input().
|
static |
Definition at line 101 of file vf_maskedthreshold.c.
|
static |
Definition at line 130 of file vf_maskedthreshold.c.
Referenced by process_frame().
|
static |
Definition at line 166 of file vf_maskedthreshold.c.
Referenced by config_output().
|
static |
Definition at line 202 of file vf_maskedthreshold.c.
|
static |
Definition at line 250 of file vf_maskedthreshold.c.
|
static |
Definition at line 256 of file vf_maskedthreshold.c.
AVFILTER_DEFINE_CLASS | ( | maskedthreshold | ) |
|
static |
Definition at line 52 of file vf_maskedthreshold.c.
|
static |
Definition at line 263 of file vf_maskedthreshold.c.
|
static |
Definition at line 276 of file vf_maskedthreshold.c.
AVFilter ff_vf_maskedthreshold |
Definition at line 287 of file vf_maskedthreshold.c.