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_props (AVFilterLink *link) |
|
◆ 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;\
Definition at line 41 of file vf_yadif.c.
◆ FILTER
#define FILTER |
( |
|
start, |
|
|
|
end, |
|
|
|
is_not_edge |
|
) |
| |
◆ MAX_ALIGN
◆ filter_line_c()
static void filter_line_c |
( |
void * |
dst1, |
|
|
void * |
prev1, |
|
|
void * |
cur1, |
|
|
void * |
next1, |
|
|
int |
w, |
|
|
int |
prefs, |
|
|
int |
mrefs, |
|
|
int |
parity, |
|
|
int |
mode |
|
) |
| |
|
static |
◆ filter_edges()
static void filter_edges |
( |
void * |
dst1, |
|
|
void * |
prev1, |
|
|
void * |
cur1, |
|
|
void * |
next1, |
|
|
int |
w, |
|
|
int |
prefs, |
|
|
int |
mrefs, |
|
|
int |
parity, |
|
|
int |
mode |
|
) |
| |
|
static |
◆ filter_line_c_16bit()
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 |
◆ filter_edges_16bit()
static void filter_edges_16bit |
( |
void * |
dst1, |
|
|
void * |
prev1, |
|
|
void * |
cur1, |
|
|
void * |
next1, |
|
|
int |
w, |
|
|
int |
prefs, |
|
|
int |
mrefs, |
|
|
int |
parity, |
|
|
int |
mode |
|
) |
| |
|
static |
◆ filter_slice()
◆ filter()
◆ uninit()
◆ query_formats()
◆ config_props()
◆ yadif_class
Initial value:= {
.class_name = "yadif",
}
Definition at line 354 of file vf_yadif.c.
◆ avfilter_vf_yadif_inputs
Initial value:= {
{
.name = "default",
},
}
Definition at line 362 of file vf_yadif.c.
◆ avfilter_vf_yadif_outputs
Initial value:= {
{
.name = "default",
},
}
Definition at line 371 of file vf_yadif.c.
◆ ff_vf_yadif
static int query_formats(AVFilterContext *ctx)
static const AVFilterPad avfilter_vf_yadif_inputs[]
static av_cold void uninit(AVFilterContext *ctx)
static const AVFilterPad outputs[]
#define FFABS(a)
Absolute value, Note, INT_MIN / INT64_MIN result in undefined behavior as they are not representable ...
#define LIBAVUTIL_VERSION_INT
const char * av_default_item_name(void *ptr)
Return the context name.
these buffered frames must be flushed immediately if a new input produces new the filter must not call request_frame to get more It must just process the frame or queue it The task of requesting more frames is left to the filter s request_frame method or the application If a filter has several inputs
@ AV_CLASS_CATEGORY_FILTER
const AVOption ff_yadif_options[]
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification.
static const AVFilterPad avfilter_vf_yadif_outputs[]
int ff_yadif_request_frame(AVFilterLink *link)
#define AVFILTER_FLAG_SLICE_THREADS
The filter supports multithreading by splitting frames into multiple parts and processing them concur...
static int config_props(AVFilterLink *link)
static const AVClass yadif_class
#define AVFILTER_FLAG_SUPPORT_TIMELINE_INTERNAL
Same as AVFILTER_FLAG_SUPPORT_TIMELINE_GENERIC, except that the filter will have its filter_frame() c...
#define flags(name, subs,...)
int ff_yadif_filter_frame(AVFilterLink *link, AVFrame *frame)