|
FFmpeg
|
tonemap algorithms More...
#include <float.h>#include <stdio.h>#include "libavutil/csp.h"#include "libavutil/imgutils.h"#include "libavutil/internal.h"#include "libavutil/intfloat.h"#include "libavutil/intreadwrite.h"#include "libavutil/opt.h"#include "libavutil/pixdesc.h"#include "avfilter.h"#include "colorspace.h"#include "filters.h"#include "video.h"Go to the source code of this file.
Data Structures | |
| struct | TonemapContext |
| struct | ThreadData |
| Used for passing data between threads. More... | |
Macros | |
| #define | MIX(x, y, a) |
| #define | OFFSET(x) |
| #define | FLAGS AV_OPT_FLAG_VIDEO_PARAM | AV_OPT_FLAG_FILTERING_PARAM |
Enumerations | |
| enum | TonemapAlgorithm { TONEMAP_NONE , TONEMAP_LINEAR , TONEMAP_GAMMA , TONEMAP_CLIP , TONEMAP_REINHARD , TONEMAP_HABLE , TONEMAP_MOBIUS , TONEMAP_MAX } |
Functions | |
| static av_cold int | init (AVFilterContext *ctx) |
| static float | hable (float in) |
| static float | mobius (float in, float j, double peak) |
| static void | tonemap (TonemapContext *s, AVFrame *out, const AVFrame *in, const AVPixFmtDescriptor *desc, int x, int y, double peak) |
| static int | tonemap_slice (AVFilterContext *ctx, void *arg, int jobnr, int nb_jobs) |
| static int | filter_frame (AVFilterLink *link, AVFrame *in) |
| AVFILTER_DEFINE_CLASS (tonemap) | |
Variables | |
| static const AVOption | tonemap_options [] |
| static const AVFilterPad | tonemap_inputs [] |
| const FFFilter | ff_vf_tonemap |
tonemap algorithms
Definition in file vf_tonemap.c.
| #define MIX | ( | x, | |
| y, | |||
| a ) |
| #define OFFSET | ( | x | ) |
Definition at line 283 of file vf_tonemap.c.
| #define FLAGS AV_OPT_FLAG_VIDEO_PARAM | AV_OPT_FLAG_FILTERING_PARAM |
Definition at line 284 of file vf_tonemap.c.
| enum TonemapAlgorithm |
| Enumerator | |
|---|---|
| TONEMAP_NONE | |
| TONEMAP_LINEAR | |
| TONEMAP_GAMMA | |
| TONEMAP_CLIP | |
| TONEMAP_REINHARD | |
| TONEMAP_HABLE | |
| TONEMAP_MOBIUS | |
| TONEMAP_MAX | |
Definition at line 42 of file vf_tonemap.c.
|
static |
Definition at line 65 of file vf_tonemap.c.
Definition at line 90 of file vf_tonemap.c.
Referenced by tonemap().
Definition at line 96 of file vf_tonemap.c.
Referenced by tonemap().
|
static |
Definition at line 110 of file vf_tonemap.c.
Referenced by AVFILTER_DEFINE_CLASS(), and tonemap_slice().
|
static |
Definition at line 181 of file vf_tonemap.c.
Referenced by filter_frame().
|
static |
Definition at line 199 of file vf_tonemap.c.
| AVFILTER_DEFINE_CLASS | ( | tonemap | ) |
|
static |
Definition at line 285 of file vf_tonemap.c.
|
static |
Definition at line 302 of file vf_tonemap.c.
| const FFFilter ff_vf_tonemap |
Definition at line 310 of file vf_tonemap.c.