FFmpeg
|
#include "libavutil/imgutils.h"
#include "libavutil/pixdesc.h"
#include "libavutil/opt.h"
#include "avfilter.h"
#include "formats.h"
#include "framesync.h"
#include "internal.h"
#include "video.h"
Go to the source code of this file.
Data Structures | |
struct | DisplaceContext |
Macros | |
#define | OFFSET(x) offsetof(DisplaceContext, x) |
#define | FLAGS AV_OPT_FLAG_FILTERING_PARAM|AV_OPT_FLAG_VIDEO_PARAM |
Enumerations | |
enum | EdgeMode { EDGE_BLANK, EDGE_SMEAR, EDGE_WRAP, EDGE_MIRROR, EDGE_NB } |
Functions | |
AVFILTER_DEFINE_CLASS (displace) | |
static int | query_formats (AVFilterContext *ctx) |
static void | displace_planar (DisplaceContext *s, const AVFrame *in, const AVFrame *xpic, const AVFrame *ypic, AVFrame *out) |
static void | displace_packed (DisplaceContext *s, const AVFrame *in, const AVFrame *xpic, const AVFrame *ypic, AVFrame *out) |
static int | process_frame (FFFrameSync *fs) |
static int | config_input (AVFilterLink *inlink) |
static int | config_output (AVFilterLink *outlink) |
static int | activate (AVFilterContext *ctx) |
static av_cold void | uninit (AVFilterContext *ctx) |
Variables | |
static const AVOption | displace_options [] |
static const AVFilterPad | displace_inputs [] |
static const AVFilterPad | displace_outputs [] |
AVFilter | ff_vf_displace |
#define OFFSET | ( | x | ) | offsetof(DisplaceContext, x) |
Definition at line 52 of file vf_displace.c.
#define FLAGS AV_OPT_FLAG_FILTERING_PARAM|AV_OPT_FLAG_VIDEO_PARAM |
Definition at line 53 of file vf_displace.c.
enum EdgeMode |
Enumerator | |
---|---|
EDGE_BLANK | |
EDGE_SMEAR | |
EDGE_WRAP | |
EDGE_MIRROR | |
EDGE_NB |
Definition at line 30 of file vf_displace.c.
AVFILTER_DEFINE_CLASS | ( | displace | ) |
|
static |
Definition at line 66 of file vf_displace.c.
|
static |
Definition at line 84 of file vf_displace.c.
Referenced by config_input().
|
static |
Definition at line 160 of file vf_displace.c.
Referenced by config_input().
|
static |
Definition at line 243 of file vf_displace.c.
Referenced by config_output().
|
static |
Definition at line 273 of file vf_displace.c.
|
static |
Definition at line 304 of file vf_displace.c.
|
static |
Definition at line 362 of file vf_displace.c.
|
static |
Definition at line 368 of file vf_displace.c.
|
static |
Definition at line 55 of file vf_displace.c.
|
static |
Definition at line 375 of file vf_displace.c.
|
static |
Definition at line 392 of file vf_displace.c.
AVFilter ff_vf_displace |
Definition at line 401 of file vf_displace.c.