#include <vid.stab/libvidstab.h>
#include "libavutil/common.h"
#include "libavutil/opt.h"
#include "libavutil/imgutils.h"
#include "avfilter.h"
#include "internal.h"
#include "vidstabutils.h"
Go to the source code of this file.
◆ DEFAULT_RESULT_NAME
#define DEFAULT_RESULT_NAME "transforms.trf" |
◆ OFFSET
#define OFFSET |
( |
|
x | ) |
offsetof(StabData, x) |
◆ OFFSETC
#define OFFSETC |
( |
|
x | ) |
(offsetof(StabData, conf)+offsetof(VSMotionDetectConfig, x)) |
◆ FLAGS
◆ AVFILTER_DEFINE_CLASS()
AVFILTER_DEFINE_CLASS |
( |
vidstabdetect |
| ) |
|
◆ init()
◆ uninit()
◆ query_formats()
◆ config_input()
◆ filter_frame()
◆ vidstabdetect_options
Initial value:= {
{"shakiness", "how shaky is the video and how quick is the camera?"
{
"stepsize",
"region around minimum is scanned with 1 pixel resolution",
OFFSETC(stepSize),
AV_OPT_TYPE_INT, {.i64 = 6}, 1, 32,
FLAGS},
{"tripod", "virtual tripod mode (if >0): motion is compared to a reference"
}
#define DEFAULT_RESULT_NAME
Definition at line 48 of file vf_vidstabdetect.c.
◆ avfilter_vf_vidstabdetect_inputs
Initial value:= {
{
.name = "default",
},
}
static int config_input(AVFilterLink *inlink)
static int filter_frame(AVFilterLink *inlink, AVFrame *in)
Definition at line 192 of file vf_vidstabdetect.c.
◆ avfilter_vf_vidstabdetect_outputs
◆ ff_vf_vidstabdetect
Initial value:= {
.name = "vidstabdetect",
"pass 1 of 2 for stabilization "
"(see vidstabtransform for pass 2)."),
.priv_class = &vidstabdetect_class,
}
static av_cold int init(AVFilterContext *ctx)
static int query_formats(AVFilterContext *ctx)
static const AVFilterPad avfilter_vf_vidstabdetect_outputs[]
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
static const AVFilterPad inputs[]
static const AVFilterPad outputs[]
static const AVFilterPad avfilter_vf_vidstabdetect_inputs[]
static av_cold void uninit(AVFilterContext *ctx)
Definition at line 210 of file vf_vidstabdetect.c.