FFmpeg
|
#include "motion_estimation.h"
#include "libavcodec/mathops.h"
#include "libavutil/avassert.h"
#include "libavutil/common.h"
#include "libavutil/imgutils.h"
#include "libavutil/opt.h"
#include "libavutil/pixdesc.h"
#include "libavutil/motion_vector.h"
#include "avfilter.h"
#include "formats.h"
#include "internal.h"
#include "video.h"
Go to the source code of this file.
Data Structures | |
struct | MEContext |
Copyright (c) 2016 Davinder Singh (DSM_) <ds.mudhar<.com> More... | |
Macros | |
#define | OFFSET(x) offsetof(MEContext, x) |
#define | FLAGS AV_OPT_FLAG_VIDEO_PARAM|AV_OPT_FLAG_FILTERING_PARAM |
#define | CONST(name, help, val, unit) { name, help, 0, AV_OPT_TYPE_CONST, {.i64=val}, 0, 0, FLAGS, unit } |
#define | SEARCH_MV(method) |
#define | ADD_PRED(preds, px, py) |
Functions | |
AVFILTER_DEFINE_CLASS (mestimate) | |
static int | query_formats (AVFilterContext *ctx) |
static int | config_input (AVFilterLink *inlink) |
static void | add_mv_data (AVMotionVector *mv, int mb_size, int x, int y, int x_mv, int y_mv, int dir) |
static int | filter_frame (AVFilterLink *inlink, AVFrame *frame) |
static av_cold void | uninit (AVFilterContext *ctx) |
Variables | |
static const AVOption | mestimate_options [] |
static const AVFilterPad | mestimate_inputs [] |
static const AVFilterPad | mestimate_outputs [] |
AVFilter | ff_vf_mestimate |
#define OFFSET | ( | x | ) | offsetof(MEContext, x) |
Definition at line 49 of file vf_mestimate.c.
#define FLAGS AV_OPT_FLAG_VIDEO_PARAM|AV_OPT_FLAG_FILTERING_PARAM |
Definition at line 50 of file vf_mestimate.c.
#define CONST | ( | name, | |
help, | |||
val, | |||
unit | |||
) | { name, help, 0, AV_OPT_TYPE_CONST, {.i64=val}, 0, 0, FLAGS, unit } |
Definition at line 51 of file vf_mestimate.c.
#define SEARCH_MV | ( | method | ) |
Definition at line 127 of file vf_mestimate.c.
Referenced by filter_frame().
#define ADD_PRED | ( | preds, | |
px, | |||
py | |||
) |
Definition at line 139 of file vf_mestimate.c.
Referenced by filter_frame().
AVFILTER_DEFINE_CLASS | ( | mestimate | ) |
|
static |
Definition at line 71 of file vf_mestimate.c.
|
static |
Definition at line 91 of file vf_mestimate.c.
|
static |
Definition at line 114 of file vf_mestimate.c.
Referenced by filter_frame().
|
static |
Definition at line 146 of file vf_mestimate.c.
|
static |
Definition at line 337 of file vf_mestimate.c.
|
static |
Definition at line 53 of file vf_mestimate.c.
|
static |
Definition at line 350 of file vf_mestimate.c.
|
static |
Definition at line 360 of file vf_mestimate.c.
AVFilter ff_vf_mestimate |
Definition at line 368 of file vf_mestimate.c.