FFmpeg
|
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|AV_OPT_FLAG_FILTERING_PARAM |
Enumerations | |
enum | { Y, U, V, A } |
Functions | |
AVFILTER_DEFINE_CLASS (drawbox) | |
static av_cold int | init (AVFilterContext *ctx, const char *args) |
static av_cold void | uninit (AVFilterContext *ctx) |
static int | query_formats (AVFilterContext *ctx) |
static int | config_input (AVFilterLink *inlink) |
static int | filter_frame (AVFilterLink *inlink, AVFilterBufferRef *frame) |
Variables | |
static const AVOption | drawbox_options [] |
static const AVFilterPad | avfilter_vf_drawbox_inputs [] |
static const AVFilterPad | avfilter_vf_drawbox_outputs [] |
AVFilter | avfilter_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 48 of file vf_drawbox.c.
#define FLAGS AV_OPT_FLAG_VIDEO_PARAM|AV_OPT_FLAG_FILTERING_PARAM |
Definition at line 49 of file vf_drawbox.c.
anonymous enum |
Definition at line 37 of file vf_drawbox.c.
AVFILTER_DEFINE_CLASS | ( | drawbox | ) |
|
static |
Definition at line 67 of file vf_drawbox.c.
|
static |
Definition at line 95 of file vf_drawbox.c.
|
static |
Definition at line 101 of file vf_drawbox.c.
|
static |
Definition at line 115 of file vf_drawbox.c.
|
static |
Definition at line 133 of file vf_drawbox.c.
|
static |
Definition at line 51 of file vf_drawbox.c.
|
static |
Definition at line 168 of file vf_drawbox.c.
|
static |
Definition at line 180 of file vf_drawbox.c.
AVFilter avfilter_vf_drawbox |
Definition at line 188 of file vf_drawbox.c.