#include "config_components.h"
#include "libavutil/avstring.h"
#include "libavutil/imgutils.h"
#include "libavutil/mem.h"
#include "libavutil/opt.h"
#include "libavutil/pixdesc.h"
#include "avfilter.h"
#include "filters.h"
#include "formats.h"
#include "framesync.h"
#include "video.h"
Go to the source code of this file.
|
#define | FAST_TMIX_SLICE(type, stype, round) |
|
#define | MIX_SLICE(type, fun, clip) |
|
#define | CLIP8(x, min, max) av_clip_uint8(x) |
|
#define | CLIP16(x, min, max) av_clip(x, min, max) |
|
#define | CLIPF(x, min, max) (x) |
|
#define | NOP(x) (x) |
|
#define | OFFSET(x) offsetof(MixContext, x) |
|
#define | FLAGS AV_OPT_FLAG_VIDEO_PARAM | AV_OPT_FLAG_FILTERING_PARAM |
|
#define | TFLAGS AV_OPT_FLAG_VIDEO_PARAM | AV_OPT_FLAG_FILTERING_PARAM | AV_OPT_FLAG_RUNTIME_PARAM |
|
|
static int | query_formats (const AVFilterContext *ctx, AVFilterFormatsConfig **cfg_in, AVFilterFormatsConfig **cfg_out) |
|
static int | parse_weights (AVFilterContext *ctx) |
|
static av_cold int | init (AVFilterContext *ctx) |
|
static int | mix_frames (AVFilterContext *ctx, void *arg, int jobnr, int nb_jobs) |
|
static int | process_frame (FFFrameSync *fs) |
|
static int | config_output (AVFilterLink *outlink) |
|
static av_cold void | uninit (AVFilterContext *ctx) |
|
static int | process_command (AVFilterContext *ctx, const char *cmd, const char *args, char *res, int res_len, int flags) |
|
static int | activate (AVFilterContext *ctx) |
|
◆ FAST_TMIX_SLICE
#define FAST_TMIX_SLICE |
( |
|
type, |
|
|
|
stype, |
|
|
|
round |
|
) |
| |
◆ MIX_SLICE
◆ CLIP8
◆ CLIP16
◆ CLIPF
#define CLIPF |
( |
|
x, |
|
|
|
min, |
|
|
|
max |
|
) |
| (x) |
◆ NOP
◆ OFFSET
◆ FLAGS
◆ TFLAGS
◆ query_formats()
◆ parse_weights()
◆ init()
◆ mix_frames()
static int mix_frames |
( |
AVFilterContext * |
ctx, |
|
|
void * |
arg, |
|
|
int |
jobnr, |
|
|
int |
nb_jobs |
|
) |
| |
|
static |
◆ process_frame()
◆ config_output()
◆ uninit()
◆ process_command()
static int process_command |
( |
AVFilterContext * |
ctx, |
|
|
const char * |
cmd, |
|
|
const char * |
args, |
|
|
char * |
res, |
|
|
int |
res_len, |
|
|
int |
flags |
|
) |
| |
|
static |
◆ activate()
◆ mix_options
Initial value:= {
{
"shortest",
"Duration of shortest input", 0,
AV_OPT_TYPE_CONST, {.i64=1}, 0, 0,
FLAGS, .unit =
"duration" },
}
Definition at line 439 of file vf_mix.c.
◆ outputs
Initial value:= {
{
.name = "default",
},
}
Definition at line 451 of file vf_mix.c.
static void scale(int *out, const int *in, const int w, const int h, const int shift)