|
FFmpeg
4.4.6
|
#include <float.h>#include "libavutil/avassert.h"#include "libavutil/common.h"#include "libavutil/imgutils.h"#include "libavutil/mem.h"#include "libavutil/opt.h"#include "libavutil/pixdesc.h"#include "avfilter.h"#include "internal.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) offsetof(TonemapOpenCLContext, 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 , TONEMAP_NONE , TONEMAP_LINEAR , TONEMAP_GAMMA , TONEMAP_CLIP , TONEMAP_REINHARD , TONEMAP_HABLE , TONEMAP_MOBIUS , TONEMAP_MAX } |
Functions | |
| static void | 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 [AVCOL_TRC_NB] |
| static const char *const | delinearize_funcs [AVCOL_TRC_NB] |
| static const struct PrimaryCoefficients | primaries_table [AVCOL_PRI_NB] |
| static const struct WhitepointCoefficients | whitepoint_table [AVCOL_PRI_NB] |
| 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 [] |
| AVFilter | ff_vf_tonemap_opencl |
| #define DETECTION_FRAMES 63 |
Definition at line 39 of file vf_tonemap_opencl.c.
| #define OPENCL_SOURCE_NB 3 |
Definition at line 114 of file vf_tonemap_opencl.c.
| #define OFFSET | ( | x | ) | offsetof(TonemapOpenCLContext, x) |
Definition at line 485 of file vf_tonemap_opencl.c.
| #define FLAGS (AV_OPT_FLAG_FILTERING_PARAM | AV_OPT_FLAG_VIDEO_PARAM) |
Definition at line 486 of file vf_tonemap_opencl.c.
| enum TonemapAlgorithm |
Definition at line 41 of file vf_tonemap_opencl.c.
|
static |
Definition at line 104 of file vf_tonemap_opencl.c.
Referenced by tonemap_opencl_init().
|
static |
Definition at line 119 of file vf_tonemap_opencl.c.
Referenced by tonemap_opencl_filter_frame().
|
static |
Definition at line 282 of file vf_tonemap_opencl.c.
|
static |
Definition at line 306 of file vf_tonemap_opencl.c.
Referenced by tonemap_opencl_filter_frame().
|
static |
Definition at line 338 of file vf_tonemap_opencl.c.
|
static |
Definition at line 461 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 79 of file vf_tonemap_opencl.c.
Referenced by get_rgb2rgb_matrix().
|
static |
Definition at line 79 of file vf_tonemap_opencl.c.
Referenced by get_rgb2rgb_matrix().
|
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_init().
|
static |
Definition at line 487 of file vf_tonemap_opencl.c.
|
static |
Definition at line 524 of file vf_tonemap_opencl.c.
|
static |
Definition at line 534 of file vf_tonemap_opencl.c.
| AVFilter ff_vf_tonemap_opencl |
Definition at line 543 of file vf_tonemap_opencl.c.