|
Libav
|
Box drawing filter. More...
#include "libavutil/colorspace.h"#include "libavutil/common.h"#include "libavutil/opt.h"#include "libavutil/pixdesc.h"#include "libavutil/parseutils.h"#include "avfilter.h"#include "formats.h"#include "internal.h"#include "video.h"Go to the source code of this file.
Data Structures | |
| struct | DrawBoxContext |
Macros | |
| #define | OFFSET(x) offsetof(DrawBoxContext, x) |
| #define | FLAGS AV_OPT_FLAG_VIDEO_PARAM |
Enumerations | |
| enum | { Y, U, V, A } |
Functions | |
| static av_cold int | init (AVFilterContext *ctx) |
| static int | query_formats (AVFilterContext *ctx) |
| static int | config_input (AVFilterLink *inlink) |
| static int | filter_frame (AVFilterLink *inlink, AVFrame *frame) |
Variables | |
| static const AVOption | options [] |
| static const AVClass | drawbox_class |
| static const AVFilterPad | avfilter_vf_drawbox_inputs [] |
| static const AVFilterPad | avfilter_vf_drawbox_outputs [] |
| AVFilter | ff_vf_drawbox |
Box drawing filter.
Also a nice template for a filter that needs to write in the input frame.
Definition in file vf_drawbox.c.
| #define OFFSET | ( | x | ) | offsetof(DrawBoxContext, x) |
Definition at line 123 of file vf_drawbox.c.
| #define FLAGS AV_OPT_FLAG_VIDEO_PARAM |
Definition at line 124 of file vf_drawbox.c.
| anonymous enum |
| Enumerator | |
|---|---|
| Y | |
| U | |
| V | |
| A | |
Definition at line 37 of file vf_drawbox.c.
|
static |
Definition at line 47 of file vf_drawbox.c.
|
static |
Definition at line 63 of file vf_drawbox.c.
|
static |
Definition at line 77 of file vf_drawbox.c.
|
static |
Definition at line 95 of file vf_drawbox.c.
|
static |
Definition at line 125 of file vf_drawbox.c.
|
static |
Definition at line 134 of file vf_drawbox.c.
|
static |
Definition at line 141 of file vf_drawbox.c.
|
static |
Definition at line 153 of file vf_drawbox.c.
| AVFilter ff_vf_drawbox |
Definition at line 161 of file vf_drawbox.c.
1.8.8