FFmpeg
4.4
|
#include <float.h>
#include "libavutil/opt.h"
#include "libavutil/imgutils.h"
#include "avfilter.h"
#include "formats.h"
#include "internal.h"
#include "video.h"
Go to the source code of this file.
Data Structures | |
struct | MonochromeContext |
Macros | |
#define | PROCESS() |
#define | OFFSET(x) offsetof(MonochromeContext, x) |
#define | VF AV_OPT_FLAG_FILTERING_PARAM|AV_OPT_FLAG_VIDEO_PARAM|AV_OPT_FLAG_RUNTIME_PARAM |
Functions | |
static float | envelope (const float x) |
static float | filter (float b, float r, float u, float v, float size) |
static int | monochrome_slice8 (AVFilterContext *ctx, void *arg, int jobnr, int nb_jobs) |
static int | monochrome_slice16 (AVFilterContext *ctx, void *arg, int jobnr, int nb_jobs) |
static int | clear_slice8 (AVFilterContext *ctx, void *arg, int jobnr, int nb_jobs) |
static int | clear_slice16 (AVFilterContext *ctx, void *arg, int jobnr, int nb_jobs) |
static int | filter_frame (AVFilterLink *inlink, AVFrame *frame) |
static av_cold int | query_formats (AVFilterContext *ctx) |
static av_cold int | config_input (AVFilterLink *inlink) |
AVFILTER_DEFINE_CLASS (monochrome) | |
Variables | |
static const AVFilterPad | monochrome_inputs [] |
static const AVFilterPad | monochrome_outputs [] |
static const AVOption | monochrome_options [] |
AVFilter | ff_vf_monochrome |
#define PROCESS | ( | ) |
Definition at line 68 of file vf_monochrome.c.
#define OFFSET | ( | x | ) | offsetof(MonochromeContext, x) |
Definition at line 291 of file vf_monochrome.c.
Definition at line 292 of file vf_monochrome.c.
|
static |
Definition at line 46 of file vf_monochrome.c.
Referenced by amqp_proto_read(), and waves_synth().
|
static |
Definition at line 61 of file vf_monochrome.c.
|
static |
Definition at line 80 of file vf_monochrome.c.
Referenced by config_input().
|
static |
Definition at line 119 of file vf_monochrome.c.
Referenced by config_input().
|
static |
Definition at line 158 of file vf_monochrome.c.
Referenced by config_input().
|
static |
Definition at line 184 of file vf_monochrome.c.
Referenced by config_input().
|
static |
Definition at line 212 of file vf_monochrome.c.
|
static |
Definition at line 225 of file vf_monochrome.c.
|
static |
Definition at line 257 of file vf_monochrome.c.
AVFILTER_DEFINE_CLASS | ( | monochrome | ) |
|
static |
Definition at line 272 of file vf_monochrome.c.
|
static |
Definition at line 283 of file vf_monochrome.c.
|
static |
Definition at line 294 of file vf_monochrome.c.
AVFilter ff_vf_monochrome |
Definition at line 304 of file vf_monochrome.c.