#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.
#define DEFAULT_RESULT_NAME "transforms.trf" |
#define OFFSET |
( |
|
x | ) |
offsetof(StabData, x) |
#define OFFSETC |
( |
|
x | ) |
(offsetof(StabData, conf)+offsetof(VSMotionDetectConfig, x)) |
AVFILTER_DEFINE_CLASS |
( |
vidstabdetect |
| ) |
|
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.
Initial value:= {
{
.name = "default",
},
}
static int config_input(AVFilterLink *inlink)
static int filter_frame(AVFilterLink *inlink, AVFrame *in)
Definition at line 191 of file vf_vidstabdetect.c.
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 outputs[]
static const AVFilterPad inputs[]
static const AVFilterPad avfilter_vf_vidstabdetect_inputs[]
static av_cold void uninit(AVFilterContext *ctx)
Definition at line 209 of file vf_vidstabdetect.c.