FFmpeg
|
#include "libavutil/avassert.h"
#include "libavutil/cpu.h"
#include "libavutil/common.h"
#include "libavutil/opt.h"
#include "libavutil/pixdesc.h"
#include "avfilter.h"
#include "formats.h"
#include "internal.h"
#include "video.h"
#include "yadif.h"
#include <assert.h>
Go to the source code of this file.
Macros | |
#define | PERM_RWP AV_PERM_WRITE | AV_PERM_PRESERVE | AV_PERM_REUSE |
#define | CHECK(j) |
#define | FILTER(start, end) |
#define | OFFSET(x) offsetof(YADIFContext, 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}, INT_MIN, INT_MAX, FLAGS, unit } |
Functions | |
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, int l_edge) |
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, int l_edge) |
static void | filter (AVFilterContext *ctx, AVFilterBufferRef *dstpic, int parity, int tff) |
static int | return_frame (AVFilterContext *ctx, int is_second) |
static int | filter_frame (AVFilterLink *link, AVFilterBufferRef *picref) |
static int | request_frame (AVFilterLink *link) |
AVFILTER_DEFINE_CLASS (yadif) | |
static av_cold void | uninit (AVFilterContext *ctx) |
static int | query_formats (AVFilterContext *ctx) |
static av_cold int | init (AVFilterContext *ctx, const char *args) |
static int | config_props (AVFilterLink *link) |
Variables | |
static const AVOption | yadif_options [] |
static const AVFilterPad | avfilter_vf_yadif_inputs [] |
static const AVFilterPad | avfilter_vf_yadif_outputs [] |
AVFilter | avfilter_vf_yadif |
#define PERM_RWP AV_PERM_WRITE | AV_PERM_PRESERVE | AV_PERM_REUSE |
Definition at line 34 of file vf_yadif.c.
Referenced by filter_frame(), and return_frame().
#define CHECK | ( | j | ) |
Definition at line 36 of file vf_yadif.c.
#define FILTER | ( | start, | |
end | |||
) |
Definition at line 44 of file vf_yadif.c.
Referenced by filter_edges(), filter_edges_16bit(), filter_line_c(), and filter_line_c_16bit().
#define OFFSET | ( | x | ) | offsetof(YADIFContext, x) |
Definition at line 352 of file vf_yadif.c.
#define FLAGS AV_OPT_FLAG_VIDEO_PARAM|AV_OPT_FLAG_FILTERING_PARAM |
Definition at line 353 of file vf_yadif.c.
#define CONST | ( | name, | |
help, | |||
val, | |||
unit | |||
) | { name, help, 0, AV_OPT_TYPE_CONST, {.i64=val}, INT_MIN, INT_MAX, FLAGS, unit } |
Definition at line 355 of file vf_yadif.c.
|
static |
Definition at line 88 of file vf_yadif.c.
|
static |
Definition at line 103 of file vf_yadif.c.
|
static |
Definition at line 128 of file vf_yadif.c.
|
static |
Definition at line 146 of file vf_yadif.c.
|
static |
Definition at line 170 of file vf_yadif.c.
Referenced by return_frame().
|
static |
Definition at line 228 of file vf_yadif.c.
Referenced by filter_frame(), and request_frame().
|
static |
Definition at line 268 of file vf_yadif.c.
Referenced by request_frame().
|
static |
Definition at line 316 of file vf_yadif.c.
AVFILTER_DEFINE_CLASS | ( | yadif | ) |
|
static |
Definition at line 378 of file vf_yadif.c.
|
static |
Definition at line 388 of file vf_yadif.c.
|
static |
Definition at line 429 of file vf_yadif.c.
|
static |
Definition at line 447 of file vf_yadif.c.
|
static |
Definition at line 357 of file vf_yadif.c.
|
static |
Definition at line 480 of file vf_yadif.c.
|
static |
Definition at line 490 of file vf_yadif.c.
AVFilter avfilter_vf_yadif |
Definition at line 500 of file vf_yadif.c.