Go to the source code of this file.
|
static void | filter_line_c (void *dst1, void *prev1, void *cur1, void *next1, int w, int prefs, int mrefs, int parity, int mode) |
|
static void | filter_edges (void *dst1, void *prev1, void *cur1, void *next1, int w, int prefs, int mrefs, int parity, int mode) |
|
static void | filter_line_c_16bit (void *dst1, void *prev1, void *cur1, void *next1, int w, int prefs, int mrefs, int parity, int mode) |
|
static void | filter_edges_16bit (void *dst1, void *prev1, void *cur1, void *next1, int w, int prefs, int mrefs, int parity, int mode) |
|
static int | filter_slice (AVFilterContext *ctx, void *arg, int jobnr, int nb_jobs) |
|
static void | filter (AVFilterContext *ctx, AVFrame *dstpic, int parity, int tff) |
|
static av_cold void | uninit (AVFilterContext *ctx) |
|
static int | query_formats (AVFilterContext *ctx) |
|
static int | config_output (AVFilterLink *outlink) |
|
◆ CHECK
Value: {
int score =
FFABS(cur[mrefs - 1 + (j)] - cur[prefs - 1 - (j)])\
+
FFABS(cur[mrefs +(j)] - cur[prefs -(j)])\
+
FFABS(cur[mrefs + 1 + (j)] - cur[prefs + 1 - (j)]);\
if (score < spatial_score) {\
spatial_score= score;\
spatial_pred= (cur[mrefs +(j)] + cur[prefs -(j)])>>1;\
#define FFABS(a)
Absolute value, Note, INT_MIN / INT64_MIN result in undefined behavior as they are not representable ...
Definition at line 41 of file vf_yadif.c.
◆ FILTER
#define FILTER |
( |
|
start, |
|
|
|
end, |
|
|
|
is_not_edge |
|
) |
| |
◆ MAX_ALIGN
◆ filter_line_c()
◆ filter_edges()
◆ filter_line_c_16bit()
◆ filter_edges_16bit()
◆ filter_slice()
◆ filter()
◆ uninit()
◆ query_formats()
◆ config_output()
◆ yadif_class
Initial value:= {
.class_name = "yadif",
}
const char * av_default_item_name(void *ptr)
Return the context name.
#define LIBAVUTIL_VERSION_INT
@ AV_CLASS_CATEGORY_FILTER
const AVOption ff_yadif_options[]
Definition at line 327 of file vf_yadif.c.
◆ avfilter_vf_yadif_inputs
Initial value:= {
{
.name = "default",
},
}
int ff_yadif_filter_frame(AVFilterLink *link, AVFrame *frame)
Definition at line 335 of file vf_yadif.c.
◆ avfilter_vf_yadif_outputs
Initial value:= {
{
.name = "default",
},
}
static int config_output(AVFilterLink *outlink)
int ff_yadif_request_frame(AVFilterLink *link)
Definition at line 344 of file vf_yadif.c.
◆ ff_vf_yadif
Initial value:= {
.name = "yadif",
}
static const AVFilterPad inputs[]
static const AVFilterPad outputs[]
#define flags(name, subs,...)
#define AVFILTER_FLAG_SLICE_THREADS
The filter supports multithreading by splitting frames into multiple parts and processing them concur...
#define AVFILTER_FLAG_SUPPORT_TIMELINE_INTERNAL
Same as AVFILTER_FLAG_SUPPORT_TIMELINE_GENERIC, except that the filter will have its filter_frame() c...
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification.
static int query_formats(AVFilterContext *ctx)
static av_cold void uninit(AVFilterContext *ctx)
static const AVFilterPad avfilter_vf_yadif_outputs[]
static const AVFilterPad avfilter_vf_yadif_inputs[]
static const AVClass yadif_class
Definition at line 354 of file vf_yadif.c.