#include "config_components.h"
#include "libavutil/avstring.h"
#include "libavutil/eval.h"
#include "libavutil/intreadwrite.h"
#include "libavutil/mem.h"
#include "libavutil/opt.h"
#include "avfilter.h"
#include "filters.h"
#include "formats.h"
#include "video.h"
Go to the source code of this file.
|
| | AVFILTER_DEFINE_CLASS_EXT (drawgraph, "(a)drawgraph", drawgraph_options) |
| |
| static av_cold int | init (AVFilterContext *ctx) |
| |
| static int | query_formats (const AVFilterContext *ctx, AVFilterFormatsConfig **cfg_in, AVFilterFormatsConfig **cfg_out) |
| |
| 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) |
| |
◆ OFFSET
◆ FLAGS
◆ anonymous enum
| Enumerator |
|---|
| VAR_MAX | |
| VAR_MIN | |
| VAR_VAL | |
| VAR_VARS_NB | |
Definition at line 91 of file f_drawgraph.c.
◆ AVFILTER_DEFINE_CLASS_EXT()
◆ init()
◆ query_formats()
◆ clear_image()
◆ draw_dot()
| static void draw_dot |
( |
int | fg, |
|
|
int | x, |
|
|
int | y, |
|
|
AVFrame * | out ) |
|
inlinestatic |
◆ filter_frame()
◆ request_frame()
◆ config_output()
◆ uninit()
◆ drawgraph_options
Initial value:= {
}
mode
Use these values in ebur128_init (or'ed).
@ AV_OPT_TYPE_IMAGE_SIZE
Underlying C type is two consecutive integers.
@ AV_OPT_TYPE_CONST
Special option type for declaring named constants.
@ AV_OPT_TYPE_VIDEO_RATE
Underlying C type is AVRational.
@ AV_OPT_TYPE_INT
Underlying C type is int.
@ AV_OPT_TYPE_FLOAT
Underlying C type is float.
@ AV_OPT_TYPE_STRING
Underlying C type is a uint8_t* that is either NULL or points to a C string allocated with the av_mal...
@ AV_OPT_TYPE_COLOR
Underlying C type is uint8_t[4].
Definition at line 59 of file f_drawgraph.c.
Referenced by AVFILTER_DEFINE_CLASS_EXT().
◆ var_names
| const char* const var_names[] = { "MAX", "MIN", "VAL", NULL } |
|
static |
◆ drawgraph_outputs
Initial value:= {
{
.name = "default",
},
}
static int request_frame(AVFilterLink *outlink)
static int config_output(AVBitStreamFilterLink *outlink)
Definition at line 458 of file f_drawgraph.c.