FFmpeg
|
#include "config_components.h"
#include "float.h"
#include "libavutil/avstring.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 | |
AVFILTER_DEFINE_CLASS_EXT (drawgraph, "(a)drawgraph", drawgraph_options) | |
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 } |
static const AVFilterPad | drawgraph_outputs [] |
#define OFFSET | ( | x | ) | offsetof(DrawGraphContext, x) |
Definition at line 57 of file f_drawgraph.c.
#define FLAGS AV_OPT_FLAG_VIDEO_PARAM|AV_OPT_FLAG_FILTERING_PARAM |
Definition at line 58 of file f_drawgraph.c.
anonymous enum |
Enumerator | |
---|---|
VAR_MAX | |
VAR_MIN | |
VAR_VAL | |
VAR_VARS_NB |
Definition at line 92 of file f_drawgraph.c.
AVFILTER_DEFINE_CLASS_EXT | ( | drawgraph | , |
"(a)drawgraph" | , | ||
drawgraph_options | |||
) |
|
static |
Definition at line 94 of file f_drawgraph.c.
|
static |
Definition at line 131 of file f_drawgraph.c.
|
static |
Definition at line 147 of file f_drawgraph.c.
Referenced by filter_frame().
Definition at line 157 of file f_drawgraph.c.
Referenced by filter_frame(), and request_frame().
|
static |
Definition at line 162 of file f_drawgraph.c.
|
static |
Definition at line 344 of file f_drawgraph.c.
|
static |
Definition at line 426 of file f_drawgraph.c.
|
static |
Definition at line 440 of file f_drawgraph.c.
|
static |
Definition at line 60 of file f_drawgraph.c.
|
static |
Definition at line 91 of file f_drawgraph.c.
Referenced by init().
|
static |
Definition at line 457 of file f_drawgraph.c.