|
FFmpeg
|
#include <float.h>#include "libavutil/avassert.h"#include "libavutil/common.h"#include "libavutil/imgutils.h"#include "libavutil/opt.h"#include "libavutil/pixdesc.h"#include "avfilter.h"#include "filters.h"#include "opencl.h"#include "opencl_source.h"#include "video.h"#include "colorspace.h"Go to the source code of this file.
Data Structures | |
| struct | TonemapOpenCLContext |
Macros | |
| #define | DETECTION_FRAMES 63 |
| #define | OPENCL_SOURCE_NB 3 |
| #define | OFFSET(x) |
| #define | FLAGS (AV_OPT_FLAG_FILTERING_PARAM | AV_OPT_FLAG_VIDEO_PARAM) |
Enumerations | |
| enum | TonemapAlgorithm { TONEMAP_NONE , TONEMAP_LINEAR , TONEMAP_GAMMA , TONEMAP_CLIP , TONEMAP_REINHARD , TONEMAP_HABLE , TONEMAP_MOBIUS , TONEMAP_MAX } |
Functions | |
| static int | get_rgb2rgb_matrix (enum AVColorPrimaries in, enum AVColorPrimaries out, double rgb2rgb[3][3]) |
| static int | tonemap_opencl_init (AVFilterContext *avctx) |
| static int | tonemap_opencl_config_output (AVFilterLink *outlink) |
| static int | launch_kernel (AVFilterContext *avctx, cl_kernel kernel, AVFrame *output, AVFrame *input, float peak) |
| static int | tonemap_opencl_filter_frame (AVFilterLink *inlink, AVFrame *input) |
| static av_cold void | tonemap_opencl_uninit (AVFilterContext *avctx) |
| AVFILTER_DEFINE_CLASS (tonemap_opencl) | |
Variables | |
| static const char *const | linearize_funcs [] |
| static const char *const | delinearize_funcs [] |
| static const char *const | tonemap_func [TONEMAP_MAX] |
| static const float | sdr_avg = 0.25f |
| static const AVOption | tonemap_opencl_options [] |
| static const AVFilterPad | tonemap_opencl_inputs [] |
| static const AVFilterPad | tonemap_opencl_outputs [] |
| const FFFilter | ff_vf_tonemap_opencl |
| #define DETECTION_FRAMES 63 |
Definition at line 38 of file vf_tonemap_opencl.c.
Referenced by tonemap_opencl_filter_frame(), and tonemap_opencl_init().
| #define OPENCL_SOURCE_NB 3 |
Definition at line 112 of file vf_tonemap_opencl.c.
Referenced by tonemap_opencl_init().
| #define OFFSET | ( | x | ) |
Definition at line 484 of file vf_tonemap_opencl.c.
| #define FLAGS (AV_OPT_FLAG_FILTERING_PARAM | AV_OPT_FLAG_VIDEO_PARAM) |
Definition at line 485 of file vf_tonemap_opencl.c.
| enum TonemapAlgorithm |
| Enumerator | |
|---|---|
| TONEMAP_NONE | |
| TONEMAP_LINEAR | |
| TONEMAP_GAMMA | |
| TONEMAP_CLIP | |
| TONEMAP_REINHARD | |
| TONEMAP_HABLE | |
| TONEMAP_MOBIUS | |
| TONEMAP_MAX | |
Definition at line 40 of file vf_tonemap_opencl.c.
|
static |
Definition at line 94 of file vf_tonemap_opencl.c.
Referenced by tonemap_opencl_init().
|
static |
Definition at line 117 of file vf_tonemap_opencl.c.
Referenced by tonemap_opencl_filter_frame().
|
static |
Definition at line 281 of file vf_tonemap_opencl.c.
|
static |
Definition at line 305 of file vf_tonemap_opencl.c.
Referenced by tonemap_opencl_filter_frame().
|
static |
Definition at line 337 of file vf_tonemap_opencl.c.
|
static |
Definition at line 460 of file vf_tonemap_opencl.c.
| AVFILTER_DEFINE_CLASS | ( | tonemap_opencl | ) |
|
static |
Definition at line 74 of file vf_tonemap_opencl.c.
Referenced by tonemap_opencl_init().
|
static |
Definition at line 79 of file vf_tonemap_opencl.c.
Referenced by tonemap_opencl_init().
|
static |
Definition at line 84 of file vf_tonemap_opencl.c.
Referenced by tonemap_opencl_init().
Definition at line 115 of file vf_tonemap_opencl.c.
Referenced by tonemap_opencl_init().
|
static |
Definition at line 486 of file vf_tonemap_opencl.c.
|
static |
Definition at line 523 of file vf_tonemap_opencl.c.
|
static |
Definition at line 532 of file vf_tonemap_opencl.c.
| const FFFilter ff_vf_tonemap_opencl |
Definition at line 540 of file vf_tonemap_opencl.c.