FFmpeg
|
#include <float.h>
#include "libavutil/mem.h"
#include "libavutil/opt.h"
#include "libavutil/pixdesc.h"
#include "avfilter.h"
#include "drawutils.h"
#include "filters.h"
#include "video.h"
#include "preserve_color.h"
#include "colorchannelmixer_template.c"
Go to the source code of this file.
Data Structures | |
struct | ThreadData |
Used for passing data between threads. More... | |
struct | ColorChannelMixerContext |
Macros | |
#define | R 0 |
#define | G 1 |
#define | B 2 |
#define | A 3 |
#define | DEPTH 8 |
#define | DEPTH 16 |
#define | DEPTH 32 |
#define | OFFSET(x) offsetof(ColorChannelMixerContext, x) |
#define | FLAGS AV_OPT_FLAG_FILTERING_PARAM|AV_OPT_FLAG_VIDEO_PARAM|AV_OPT_FLAG_RUNTIME_PARAM |
Functions | |
static float | lerpf (float v0, float v1, float f) |
static void | preservel (float *r, float *g, float *b, float lin, float lout, float max) |
AVFILTER_DEFINE_CLASS (colorchannelmixer) | |
static int | filter_slice_gbrp (AVFilterContext *ctx, void *arg, int jobnr, int nb_jobs) |
static int | filter_slice_gbrap (AVFilterContext *ctx, void *arg, int jobnr, int nb_jobs) |
static int | filter_slice_gbrp_pl (AVFilterContext *ctx, void *arg, int jobnr, int nb_jobs) |
static int | filter_slice_gbrap_pl (AVFilterContext *ctx, void *arg, int jobnr, int nb_jobs) |
static int | filter_slice_gbrp9 (AVFilterContext *ctx, void *arg, int jobnr, int nb_jobs) |
static int | filter_slice_gbrp10 (AVFilterContext *ctx, void *arg, int jobnr, int nb_jobs) |
static int | filter_slice_gbrap10 (AVFilterContext *ctx, void *arg, int jobnr, int nb_jobs) |
static int | filter_slice_gbrp12 (AVFilterContext *ctx, void *arg, int jobnr, int nb_jobs) |
static int | filter_slice_gbrap12 (AVFilterContext *ctx, void *arg, int jobnr, int nb_jobs) |
static int | filter_slice_gbrp14 (AVFilterContext *ctx, void *arg, int jobnr, int nb_jobs) |
static int | filter_slice_gbrp16 (AVFilterContext *ctx, void *arg, int jobnr, int nb_jobs) |
static int | filter_slice_gbrap16 (AVFilterContext *ctx, void *arg, int jobnr, int nb_jobs) |
static int | filter_slice_gbrp9_pl (AVFilterContext *ctx, void *arg, int jobnr, int nb_jobs) |
static int | filter_slice_gbrp10_pl (AVFilterContext *ctx, void *arg, int jobnr, int nb_jobs) |
static int | filter_slice_gbrap10_pl (AVFilterContext *ctx, void *arg, int jobnr, int nb_jobs) |
static int | filter_slice_gbrp12_pl (AVFilterContext *ctx, void *arg, int jobnr, int nb_jobs) |
static int | filter_slice_gbrap12_pl (AVFilterContext *ctx, void *arg, int jobnr, int nb_jobs) |
static int | filter_slice_gbrp14_pl (AVFilterContext *ctx, void *arg, int jobnr, int nb_jobs) |
static int | filter_slice_gbrp16_pl (AVFilterContext *ctx, void *arg, int jobnr, int nb_jobs) |
static int | filter_slice_gbrap16_pl (AVFilterContext *ctx, void *arg, int jobnr, int nb_jobs) |
static int | filter_slice_rgba64 (AVFilterContext *ctx, void *arg, int jobnr, int nb_jobs) |
static int | filter_slice_rgb48 (AVFilterContext *ctx, void *arg, int jobnr, int nb_jobs) |
static int | filter_slice_rgba64_pl (AVFilterContext *ctx, void *arg, int jobnr, int nb_jobs) |
static int | filter_slice_rgb48_pl (AVFilterContext *ctx, void *arg, int jobnr, int nb_jobs) |
static int | filter_slice_rgba (AVFilterContext *ctx, void *arg, int jobnr, int nb_jobs) |
static int | filter_slice_rgb24 (AVFilterContext *ctx, void *arg, int jobnr, int nb_jobs) |
static int | filter_slice_rgb0 (AVFilterContext *ctx, void *arg, int jobnr, int nb_jobs) |
static int | filter_slice_rgba_pl (AVFilterContext *ctx, void *arg, int jobnr, int nb_jobs) |
static int | filter_slice_rgb24_pl (AVFilterContext *ctx, void *arg, int jobnr, int nb_jobs) |
static int | filter_slice_rgb0_pl (AVFilterContext *ctx, void *arg, int jobnr, int nb_jobs) |
static int | filter_slice_gbrp32 (AVFilterContext *ctx, void *arg, int jobnr, int nb_jobs) |
static int | filter_slice_gbrap32 (AVFilterContext *ctx, void *arg, int jobnr, int nb_jobs) |
static int | filter_slice_gbrp32_pl (AVFilterContext *ctx, void *arg, int jobnr, int nb_jobs) |
static int | filter_slice_gbrap32_pl (AVFilterContext *ctx, void *arg, int jobnr, int nb_jobs) |
static int | config_output (AVFilterLink *outlink) |
static int | filter_frame (AVFilterLink *inlink, AVFrame *in) |
static int | process_command (AVFilterContext *ctx, const char *cmd, const char *args, char *res, int res_len, int flags) |
static av_cold void | uninit (AVFilterContext *ctx) |
Variables | |
static const AVOption | colorchannelmixer_options [] |
static enum AVPixelFormat | pix_fmts [] |
static const AVFilterPad | colorchannelmixer_inputs [] |
static const AVFilterPad | colorchannelmixer_outputs [] |
const AVFilter | ff_vf_colorchannelmixer |
#define R 0 |
Definition at line 32 of file vf_colorchannelmixer.c.
#define G 1 |
Definition at line 33 of file vf_colorchannelmixer.c.
#define B 2 |
Definition at line 34 of file vf_colorchannelmixer.c.
#define A 3 |
Definition at line 35 of file vf_colorchannelmixer.c.
#define DEPTH 8 |
Definition at line 81 of file vf_colorchannelmixer.c.
#define DEPTH 16 |
Definition at line 81 of file vf_colorchannelmixer.c.
#define DEPTH 32 |
Definition at line 81 of file vf_colorchannelmixer.c.
#define OFFSET | ( | x | ) | offsetof(ColorChannelMixerContext, x) |
Definition at line 84 of file vf_colorchannelmixer.c.
Definition at line 85 of file vf_colorchannelmixer.c.
Definition at line 59 of file vf_colorchannelmixer.c.
Definition at line 64 of file vf_colorchannelmixer.c.
AVFILTER_DEFINE_CLASS | ( | colorchannelmixer | ) |
|
static |
Definition at line 136 of file vf_colorchannelmixer.c.
Referenced by config_output().
|
static |
Definition at line 141 of file vf_colorchannelmixer.c.
Referenced by config_output().
|
static |
Definition at line 146 of file vf_colorchannelmixer.c.
Referenced by config_output().
|
static |
Definition at line 151 of file vf_colorchannelmixer.c.
Referenced by config_output().
|
static |
Definition at line 156 of file vf_colorchannelmixer.c.
Referenced by config_output().
|
static |
Definition at line 161 of file vf_colorchannelmixer.c.
Referenced by config_output().
|
static |
Definition at line 166 of file vf_colorchannelmixer.c.
Referenced by config_output().
|
static |
Definition at line 171 of file vf_colorchannelmixer.c.
Referenced by config_output().
|
static |
Definition at line 176 of file vf_colorchannelmixer.c.
Referenced by config_output().
|
static |
Definition at line 181 of file vf_colorchannelmixer.c.
Referenced by config_output().
|
static |
Definition at line 186 of file vf_colorchannelmixer.c.
Referenced by config_output().
|
static |
Definition at line 191 of file vf_colorchannelmixer.c.
Referenced by config_output().
|
static |
Definition at line 196 of file vf_colorchannelmixer.c.
Referenced by config_output().
|
static |
Definition at line 201 of file vf_colorchannelmixer.c.
Referenced by config_output().
|
static |
Definition at line 206 of file vf_colorchannelmixer.c.
Referenced by config_output().
|
static |
Definition at line 211 of file vf_colorchannelmixer.c.
Referenced by config_output().
|
static |
Definition at line 216 of file vf_colorchannelmixer.c.
Referenced by config_output().
|
static |
Definition at line 221 of file vf_colorchannelmixer.c.
Referenced by config_output().
|
static |
Definition at line 226 of file vf_colorchannelmixer.c.
Referenced by config_output().
|
static |
Definition at line 231 of file vf_colorchannelmixer.c.
Referenced by config_output().
|
static |
Definition at line 236 of file vf_colorchannelmixer.c.
Referenced by config_output().
|
static |
Definition at line 241 of file vf_colorchannelmixer.c.
Referenced by config_output().
|
static |
Definition at line 246 of file vf_colorchannelmixer.c.
Referenced by config_output().
|
static |
Definition at line 251 of file vf_colorchannelmixer.c.
Referenced by config_output().
|
static |
Definition at line 256 of file vf_colorchannelmixer.c.
Referenced by config_output().
|
static |
Definition at line 261 of file vf_colorchannelmixer.c.
Referenced by config_output().
|
static |
Definition at line 266 of file vf_colorchannelmixer.c.
Referenced by config_output().
|
static |
Definition at line 271 of file vf_colorchannelmixer.c.
Referenced by config_output().
|
static |
Definition at line 276 of file vf_colorchannelmixer.c.
Referenced by config_output().
|
static |
Definition at line 281 of file vf_colorchannelmixer.c.
Referenced by config_output().
|
static |
Definition at line 286 of file vf_colorchannelmixer.c.
Referenced by config_output().
|
static |
Definition at line 291 of file vf_colorchannelmixer.c.
Referenced by config_output().
|
static |
Definition at line 296 of file vf_colorchannelmixer.c.
Referenced by config_output().
|
static |
Definition at line 301 of file vf_colorchannelmixer.c.
Referenced by config_output().
|
static |
Definition at line 306 of file vf_colorchannelmixer.c.
Referenced by process_command().
|
static |
Definition at line 432 of file vf_colorchannelmixer.c.
|
static |
Definition at line 462 of file vf_colorchannelmixer.c.
|
static |
Definition at line 473 of file vf_colorchannelmixer.c.
|
static |
Definition at line 87 of file vf_colorchannelmixer.c.
|
static |
Definition at line 118 of file vf_colorchannelmixer.c.
|
static |
Definition at line 480 of file vf_colorchannelmixer.c.
|
static |
Definition at line 488 of file vf_colorchannelmixer.c.
const AVFilter ff_vf_colorchannelmixer |
Definition at line 496 of file vf_colorchannelmixer.c.