FFmpeg
|
vf_tile.c File Reference
tile video filter More...
#include "libavutil/opt.h"
#include "libavutil/pixdesc.h"
#include "avfilter.h"
#include "drawutils.h"
#include "formats.h"
#include "video.h"
#include "internal.h"
Include dependency graph for vf_tile.c:
Go to the source code of this file.
Data Structures | |
struct | TileContext |
Macros | |
#define | REASONABLE_SIZE 1024 |
#define | OFFSET(x) offsetof(TileContext, x) |
#define | FLAGS AV_OPT_FLAG_VIDEO_PARAM|AV_OPT_FLAG_FILTERING_PARAM |
Functions | |
AVFILTER_DEFINE_CLASS (tile) | |
static av_cold int | init (AVFilterContext *ctx) |
static int | query_formats (AVFilterContext *ctx) |
static int | config_props (AVFilterLink *outlink) |
static void | get_current_tile_pos (AVFilterContext *ctx, unsigned *x, unsigned *y) |
static void | draw_blank_frame (AVFilterContext *ctx, AVFrame *out_buf) |
static int | end_last_frame (AVFilterContext *ctx) |
static int | filter_frame (AVFilterLink *inlink, AVFrame *picref) |
static int | request_frame (AVFilterLink *outlink) |
Variables | |
static const AVOption | tile_options [] |
static const AVFilterPad | tile_inputs [] |
static const AVFilterPad | tile_outputs [] |
AVFilter | avfilter_vf_tile |
Detailed Description
tile video filter
Definition in file vf_tile.c.
Macro Definition Documentation
#define FLAGS AV_OPT_FLAG_VIDEO_PARAM|AV_OPT_FLAG_FILTERING_PARAM |
#define OFFSET | ( | x | ) | offsetof(TileContext, x) |
Function Documentation
AVFILTER_DEFINE_CLASS | ( | tile | ) |
|
static |
|
static |
Definition at line 135 of file vf_tile.c.
Referenced by end_last_frame().
|
static |
Definition at line 147 of file vf_tile.c.
Referenced by filter_frame(), and request_frame().
|
static |
|
static |
Definition at line 124 of file vf_tile.c.
Referenced by draw_blank_frame(), and filter_frame().
|
static |
|
static |
|
static |
Variable Documentation
AVFilter avfilter_vf_tile |
Initial value:
= {
.name = "tile",
.description = NULL_IF_CONFIG_SMALL("Tile several successive frames together."),
.init = init,
.query_formats = query_formats,
.priv_size = sizeof(TileContext),
.inputs = tile_inputs,
.outputs = tile_outputs,
.priv_class = &tile_class,
}
Definition: vf_tile.c:34
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
Definition: libavutil/internal.h:123
these buffered frames must be flushed immediately if a new input produces new the filter must not call request_frame to get more It must just process the frame or queue it The task of requesting more frames is left to the filter s request_frame method or the application If a filter has several inputs
Definition: filter_design.txt:216
|
static |
Initial value:
= {
{
.name = "default",
.type = AVMEDIA_TYPE_VIDEO,
.filter_frame = filter_frame,
},
{ NULL }
}
Definition: avutil.h:143
|
static |
Initial value:
= {
{.str = "6x5"}, 0, 0, FLAGS },
AV_OPT_TYPE_INT, {.i64 = 0}, 0, INT_MAX, FLAGS },
AV_OPT_TYPE_INT, {.i64 = 0}, 0, 1024, FLAGS },
AV_OPT_TYPE_INT, {.i64 = 0}, 0, 1024, FLAGS },
{NULL},
}
Definition: opt.h:222
|
static |
Initial value:
= {
{
.name = "default",
.type = AVMEDIA_TYPE_VIDEO,
.config_props = config_props,
.request_frame = request_frame,
},
{ NULL }
}
Definition: avutil.h:143
Generated on Mon Nov 18 2024 06:52:10 for FFmpeg by 1.8.11