Go to the source code of this file.
|
#define | OFFSET(x) offsetof(W3FDIFContext, 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 } |
|
|
| AVFILTER_DEFINE_CLASS (w3fdif) |
|
static int | query_formats (AVFilterContext *ctx) |
|
static void | filter_simple_low (int32_t *work_line, uint8_t *in_lines_cur[2], const int16_t *coef, int linesize) |
|
static void | filter_complex_low (int32_t *work_line, uint8_t *in_lines_cur[4], const int16_t *coef, int linesize) |
|
static void | filter_simple_high (int32_t *work_line, uint8_t *in_lines_cur[3], uint8_t *in_lines_adj[3], const int16_t *coef, int linesize) |
|
static void | filter_complex_high (int32_t *work_line, uint8_t *in_lines_cur[5], uint8_t *in_lines_adj[5], const int16_t *coef, int linesize) |
|
static void | filter_scale (uint8_t *out_pixel, const int32_t *work_pixel, int linesize) |
|
static int | config_input (AVFilterLink *inlink) |
|
static int | config_output (AVFilterLink *outlink) |
|
static int | deinterlace_slice (AVFilterContext *ctx, void *arg, int jobnr, int nb_jobs) |
|
static int | filter (AVFilterContext *ctx, int is_second) |
|
static int | filter_frame (AVFilterLink *inlink, AVFrame *frame) |
|
static int | request_frame (AVFilterLink *outlink) |
|
static av_cold void | uninit (AVFilterContext *ctx) |
|
#define CONST |
( |
|
name, |
|
|
|
help, |
|
|
|
val, |
|
|
|
unit |
|
) |
| { name, help, 0, AV_OPT_TYPE_CONST, {.i64=val}, 0, 0, FLAGS, unit } |
AVFILTER_DEFINE_CLASS |
( |
w3fdif |
| ) |
|
static void filter_simple_low |
( |
int32_t * |
work_line, |
|
|
uint8_t * |
in_lines_cur[2], |
|
|
const int16_t * |
coef, |
|
|
int |
linesize |
|
) |
| |
|
static |
static void filter_complex_low |
( |
int32_t * |
work_line, |
|
|
uint8_t * |
in_lines_cur[4], |
|
|
const int16_t * |
coef, |
|
|
int |
linesize |
|
) |
| |
|
static |
static void filter_simple_high |
( |
int32_t * |
work_line, |
|
|
uint8_t * |
in_lines_cur[3], |
|
|
uint8_t * |
in_lines_adj[3], |
|
|
const int16_t * |
coef, |
|
|
int |
linesize |
|
) |
| |
|
static |
static void filter_complex_high |
( |
int32_t * |
work_line, |
|
|
uint8_t * |
in_lines_cur[5], |
|
|
uint8_t * |
in_lines_adj[5], |
|
|
const int16_t * |
coef, |
|
|
int |
linesize |
|
) |
| |
|
static |
static void filter_scale |
( |
uint8_t * |
out_pixel, |
|
|
const int32_t * |
work_pixel, |
|
|
int |
linesize |
|
) |
| |
|
static |
Initial value:= {
CONST(
"all",
"deinterlace all frames", 0,
"deint"),
CONST(
"interlaced",
"only deinterlace frames marked as interlaced", 1,
"deint"),
}
static int filter(AVFilterContext *ctx, int is_second)
#define CONST(name, help, val, unit)
Definition at line 54 of file vf_w3fdif.c.
const int8_t n_coef_lf[2] = { 2, 4 } |
|
static |
const int16_t coef_lf[2][4] |
|
static |
const int8_t n_coef_hf[2] = { 3, 5 } |
|
static |
const int16_t coef_hf[2][5] |
|
static |
Initial value:= {
{
.name = "default",
},
}
static int config_input(AVFilterLink *inlink)
static int filter_frame(AVFilterLink *inlink, AVFrame *frame)
Definition at line 450 of file vf_w3fdif.c.
Initial value:= {
{
.name = "default",
},
}
static int config_output(AVFilterLink *outlink)
static int request_frame(AVFilterLink *outlink)
Definition at line 460 of file vf_w3fdif.c.
Initial value:= {
.name = "w3fdif",
.priv_class = &w3fdif_class,
}
static int query_formats(AVFilterContext *ctx)
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
#define AVFILTER_FLAG_SLICE_THREADS
The filter supports multithreading by splitting frames into multiple parts and processing them concur...
static const AVFilterPad outputs[]
static const AVFilterPad inputs[]
#define AVFILTER_FLAG_SUPPORT_TIMELINE_INTERNAL
Same as AVFILTER_FLAG_SUPPORT_TIMELINE_GENERIC, except that the filter will have its filter_frame() c...
static const AVFilterPad w3fdif_inputs[]
static const AVFilterPad w3fdif_outputs[]
static av_cold void uninit(AVFilterContext *ctx)
Definition at line 470 of file vf_w3fdif.c.