FFmpeg
|
tonemap algorithms More...
#include <float.h>
#include <stdio.h>
#include <string.h>
#include "libavutil/imgutils.h"
#include "libavutil/internal.h"
#include "libavutil/intreadwrite.h"
#include "libavutil/opt.h"
#include "libavutil/pixdesc.h"
#include "avfilter.h"
#include "colorspace.h"
#include "formats.h"
#include "internal.h"
#include "video.h"
Go to the source code of this file.
Data Structures | |
struct | TonemapContext |
Macros | |
#define | MIX(x, y, a) (x) * (1 - (a)) + (y) * (a) |
#define | OFFSET(x) offsetof(TonemapContext, x) |
#define | FLAGS AV_OPT_FLAG_VIDEO_PARAM | AV_OPT_FLAG_FILTERING_PARAM |
Functions | |
static int | query_formats (AVFilterContext *ctx) |
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 | filter_frame (AVFilterLink *link, AVFrame *in) |
Variables | |
static const struct LumaCoefficients | luma_coefficients [AVCOL_SPC_NB] |
static enum AVPixelFormat | pix_fmts [] |
static const AVOption | tonemap_options [] |
static const AVClass | tonemap_class |
static const AVFilterPad | tonemap_inputs [] |
static const AVFilterPad | tonemap_outputs [] |
AVFilter | ff_vf_tonemap |
tonemap algorithms
Definition in file vf_tonemap.c.
Definition at line 129 of file vf_tonemap.c.
Referenced by tonemap().
#define OFFSET | ( | x | ) | offsetof(TonemapContext, x) |
Definition at line 273 of file vf_tonemap.c.
#define FLAGS AV_OPT_FLAG_VIDEO_PARAM | AV_OPT_FLAG_FILTERING_PARAM |
Definition at line 274 of file vf_tonemap.c.
enum TonemapAlgorithm |
Definition at line 42 of file vf_tonemap.c.
|
static |
Definition at line 80 of file vf_tonemap.c.
|
static |
Definition at line 85 of file vf_tonemap.c.
|
static |
Definition at line 110 of file vf_tonemap.c.
Referenced by tonemap().
|
static |
Definition at line 116 of file vf_tonemap.c.
Referenced by tonemap().
|
static |
Definition at line 130 of file vf_tonemap.c.
Referenced by filter_frame().
|
static |
Definition at line 194 of file vf_tonemap.c.
|
static |
Definition at line 53 of file vf_tonemap.c.
|
static |
Definition at line 74 of file vf_tonemap.c.
Referenced by query_formats().
|
static |
Definition at line 275 of file vf_tonemap.c.
|
static |
Definition at line 290 of file vf_tonemap.c.
|
static |
Definition at line 298 of file vf_tonemap.c.
|
static |
Definition at line 307 of file vf_tonemap.c.
AVFilter ff_vf_tonemap |
Definition at line 315 of file vf_tonemap.c.