Go to the source code of this file.
|
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
} |
|
◆ DETECTION_FRAMES
#define DETECTION_FRAMES 63 |
◆ OPENCL_SOURCE_NB
#define OPENCL_SOURCE_NB 3 |
◆ OFFSET
◆ FLAGS
◆ TonemapAlgorithm
Enumerator |
---|
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 | |
Definition at line 40 of file vf_tonemap_opencl.c.
◆ get_rgb2rgb_matrix()
◆ tonemap_opencl_init()
◆ tonemap_opencl_config_output()
static int tonemap_opencl_config_output |
( |
AVFilterLink * |
outlink | ) |
|
|
static |
◆ launch_kernel()
◆ tonemap_opencl_filter_frame()
◆ tonemap_opencl_uninit()
◆ AVFILTER_DEFINE_CLASS()
AVFILTER_DEFINE_CLASS |
( |
tonemap_opencl |
| ) |
|
◆ linearize_funcs
◆ delinearize_funcs
◆ tonemap_func
◆ sdr_avg
◆ tonemap_opencl_options
◆ tonemap_opencl_inputs
◆ tonemap_opencl_outputs
◆ ff_vf_tonemap_opencl
Initial value:= {
.name = "tonemap_opencl",
.priv_class = &tonemap_opencl_class,
}
Definition at line 539 of file vf_tonemap_opencl.c.
static int tonemap_opencl_config_output(AVFilterLink *outlink)
#define FILTER_INPUTS(array)
static int tonemap_opencl_filter_frame(AVFilterLink *inlink, AVFrame *input)
#define FILTER_OUTPUTS(array)
static const AVFilterPad tonemap_opencl_outputs[]
static av_cold void tonemap_opencl_uninit(AVFilterContext *avctx)
@ AVCOL_TRC_BT2020_10
ITU-R BT2020 for 10-bit system.
@ AV_PIX_FMT_OPENCL
Hardware surfaces for OpenCL.
#define FF_FILTER_FLAG_HWFRAME_AWARE
The filter is aware of hardware frames, and any hardware frame context should not be automatically pr...
@ AVCOL_TRC_SMPTE2084
SMPTE ST 2084 for 10-, 12-, 14- and 16-bit systems.
int(* init)(AVBSFContext *ctx)
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification.
static const AVFilterPad tonemap_opencl_inputs[]
#define AVFILTER_FLAG_HWDEVICE
The filter can create hardware frames using AVFilterContext.hw_device_ctx.
int ff_opencl_filter_config_input(AVFilterLink *inlink)
Check that the input link contains a suitable hardware frames context and extract the device from it.
@ AVCOL_TRC_BT709
also ITU-R BT1361
static void uninit(AVBSFContext *ctx)
int ff_opencl_filter_init(AVFilterContext *avctx)
Initialise an OpenCL filter context.
@ AVCOL_TRC_ARIB_STD_B67
ARIB STD-B67, known as "Hybrid log-gamma".
#define FILTER_SINGLE_PIXFMT(pix_fmt_)