Go to the source code of this file.
|
struct | MEContext |
| Copyright (c) 2016 Davinder Singh (DSM_) <ds.mudhar<@gmail.com> More...
|
|
|
#define | OFFSET(x) offsetof(MEContext, x) |
|
#define | FLAGS AV_OPT_FLAG_VIDEO_PARAM|AV_OPT_FLAG_FILTERING_PARAM |
|
#define | CONST(name, help, val, u) { name, help, 0, AV_OPT_TYPE_CONST, {.i64=val}, 0, 0, FLAGS, .unit = u } |
|
#define | SEARCH_MV(method) |
|
#define | ADD_PRED(preds, px, py) |
|
◆ OFFSET
◆ FLAGS
◆ CONST
#define CONST |
( |
|
name, |
|
|
|
help, |
|
|
|
val, |
|
|
|
u |
|
) |
| { name, help, 0, AV_OPT_TYPE_CONST, {.i64=val}, 0, 0, FLAGS, .unit = u } |
◆ SEARCH_MV
#define SEARCH_MV |
( |
|
method | ) |
|
Value: do {\
for (mb_y = 0; mb_y <
s->b_height; mb_y++)\
for (mb_x = 0; mb_x <
s->b_width; mb_x++) {\
const
int x_mb = mb_x <<
s->log2_mb_size;\
const
int y_mb = mb_y <<
s->log2_mb_size;\
int
mv[2] = {x_mb, y_mb};\
ff_me_search_##method(me_ctx, x_mb, y_mb,
mv);\
add_mv_data(((
AVMotionVector *) sd->data) + mv_count++, me_ctx->mb_size, x_mb, y_mb,
mv[0],
mv[1], dir);\
}\
} while (0)
Definition at line 119 of file vf_mestimate.c.
◆ ADD_PRED
#define ADD_PRED |
( |
|
preds, |
|
|
|
px, |
|
|
|
py |
|
) |
| |
Value: do {\
preds.mvs[preds.nb][0] = px;\
preds.mvs[preds.nb][1] = py;\
preds.nb++;\
} while(0)
Definition at line 131 of file vf_mestimate.c.
◆ AVFILTER_DEFINE_CLASS()
AVFILTER_DEFINE_CLASS |
( |
mestimate |
| ) |
|
◆ config_input()
◆ add_mv_data()
static void add_mv_data |
( |
AVMotionVector * |
mv, |
|
|
int |
mb_size, |
|
|
int |
x, |
|
|
int |
y, |
|
|
int |
x_mv, |
|
|
int |
y_mv, |
|
|
int |
dir |
|
) |
| |
|
static |
◆ filter_frame()
◆ uninit()
◆ mestimate_options
◆ pix_fmts
◆ mestimate_inputs
Initial value:= {
{
.name = "default",
},
}
Definition at line 342 of file vf_mestimate.c.
◆ ff_vf_mestimate
Initial value:= {
.name = "mestimate",
.priv_class = &mestimate_class,
}
Definition at line 351 of file vf_mestimate.c.
#define FILTER_PIXFMTS_ARRAY(array)
static const int8_t mv[256][2]
#define FILTER_INPUTS(array)
@ AV_PIX_FMT_YUV440P
planar YUV 4:4:0 (1 Cr & Cb sample per 1x2 Y samples)
Copyright (c) 2016 Davinder Singh (DSM_) <ds.mudhar<@gmail.com>
static int config_input(AVFilterLink *inlink)
#define AV_ME_METHOD_ESA
Copyright (c) 2016 Davinder Singh (DSM_) <ds.mudhar<@gmail.com>
@ AV_PIX_FMT_YUVJ411P
planar YUV 4:1:1, 12bpp, (1 Cr & Cb sample per 4x1 Y samples) full scale (JPEG), deprecated in favor ...
const AVFilterPad ff_video_default_filterpad[1]
An AVFilterPad array whose only entry has name "default" and is of type AVMEDIA_TYPE_VIDEO.
@ AV_PIX_FMT_YUVJ422P
planar YUV 4:2:2, 16bpp, full scale (JPEG), deprecated in favor of AV_PIX_FMT_YUV422P and setting col...
@ AV_PIX_FMT_YUVA420P
planar YUV 4:2:0, 20bpp, (1 Cr & Cb sample per 2x2 Y & A samples)
@ AV_PIX_FMT_YUV420P
planar YUV 4:2:0, 12bpp, (1 Cr & Cb sample per 2x2 Y samples)
#define FILTER_OUTPUTS(array)
@ AV_PIX_FMT_YUVJ444P
planar YUV 4:4:4, 24bpp, full scale (JPEG), deprecated in favor of AV_PIX_FMT_YUV444P and setting col...
static const AVFilterPad mestimate_inputs[]
@ AV_PIX_FMT_YUVJ420P
planar YUV 4:2:0, 12bpp, full scale (JPEG), deprecated in favor of AV_PIX_FMT_YUV420P and setting col...
@ AV_PIX_FMT_GRAY8
Y , 8bpp.
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification.
@ AV_PIX_FMT_YUVA444P
planar YUV 4:4:4 32bpp, (1 Cr & Cb sample per 1x1 Y & A samples)
#define AV_ME_METHOD_EPZS
static enum AVPixelFormat pix_fmts[]
#define AV_ME_METHOD_HEXBS
@ AV_PIX_FMT_YUVJ440P
planar YUV 4:4:0 full scale (JPEG), deprecated in favor of AV_PIX_FMT_YUV440P and setting color_range
static av_cold void uninit(AVFilterContext *ctx)
@ AV_OPT_TYPE_INT
Underlying C type is int.
#define AVFILTER_FLAG_METADATA_ONLY
The filter is a "metadata" filter - it does not modify the frame data in any way.
@ AV_PIX_FMT_YUV444P
planar YUV 4:4:4, 24bpp, (1 Cr & Cb sample per 1x1 Y samples)
@ AV_PIX_FMT_YUV422P
planar YUV 4:2:2, 16bpp, (1 Cr & Cb sample per 2x1 Y samples)
#define AV_ME_METHOD_NTSS
@ AV_PIX_FMT_YUV411P
planar YUV 4:1:1, 12bpp, (1 Cr & Cb sample per 4x1 Y samples)
#define flags(name, subs,...)
@ AV_PIX_FMT_YUV410P
planar YUV 4:1:0, 9bpp, (1 Cr & Cb sample per 4x4 Y samples)
#define AV_ME_METHOD_TDLS
static int filter_frame(AVFilterLink *inlink, AVFrame *frame)
@ AV_PIX_FMT_YUVA422P
planar YUV 4:2:2 24bpp, (1 Cr & Cb sample per 2x1 Y & A samples)
#define CONST(name, help, val, u)