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()
◆ launch_kernel()
◆ tonemap_opencl_filter_frame()
◆ tonemap_opencl_uninit()
◆ AVFILTER_DEFINE_CLASS()
AVFILTER_DEFINE_CLASS |
( |
tonemap_opencl |
| ) |
|
◆ linearize_funcs
◆ delinearize_funcs
◆ primaries_table
◆ whitepoint_table
◆ tonemap_func
◆ sdr_avg
const float sdr_avg = 0.25f |
|
static |
◆ 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 540 of file vf_tonemap_opencl.c.
#define FF_FILTER_FLAG_HWFRAME_AWARE
The filter is aware of hardware frames, and any hardware frame context should not be automatically pr...
static int tonemap_opencl_config_output(AVFilterLink *outlink)
static int tonemap_opencl_filter_frame(AVFilterLink *inlink, AVFrame *input)
#define FILTER_INPUTS(array)
static const AVFilterPad tonemap_opencl_outputs[]
static av_cold void tonemap_opencl_uninit(AVFilterContext *avctx)
@ AVCOL_PRI_BT709
also ITU-R BT1361 / IEC 61966-2-4 / SMPTE RP 177 Annex B
@ AVCOL_TRC_BT2020_10
ITU-R BT2020 for 10-bit system.
@ AV_PIX_FMT_OPENCL
Hardware surfaces for OpenCL.
@ AVCOL_PRI_BT2020
ITU-R BT2020.
@ AVCOL_TRC_SMPTE2084
SMPTE ST 2084 for 10-, 12-, 14- and 16-bit systems.
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification.
static const AVFilterPad tonemap_opencl_inputs[]
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
#define FILTER_SINGLE_PIXFMT(pix_fmt_)
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_OUTPUTS(array)
static av_cold int uninit(AVCodecContext *avctx)