FFmpeg
|
#include "libavutil/opt.h"
#include "libavutil/pixdesc.h"
#include "libavutil/timestamp.h"
#include "avfilter.h"
#include "internal.h"
Go to the source code of this file.
Data Structures | |
struct | qitem |
struct | DecimateContext |
Macros | |
#define | INPUT_MAIN 0 |
#define | INPUT_CLEANSRC 1 |
#define | OFFSET(x) offsetof(DecimateContext, x) |
#define | FLAGS AV_OPT_FLAG_VIDEO_PARAM|AV_OPT_FLAG_FILTERING_PARAM |
#define | CALC_DIFF(nbits) |
#define | PF_NOALPHA(suf) AV_PIX_FMT_YUV420##suf, AV_PIX_FMT_YUV422##suf, AV_PIX_FMT_YUV444##suf |
#define | PF_ALPHA(suf) AV_PIX_FMT_YUVA420##suf, AV_PIX_FMT_YUVA422##suf, AV_PIX_FMT_YUVA444##suf |
#define | PF(suf) PF_NOALPHA(suf), PF_ALPHA(suf) |
Functions | |
AVFILTER_DEFINE_CLASS (decimate) | |
static void | calc_diffs (const DecimateContext *dm, struct qitem *q, const AVFrame *f1, const AVFrame *f2) |
static int | filter_frame (AVFilterLink *inlink, AVFrame *in) |
static int | config_input (AVFilterLink *inlink) |
static av_cold int | decimate_init (AVFilterContext *ctx) |
static av_cold void | decimate_uninit (AVFilterContext *ctx) |
static int | request_inlink (AVFilterContext *ctx, int lid) |
static int | request_frame (AVFilterLink *outlink) |
static int | query_formats (AVFilterContext *ctx) |
static int | config_output (AVFilterLink *outlink) |
Variables | |
static const AVOption | decimate_options [] |
static const AVFilterPad | decimate_outputs [] |
AVFilter | avfilter_vf_decimate |
#define INPUT_MAIN 0 |
Definition at line 28 of file vf_decimate.c.
Referenced by config_output(), decimate_init(), filter_frame(), and request_frame().
#define INPUT_CLEANSRC 1 |
Definition at line 29 of file vf_decimate.c.
Referenced by config_output(), decimate_init(), filter_frame(), and request_frame().
#define OFFSET | ( | x | ) | offsetof(DecimateContext, x) |
Definition at line 64 of file vf_decimate.c.
#define FLAGS AV_OPT_FLAG_VIDEO_PARAM|AV_OPT_FLAG_FILTERING_PARAM |
Definition at line 65 of file vf_decimate.c.
#define CALC_DIFF | ( | nbits | ) |
Referenced by calc_diffs().
#define PF_NOALPHA | ( | suf | ) | AV_PIX_FMT_YUV420##suf, AV_PIX_FMT_YUV422##suf, AV_PIX_FMT_YUV444##suf |
Referenced by query_formats().
#define PF_ALPHA | ( | suf | ) | AV_PIX_FMT_YUVA420##suf, AV_PIX_FMT_YUVA422##suf, AV_PIX_FMT_YUVA444##suf |
#define PF | ( | suf | ) | PF_NOALPHA(suf), PF_ALPHA(suf) |
Referenced by query_formats().
AVFILTER_DEFINE_CLASS | ( | decimate | ) |
|
static |
Definition at line 80 of file vf_decimate.c.
Referenced by filter_frame().
|
static |
Definition at line 145 of file vf_decimate.c.
Referenced by decimate_init(), and request_inlink().
|
static |
Definition at line 227 of file vf_decimate.c.
Referenced by decimate_init().
|
static |
Definition at line 260 of file vf_decimate.c.
|
static |
Definition at line 291 of file vf_decimate.c.
|
static |
Definition at line 304 of file vf_decimate.c.
Referenced by request_frame().
|
static |
Definition at line 320 of file vf_decimate.c.
|
static |
Definition at line 336 of file vf_decimate.c.
|
static |
Definition at line 351 of file vf_decimate.c.
|
static |
Definition at line 67 of file vf_decimate.c.
|
static |
Definition at line 377 of file vf_decimate.c.
AVFilter avfilter_vf_decimate |
Definition at line 387 of file vf_decimate.c.