FFmpeg
4.0
|
#include "float.h"
#include "libavutil/eval.h"
#include "libavutil/intreadwrite.h"
#include "libavutil/opt.h"
#include "avfilter.h"
#include "formats.h"
#include "internal.h"
#include "video.h"
Go to the source code of this file.
Data Structures | |
struct | DrawGraphContext |
Macros | |
#define | OFFSET(x) offsetof(DrawGraphContext, x) |
#define | FLAGS AV_OPT_FLAG_VIDEO_PARAM|AV_OPT_FLAG_FILTERING_PARAM |
Enumerations | |
enum | { VAR_MAX, VAR_MIN, VAR_VAL, VAR_VARS_NB } |
Functions | |
static av_cold int | init (AVFilterContext *ctx) |
static int | query_formats (AVFilterContext *ctx) |
static void | clear_image (DrawGraphContext *s, AVFrame *out, AVFilterLink *outlink) |
static void | draw_dot (int fg, int x, int y, AVFrame *out) |
static int | filter_frame (AVFilterLink *inlink, AVFrame *in) |
static int | request_frame (AVFilterLink *outlink) |
static int | config_output (AVFilterLink *outlink) |
static av_cold void | uninit (AVFilterContext *ctx) |
Variables | |
static const AVOption | drawgraph_options [] |
static const char *const | var_names [] = { "MAX", "MIN", "VAL", NULL } |
#define OFFSET | ( | x | ) | offsetof(DrawGraphContext, x) |
Definition at line 52 of file f_drawgraph.c.
#define FLAGS AV_OPT_FLAG_VIDEO_PARAM|AV_OPT_FLAG_FILTERING_PARAM |
Definition at line 53 of file f_drawgraph.c.
anonymous enum |
Enumerator | |
---|---|
VAR_MAX | |
VAR_MIN | |
VAR_VAL | |
VAR_VARS_NB |
Definition at line 83 of file f_drawgraph.c.
|
static |
Definition at line 85 of file f_drawgraph.c.
Referenced by uninit().
|
static |
Definition at line 122 of file f_drawgraph.c.
Referenced by uninit().
|
static |
Definition at line 138 of file f_drawgraph.c.
Referenced by filter_frame().
Definition at line 148 of file f_drawgraph.c.
Referenced by filter_frame(), and request_frame().
|
static |
Definition at line 153 of file f_drawgraph.c.
Referenced by uninit().
|
static |
Definition at line 319 of file f_drawgraph.c.
Referenced by uninit().
|
static |
Definition at line 401 of file f_drawgraph.c.
Referenced by uninit().
|
static |
Definition at line 412 of file f_drawgraph.c.
|
static |
Definition at line 55 of file f_drawgraph.c.
|
static |
Definition at line 82 of file f_drawgraph.c.
Referenced by init().