FFmpeg
|
threshold video filter More...
#include "libavutil/imgutils.h"
#include "libavutil/internal.h"
#include "libavutil/opt.h"
#include "libavutil/pixdesc.h"
#include "avfilter.h"
#include "framesync.h"
#include "internal.h"
#include "video.h"
Go to the source code of this file.
Data Structures | |
struct | ThresholdContext |
Macros | |
#define | OFFSET(x) offsetof(ThresholdContext, x) |
#define | FLAGS AV_OPT_FLAG_VIDEO_PARAM|AV_OPT_FLAG_FILTERING_PARAM |
Functions | |
AVFILTER_DEFINE_CLASS (threshold) | |
static int | query_formats (AVFilterContext *ctx) |
static int | process_frame (FFFrameSync *fs) |
static void | threshold8 (const uint8_t *in, const uint8_t *threshold, const uint8_t *min, const uint8_t *max, uint8_t *out, ptrdiff_t ilinesize, ptrdiff_t tlinesize, ptrdiff_t flinesize, ptrdiff_t slinesize, ptrdiff_t olinesize, int w, int h) |
static void | threshold16 (const uint8_t *iin, const uint8_t *tthreshold, const uint8_t *ffirst, const uint8_t *ssecond, uint8_t *oout, ptrdiff_t ilinesize, ptrdiff_t tlinesize, ptrdiff_t flinesize, ptrdiff_t slinesize, ptrdiff_t olinesize, int w, int h) |
static int | config_input (AVFilterLink *inlink) |
static int | config_output (AVFilterLink *outlink) |
static int | filter_frame (AVFilterLink *inlink, AVFrame *buf) |
static int | request_frame (AVFilterLink *outlink) |
static av_cold void | uninit (AVFilterContext *ctx) |
Variables | |
static const AVOption | threshold_options [] |
static const AVFilterPad | inputs [] |
static const AVFilterPad | outputs [] |
AVFilter | ff_vf_threshold |
threshold video filter
Definition in file vf_threshold.c.
#define OFFSET | ( | x | ) | offsetof(ThresholdContext, x) |
Definition at line 56 of file vf_threshold.c.
#define FLAGS AV_OPT_FLAG_VIDEO_PARAM|AV_OPT_FLAG_FILTERING_PARAM |
Definition at line 57 of file vf_threshold.c.
AVFILTER_DEFINE_CLASS | ( | threshold | ) |
|
static |
Definition at line 66 of file vf_threshold.c.
|
static |
Definition at line 91 of file vf_threshold.c.
Referenced by config_output().
|
static |
Definition at line 140 of file vf_threshold.c.
Referenced by config_input().
|
static |
Definition at line 163 of file vf_threshold.c.
Referenced by config_input().
|
static |
Definition at line 191 of file vf_threshold.c.
|
static |
Definition at line 218 of file vf_threshold.c.
|
static |
Definition at line 285 of file vf_threshold.c.
|
static |
Definition at line 291 of file vf_threshold.c.
|
static |
Definition at line 297 of file vf_threshold.c.
|
static |
Definition at line 59 of file vf_threshold.c.
|
static |
Definition at line 304 of file vf_threshold.c.
|
static |
Definition at line 329 of file vf_threshold.c.
AVFilter ff_vf_threshold |
Definition at line 339 of file vf_threshold.c.