|
FFmpeg
|
#include <float.h>#include "libavutil/avassert.h"#include "libavutil/bprint.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) |
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 * | yuv_coff [AVCOL_SPC_NB] |
| static const char * | rgb_coff [AVCOL_SPC_NB] |
| static const char * | linearize_funcs [AVCOL_TRC_NB] |
| static const char * | delinearize_funcs [AVCOL_TRC_NB] |
| static const struct LumaCoefficients | luma_coefficients [AVCOL_SPC_NB] |
| static struct PrimaryCoefficients | primaries_table [AVCOL_PRI_NB] |
| static struct WhitepointCoefficients | whitepoint_table [AVCOL_PRI_NB] |
| static const char * | 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 41 of file vf_tonemap_opencl.c.
Referenced by tonemap_opencl_filter_frame(), and tonemap_opencl_init().
| #define OPENCL_SOURCE_NB 3 |
Definition at line 131 of file vf_tonemap_opencl.c.
Referenced by tonemap_opencl_init().
| #define OFFSET | ( | x | ) | offsetof(TonemapOpenCLContext, x) |
Definition at line 491 of file vf_tonemap_opencl.c.
| #define FLAGS (AV_OPT_FLAG_FILTERING_PARAM | AV_OPT_FLAG_VIDEO_PARAM) |
Definition at line 492 of file vf_tonemap_opencl.c.
| enum TonemapAlgorithm |
Definition at line 43 of file vf_tonemap_opencl.c.
|
static |
Definition at line 121 of file vf_tonemap_opencl.c.
Referenced by tonemap_opencl_init().
|
static |
Definition at line 136 of file vf_tonemap_opencl.c.
Referenced by tonemap_opencl_filter_frame().
|
static |
Definition at line 288 of file vf_tonemap_opencl.c.
|
static |
Definition at line 312 of file vf_tonemap_opencl.c.
Referenced by tonemap_opencl_filter_frame().
|
static |
Definition at line 344 of file vf_tonemap_opencl.c.
|
static |
Definition at line 467 of file vf_tonemap_opencl.c.
| AVFILTER_DEFINE_CLASS | ( | tonemap_opencl | ) |
|
static |
Definition at line 76 of file vf_tonemap_opencl.c.
Referenced by tonemap_opencl_init().
|
static |
Definition at line 81 of file vf_tonemap_opencl.c.
Referenced by tonemap_opencl_init().
|
static |
Definition at line 86 of file vf_tonemap_opencl.c.
Referenced by tonemap_opencl_init().
|
static |
Definition at line 91 of file vf_tonemap_opencl.c.
Referenced by tonemap_opencl_init().
|
static |
Definition at line 96 of file vf_tonemap_opencl.c.
|
static |
Definition at line 101 of file vf_tonemap_opencl.c.
|
static |
Definition at line 106 of file vf_tonemap_opencl.c.
|
static |
Definition at line 111 of file vf_tonemap_opencl.c.
Referenced by tonemap_opencl_init().
|
static |
Definition at line 134 of file vf_tonemap_opencl.c.
Referenced by tonemap_opencl_init().
|
static |
Definition at line 493 of file vf_tonemap_opencl.c.
|
static |
Definition at line 530 of file vf_tonemap_opencl.c.
|
static |
Definition at line 540 of file vf_tonemap_opencl.c.
| AVFilter ff_vf_tonemap_opencl |
Definition at line 549 of file vf_tonemap_opencl.c.
1.8.6