#include "libavutil/channel_layout.h"
#include "libavutil/opt.h"
#include "avfilter.h"
#include "audio.h"
#include "filters.h"
#include "formats.h"
#include "drawutils.h"
#include "video.h"
Go to the source code of this file.
◆ OFFSET
◆ VF
◆ PadMode
| Enumerator |
|---|
| MODE_ADD | |
| MODE_CLONE | |
| NB_MODE | |
Definition at line 30 of file vf_tpad.c.
◆ AVFILTER_DEFINE_CLASS()
| AVFILTER_DEFINE_CLASS |
( |
tpad | | ) |
|
◆ needs_drawing()
◆ query_formats()
◆ activate()
◆ config_input()
◆ uninit()
◆ tpad_options
Initial value:= {
{
"start",
"set the number of frames to delay input",
OFFSET(pad_start),
AV_OPT_TYPE_INT, {.i64=0}, 0, INT_MAX,
VF },
{
"stop",
"set the number of frames to add after input finished",
OFFSET(pad_stop),
AV_OPT_TYPE_INT, {.i64=0}, -1, INT_MAX,
VF },
}
@ AV_OPT_TYPE_CONST
Special option type for declaring named constants.
@ AV_OPT_TYPE_DURATION
Underlying C type is int64_t.
@ AV_OPT_TYPE_INT
Underlying C type is int.
@ AV_OPT_TYPE_COLOR
Underlying C type is uint8_t[4].
Definition at line 57 of file vf_tpad.c.
◆ tpad_inputs
Initial value:= {
{
.name = "default",
},
}
static int config_input(AVFilterLink *inlink)
Definition at line 235 of file vf_tpad.c.
◆ ff_vf_tpad
Initial value:= {
.p.name = "tpad",
.p.priv_class = &tpad_class,
}
static int query_formats(const AVFilterContext *ctx, AVFilterFormatsConfig **cfg_in, AVFilterFormatsConfig **cfg_out)
static av_cold void uninit(AVBitStreamFilterContext *ctx)
static int activate(AVBitStreamFilterContext *ctx)
#define FILTER_INPUTS(array)
#define FILTER_OUTPUTS(array)
#define FILTER_QUERY_FUNC2(func)
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification.
static const AVFilterPad tpad_inputs[]
const AVFilterPad ff_video_default_filterpad[1]
An AVFilterPad array whose only entry has name "default" and is of type AVMEDIA_TYPE_VIDEO.
Definition at line 243 of file vf_tpad.c.