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, unit) { name, help, 0, AV_OPT_TYPE_CONST, {.i64=val}, 0, 0, FLAGS, unit } |
|
#define | SEARCH_MV(method) |
|
#define | ADD_PRED(preds, px, py) |
|
◆ OFFSET
◆ FLAGS
◆ CONST
#define CONST |
( |
|
name, |
|
|
|
help, |
|
|
|
val, |
|
|
|
unit |
|
) |
| { name, help, 0, AV_OPT_TYPE_CONST, {.i64=val}, 0, 0, FLAGS, unit } |
◆ 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 121 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 133 of file vf_mestimate.c.
◆ AVFILTER_DEFINE_CLASS()
AVFILTER_DEFINE_CLASS |
( |
mestimate |
| ) |
|
◆ config_input()
◆ add_mv_data()
◆ filter_frame()
◆ uninit()
◆ mestimate_options
◆ pix_fmts
◆ mestimate_inputs
Initial value:= {
{
.name = "default",
},
}
Definition at line 344 of file vf_mestimate.c.
◆ mestimate_outputs
Initial value:= {
{
.name = "default",
},
}
Definition at line 353 of file vf_mestimate.c.
◆ ff_vf_mestimate
Initial value:= {
.name = "mestimate",
.priv_class = &mestimate_class,
}
Definition at line 360 of file vf_mestimate.c.
#define FILTER_PIXFMTS_ARRAY(array)
static const int8_t mv[256][2]
static const AVFilterPad mestimate_outputs[]
@ 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 ...
@ 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)
#define CONST(name, help, val, unit)
@ AV_PIX_FMT_YUV420P
planar YUV 4:2:0, 12bpp, (1 Cr & Cb sample per 2x2 Y samples)
#define FILTER_INPUTS(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)
#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
#define FILTER_OUTPUTS(array)
@ 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)