FFmpeg
|
#include "libavutil/avassert.h"
#include "libavutil/avstring.h"
#include "libavutil/common.h"
#include "libavutil/eval.h"
#include "libavutil/opt.h"
#include "libavutil/pixdesc.h"
#include "avfilter.h"
#include "drawutils.h"
#include "formats.h"
#include "internal.h"
#include "video.h"
Go to the source code of this file.
Data Structures | |
struct | FadeContext |
Macros | |
#define | R 0 |
#define | G 1 |
#define | B 2 |
#define | A 3 |
#define | Y 0 |
#define | U 1 |
#define | V 2 |
#define | FADE_IN 0 |
#define | FADE_OUT 1 |
#define | INTERP(c_name, c_idx) av_clip_uint8(((c[c_idx]<<16) + ((int)p[c_name] - (int)c[c_idx]) * s->factor + (1<<15)) >> 16) |
#define | INTERPP(c_name, c_idx) av_clip_uint8(((c[c_idx]<<16) + ((int)c_name - (int)c[c_idx]) * s->factor + (1<<15)) >> 16) |
#define | OFFSET(x) offsetof(FadeContext, x) |
#define | FLAGS AV_OPT_FLAG_VIDEO_PARAM|AV_OPT_FLAG_FILTERING_PARAM |
Variables | |
const static enum AVPixelFormat | studio_level_pix_fmts [] |
static const AVOption | fade_options [] |
static const AVFilterPad | avfilter_vf_fade_inputs [] |
static const AVFilterPad | avfilter_vf_fade_outputs [] |
const AVFilter | ff_vf_fade |
video fade filter based heavily on vf_negate.c by Bobby Bingham
Definition in file vf_fade.c.
#define INTERP | ( | c_name, | |
c_idx | |||
) | av_clip_uint8(((c[c_idx]<<16) + ((int)p[c_name] - (int)c[c_idx]) * s->factor + (1<<15)) >> 16) |
#define INTERPP | ( | c_name, | |
c_idx | |||
) | av_clip_uint8(((c[c_idx]<<16) + ((int)c_name - (int)c[c_idx]) * s->factor + (1<<15)) >> 16) |
#define OFFSET | ( | x | ) | offsetof(FadeContext, x) |
#define FLAGS AV_OPT_FLAG_VIDEO_PARAM|AV_OPT_FLAG_FILTERING_PARAM |
|
static |
|
static |
|
static |
Definition at line 184 of file vf_fade.c.
Referenced by filter_slice_rgb().
|
static |
Definition at line 209 of file vf_fade.c.
Referenced by filter_slice_rgb().
|
static |
Definition at line 232 of file vf_fade.c.
Referenced by filter_frame().
|
static |
Definition at line 252 of file vf_fade.c.
Referenced by config_input().
|
static |
Definition at line 277 of file vf_fade.c.
Referenced by config_input().
|
static |
Definition at line 302 of file vf_fade.c.
Referenced by config_input().
|
static |
Definition at line 329 of file vf_fade.c.
Referenced by config_input().
|
static |
Definition at line 355 of file vf_fade.c.
Referenced by config_input().
|
static |
Definition at line 380 of file vf_fade.c.
Referenced by config_input().
|
static |
|
static |
AVFILTER_DEFINE_CLASS | ( | fade | ) |
|
static |
|
static |
|
static |
|
static |
const AVFilter ff_vf_fade |