FFmpeg
|
#include "libavutil/common.h"
#include "libavutil/imgutils.h"
#include "libavutil/opt.h"
#include "libavutil/pixdesc.h"
#include "avfilter.h"
#include "formats.h"
#include "internal.h"
#include "video.h"
#include "w3fdif.h"
Go to the source code of this file.
Data Structures | |
struct | W3FDIFContext |
struct | ThreadData |
Used for passing data between threads. More... | |
Macros | |
#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 } |
Functions | |
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, int max) |
static void | filter16_simple_low (int32_t *work_line, uint8_t *in_lines_cur8[2], const int16_t *coef, int linesize) |
static void | filter16_complex_low (int32_t *work_line, uint8_t *in_lines_cur8[4], const int16_t *coef, int linesize) |
static void | filter16_simple_high (int32_t *work_line, uint8_t *in_lines_cur8[3], uint8_t *in_lines_adj8[3], const int16_t *coef, int linesize) |
static void | filter16_complex_high (int32_t *work_line, uint8_t *in_lines_cur8[5], uint8_t *in_lines_adj8[5], const int16_t *coef, int linesize) |
static void | filter16_scale (uint8_t *out_pixel8, const int32_t *work_pixel, int linesize, int max) |
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) |
Variables | |
static const AVOption | w3fdif_options [] |
static 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 const AVFilterPad | w3fdif_inputs [] |
static const AVFilterPad | w3fdif_outputs [] |
AVFilter | ff_vf_w3fdif |
#define OFFSET | ( | x | ) | offsetof(W3FDIFContext, x) |
Definition at line 51 of file vf_w3fdif.c.
#define FLAGS AV_OPT_FLAG_VIDEO_PARAM|AV_OPT_FLAG_FILTERING_PARAM |
Definition at line 52 of file vf_w3fdif.c.
#define CONST | ( | name, | |
help, | |||
val, | |||
unit | |||
) | { name, help, 0, AV_OPT_TYPE_CONST, {.i64=val}, 0, 0, FLAGS, unit } |
Definition at line 53 of file vf_w3fdif.c.
AVFILTER_DEFINE_CLASS | ( | w3fdif | ) |
|
static |
Definition at line 67 of file vf_w3fdif.c.
|
static |
Definition at line 93 of file vf_w3fdif.c.
Referenced by config_input().
|
static |
Definition at line 105 of file vf_w3fdif.c.
Referenced by config_input().
|
static |
Definition at line 119 of file vf_w3fdif.c.
Referenced by config_input().
|
static |
Definition at line 136 of file vf_w3fdif.c.
Referenced by config_input().
|
static |
Definition at line 157 of file vf_w3fdif.c.
Referenced by config_input().
|
static |
Definition at line 165 of file vf_w3fdif.c.
Referenced by config_input().
|
static |
Definition at line 179 of file vf_w3fdif.c.
Referenced by config_input().
|
static |
Definition at line 198 of file vf_w3fdif.c.
Referenced by config_input().
|
static |
Definition at line 222 of file vf_w3fdif.c.
Referenced by config_input().
|
static |
Definition at line 254 of file vf_w3fdif.c.
Referenced by config_input().
|
static |
Definition at line 264 of file vf_w3fdif.c.
|
static |
Definition at line 316 of file vf_w3fdif.c.
|
static |
Definition at line 348 of file vf_w3fdif.c.
Referenced by filter().
|
static |
Definition at line 453 of file vf_w3fdif.c.
Referenced by deinterlace_slice(), and filter_frame().
|
static |
Definition at line 493 of file vf_w3fdif.c.
Referenced by request_frame().
|
static |
Definition at line 531 of file vf_w3fdif.c.
|
static |
Definition at line 556 of file vf_w3fdif.c.
|
static |
Definition at line 55 of file vf_w3fdif.c.
|
static |
Definition at line 336 of file vf_w3fdif.c.
Referenced by deinterlace_slice().
|
static |
Definition at line 337 of file vf_w3fdif.c.
Referenced by deinterlace_slice().
|
static |
Definition at line 339 of file vf_w3fdif.c.
Referenced by deinterlace_slice().
|
static |
Definition at line 340 of file vf_w3fdif.c.
Referenced by deinterlace_slice().
|
static |
Definition at line 571 of file vf_w3fdif.c.
|
static |
Definition at line 581 of file vf_w3fdif.c.
AVFilter ff_vf_w3fdif |
Definition at line 591 of file vf_w3fdif.c.