FFmpeg
|
#include "libavutil/opt.h"
#include "libavutil/pixdesc.h"
#include "avfilter.h"
#include "internal.h"
#include "video.h"
Go to the source code of this file.
Data Structures | |
struct | ColorizeContext |
Macros | |
#define | OFFSET(x) offsetof(ColorizeContext, x) |
#define | VF 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 int | colorizey_slice8 (AVFilterContext *ctx, void *arg, int jobnr, int nb_jobs) |
static int | colorizey_slice16 (AVFilterContext *ctx, void *arg, int jobnr, int nb_jobs) |
static int | colorize_slice8 (AVFilterContext *ctx, void *arg, int jobnr, int nb_jobs) |
static int | colorize_slice16 (AVFilterContext *ctx, void *arg, int jobnr, int nb_jobs) |
static int | do_slice (AVFilterContext *ctx, void *arg, int jobnr, int nb_jobs) |
static float | hue2rgb (float p, float q, float t) |
static void | hsl2rgb (float h, float s, float l, float *r, float *g, float *b) |
static void | rgb2yuv (float r, float g, float b, int *y, int *u, int *v, int depth) |
static int | filter_frame (AVFilterLink *inlink, AVFrame *frame) |
static av_cold int | config_input (AVFilterLink *inlink) |
AVFILTER_DEFINE_CLASS (colorize) | |
Variables | |
static enum AVPixelFormat | pixel_fmts [] |
static const AVFilterPad | colorize_inputs [] |
static const AVOption | colorize_options [] |
const AVFilter | ff_vf_colorize |
#define OFFSET | ( | x | ) | offsetof(ColorizeContext, x) |
Definition at line 262 of file vf_colorize.c.
Definition at line 263 of file vf_colorize.c.
Definition at line 42 of file vf_colorize.c.
Referenced by colorizey_slice16(), and colorizey_slice8().
|
static |
Definition at line 47 of file vf_colorize.c.
Referenced by config_input().
|
static |
Definition at line 70 of file vf_colorize.c.
Referenced by config_input().
|
static |
Definition at line 93 of file vf_colorize.c.
Referenced by config_input().
|
static |
Definition at line 121 of file vf_colorize.c.
Referenced by config_input().
|
static |
Definition at line 149 of file vf_colorize.c.
Referenced by filter_frame().
Definition at line 159 of file vf_colorize.c.
Referenced by hsl2rgb().
Definition at line 170 of file vf_colorize.c.
Referenced by filter_frame().
Definition at line 186 of file vf_colorize.c.
Referenced by filter_frame().
|
static |
Definition at line 196 of file vf_colorize.c.
|
static |
Definition at line 232 of file vf_colorize.c.
AVFILTER_DEFINE_CLASS | ( | colorize | ) |
|
static |
Definition at line 211 of file vf_colorize.c.
|
static |
Definition at line 252 of file vf_colorize.c.
|
static |
Definition at line 265 of file vf_colorize.c.
const AVFilter ff_vf_colorize |
Definition at line 275 of file vf_colorize.c.