|
FFmpeg
|
#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"#include "threshold.h"Go to the source code of this file.
Data Structures | |
| struct | ThreadData |
| Used for passing data between threads. More... | |
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 | filter_slice (AVFilterContext *ctx, void *arg, int jobnr, int nb_jobs) |
| 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) |
| void | ff_threshold_init (ThresholdContext *s) |
| static int | config_output (AVFilterLink *outlink) |
| static int | activate (AVFilterContext *ctx) |
| 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 36 of file vf_threshold.c.
| #define FLAGS AV_OPT_FLAG_VIDEO_PARAM|AV_OPT_FLAG_FILTERING_PARAM |
Definition at line 37 of file vf_threshold.c.
| AVFILTER_DEFINE_CLASS | ( | threshold | ) |
|
static |
Definition at line 46 of file vf_threshold.c.
|
static |
Definition at line 79 of file vf_threshold.c.
Referenced by process_frame().
|
static |
Definition at line 117 of file vf_threshold.c.
Referenced by config_output().
|
static |
Definition at line 156 of file vf_threshold.c.
Referenced by ff_threshold_init().
|
static |
Definition at line 179 of file vf_threshold.c.
Referenced by ff_threshold_init().
|
static |
Definition at line 207 of file vf_threshold.c.
| void ff_threshold_init | ( | ThresholdContext * | s | ) |
Definition at line 229 of file vf_threshold.c.
Referenced by check_threshold(), and config_input().
|
static |
Definition at line 243 of file vf_threshold.c.
|
static |
Definition at line 312 of file vf_threshold.c.
|
static |
Definition at line 318 of file vf_threshold.c.
|
static |
Definition at line 39 of file vf_threshold.c.
|
static |
Definition at line 325 of file vf_threshold.c.
|
static |
Definition at line 346 of file vf_threshold.c.
| AVFilter ff_vf_threshold |
Definition at line 355 of file vf_threshold.c.
1.8.17