|
FFmpeg
|
#include <float.h>#include "libavutil/opt.h"#include "libavutil/pixdesc.h"#include "avfilter.h"#include "drawutils.h"#include "filters.h"#include "video.h"Go to the source code of this file.
Data Structures | |
| struct | ColorContrastContext |
Macros | |
| #define | R 0 |
| #define | G 1 |
| #define | B 2 |
| #define | PROCESS(max) |
| #define | OFFSET(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 | colorcontrast_slice8 (AVFilterContext *ctx, void *arg, int jobnr, int nb_jobs) |
| static int | colorcontrast_slice16 (AVFilterContext *ctx, void *arg, int jobnr, int nb_jobs) |
| static int | colorcontrast_slice8p (AVFilterContext *ctx, void *arg, int jobnr, int nb_jobs) |
| static int | colorcontrast_slice16p (AVFilterContext *ctx, void *arg, int jobnr, int nb_jobs) |
| static int | filter_frame (AVFilterLink *link, AVFrame *frame) |
| static av_cold int | config_input (AVFilterLink *inlink) |
| AVFILTER_DEFINE_CLASS (colorcontrast) | |
Variables | |
| static enum AVPixelFormat | pixel_fmts [] |
| static const AVFilterPad | colorcontrast_inputs [] |
| static const AVOption | colorcontrast_options [] |
| const FFFilter | ff_vf_colorcontrast |
| #define R 0 |
Definition at line 30 of file vf_colorcontrast.c.
| #define G 1 |
Definition at line 31 of file vf_colorcontrast.c.
| #define B 2 |
Definition at line 32 of file vf_colorcontrast.c.
| #define PROCESS | ( | max | ) |
Definition at line 54 of file vf_colorcontrast.c.
Referenced by colorcontrast_slice16(), colorcontrast_slice16p(), colorcontrast_slice8(), and colorcontrast_slice8p().
| #define OFFSET | ( | x | ) |
Definition at line 361 of file vf_colorcontrast.c.
Definition at line 362 of file vf_colorcontrast.c.
Definition at line 49 of file vf_colorcontrast.c.
|
static |
Definition at line 91 of file vf_colorcontrast.c.
Referenced by config_input().
|
static |
Definition at line 143 of file vf_colorcontrast.c.
Referenced by config_input().
|
static |
Definition at line 197 of file vf_colorcontrast.c.
Referenced by config_input().
|
static |
Definition at line 247 of file vf_colorcontrast.c.
Referenced by config_input().
|
static |
Definition at line 299 of file vf_colorcontrast.c.
|
static |
Definition at line 327 of file vf_colorcontrast.c.
| AVFILTER_DEFINE_CLASS | ( | colorcontrast | ) |
|
static |
Definition at line 312 of file vf_colorcontrast.c.
|
static |
Definition at line 351 of file vf_colorcontrast.c.
|
static |
Definition at line 364 of file vf_colorcontrast.c.
| const FFFilter ff_vf_colorcontrast |
Definition at line 377 of file vf_colorcontrast.c.